Level 2 of 3
Intermediate Level
Prerequisites
Basic Python (functions, dictionaries, loops, files), basic prompting and an introductory understanding of web APIs and JSON. Rescue Academy's Python Intermediate level (including Working with Web APIs) and the AI programme's prompting and RAG modules cover these foundations. Labs run against a scripted practice model offline; a local model runtime or a free-tier or instructor-provided hosted API is used for selected labs, so no paid subscription is required.
Duration
8 weeks · 100 guided hours · 9 modules. Taught live by an instructor — online or in person.
By the end of this level you can
- Structure agent code in Python with a provider-independent model interface, safe configuration and logging
- Decompose tasks into tested prompt chains
- Design, validate and safely dispatch tools with allow-lists and least privilege
- Integrate external APIs reliably with timeouts, retries, caching and rate limits
- Validate structured outputs with Pydantic and manage agent state and memory
- Build agentic retrieval over approved documents and evaluate agents systematically
Modules
- 1Module 1 · 11 h · 3 lessonsPython for AI Agent Development
- 2Module 2 · 11 h · 3 lessonsPrompt Chaining and Task Decomposition
- 3Module 3 · 12 h · 3 lessonsAgent Tools and Function Calling
- 4Module 4 · 11 h · 3 lessonsExternal API Integration
- 5Module 5 · 11 h · 3 lessonsStructured Outputs and Validation
- 6Module 6 · 11 h · 3 lessonsAgent State Management
- 7Module 7 · 11 h · 3 lessonsShort-Term and Long-Term Memory
- 8Module 8 · 11 h · 3 lessonsRetrieval-Augmented Generation for Agents
- 9Module 9 · 11 h · 3 lessonsAgent Evaluation and Error Handling
Intermediate level project
Research Assistant for an NGO or Small Business
Build a single-agent research assistant for a fictional NGO (project reports and donor guidelines) or small business (product sheets, supplier price lists and sales notes). Given a research question, it searches only the approved document collection and a mock read-only data API, organises the evidence and produces a Pydantic-validated report with a summary, findings, supporting references and open questions. It never sends, edits or deletes anything.
Deliverables
- An architecture diagram and short design document: components, tools and their permissions, state, memory and data flows
- A Python package with the model interface (mock and one real backend), tools, retrieval, state and report schema
- A mock API (FastAPI) for the structured data the assistant may read
- An evaluation suite of at least 30 research questions, including unanswerable and injection cases, with automated checks
- An evaluation report with task success, citation correctness, tool errors, cost and latency, plus error analysis
- A README with offline setup, configuration (no secrets in the repository) and a demonstration
Assessed on
- Every claim in a report is supported by a cited document chunk or tool result
- Tools are allow-listed, validated and read-only; credentials are kept out of code
- Outputs are validated, and failures are retried once then handled safely
- The evaluation is reproducible and reports results per question type honestly
- The code is organised, tested and runs offline with the practice model
All levels are taught live by an instructor — online or in person — see registration options.