I built an AI agent and deployed as a Discord bot. It’s a lot of fun!
Pydantic AI made it easy to build with Python. Pairing it with free tier Gemini LLMs works great.
I have a backend database with data to use when answering and found that the best agent tool is one where the LLM writes the SQL query it needs.