01Chapter 1: What a provider SDK gives youAssume you know basic Python, JSON, HTTP APIs, and have called a chat model before. You should also understand that retrieval-augmented generation uses retrieved text to give a model additional context.1 min read
02Chapter 2: Writing the agent loop yourselfThis chapter assumes basic Python, JSON, HTTP APIs, and one previous LLM API call. The examples use OpenAI-style chat completions.1 min read
03Chapter 3: PydanticAI: typed, validated agentsAssume you know basic Python, JSON, HTTP APIs, and have called a chat model before. You should also understand the basic idea of embeddings and retrieval-augmented generation (RAG).2 min read