Real Python Follow Build an AI Agent From Scratch in Python: The Agentic Loop Learn how the agentic loop works by building a Python AI agent from scratch, with conversation context and tool calling in about 90 lines of code. https://realpython.com/agentic-loop/ realpython.com