I delivered this workshop at PyConES 2026 in Barcelona, at the University of Barcelona. The room filled completely, and the response from participants exceeded my expectations.
Over 90 minutes, we built an agent step by step with Python and LangGraph. We covered state management, hybrid retrieval (RAG) and persistent memory, progressing from a basic graph to a system that retrieves external knowledge and evolves with use.
My aim was for participants not only to learn to use a framework, but to understand how agents work internally, so they can keep experimenting on their own. The code and materials are available on GitHub for those who attended and for anyone who wants to follow along at home.
Preparing a workshop like this is also a way to keep learning: explaining tools you use every day from scratch makes you question much of what you take for granted.
Thanks to the PyConES organisers and, above all, to everyone who took part.
Workshop details
- Speaker: Miguel Ángel Fernández Gutiérrez.
- Conference: PyConES 2026, Barcelona.
- Date: Friday, 6 November 2026.
- Duration: 90 minutes.
- Format: hands-on workshop.
- Track: machine learning and artificial intelligence.
- Language: Spanish.
What we built
- A LangGraph agent from scratch: modelling state, defining nodes and controlling the execution flow.
- A hybrid retrieval system that gives the agent access to relevant information in real time.
- Persistent memory, so the agent stores new knowledge and reuses it in later interactions.
Who it was for
Developers with basic Python knowledge who are interested in applied AI systems.