News for hackers. Stuff that matters.
Re:MCP is eating the world–and it's here to stay by easypancakes on Friday June 27, 2025 @01:15PM (#44398524)
Hi! I am a bit lost in all of this. How do you create your own agent and run your own loop? I've looked at PydanticAI but don't get it. Would you please give me an example? Thanks!
Re:MCP is eating the world–and it's here to stay by fb03 on Sunday June 29, 2025 @02:10PM (#44415082)
Of course! In the PydanticAI docs for Agents, you have a fully defined example of a tool calling agent (roulette_wheel.py)

https://ai.pydantic.dev/agents/#introduction

If you need professional help in any of this, I also do consulting and/or can do mentoring on my knowledge in this area.