Building an Agent from First Principles
Build an AI agent from scratch in Python: tools, the observe-decide-act loop, state, planning, error handling, termination and verification.
Topic
Python for AI engineering, with types, tests and clean structure.
Build an AI agent from scratch in Python: tools, the observe-decide-act loop, state, planning, error handling, termination and verification.
A deep technical guide to LLM internals, from raw text to token generation, with Python implementations from scratch.