Ship Your First AI Agent in 8 Days
Organised by SabiEdu · Hosted live by Eric Aggrey
Overview
Eight sessions across three weekends. Python-first. You build ONE project the whole way — a LangGraph agent with retrieval and approval gates, a streaming FastAPI backend, and a Next.js chat UI — and ship it to a public URL on Day 8.
Every session is live and hands-on: concepts land as working code in YOUR repo the same evening. Recordings go up the same night, yours for life.
Lineup

HEADLINER
Eric Aggrey
Founder, Sabiedu · Machine Learning SW Engineer
10+ years experience building software across Europe and Africa — remote — vehicles at Volvo, medicines at Sanofi, industrial technology at Bosch, telecom at Nokia. I teach the way I work: real projects, real code, no slideware. I teach every session live, myself.
Agenda — the 8 sessions
18:00–20:00 WAT / CET on Fri, Sat & Sun (GMT+1). Expand any day for the full topic list.
Day 1Python, LLM APIs & the Agent Loop (LangChain)Fri 4 Dec · 18:00
- Project setup: uv, pyproject, venv, .env + API keys
- LLM API anatomy: chat completions, messages, roles, tokens, context windows, temperature
- Tool calling from the model's side: JSON schema, tool definitions, tool-call responses
- The agent loop hand-rolled — while loop, execute tool, feed result back (no framework)
- Structured outputs: Pydantic schemas as the contract
- LangChain init_chat_model + @tool decorator — docstrings are the model's UI
- create_agent — the framework rebuild of our hand-rolled loop
- System prompts & agent persona design; multi-turn history management
Day 2LangGraph: Graphs, State & MemorySat 5 Dec · 18:00
- StateGraph: state schema (TypedDict → Pydantic), nodes, edges
- START / END, conditional edges, router functions
- Reducers: add_messages, custom reducers, the parallel-writers gotcha
- Checkpointers: InMemory → SQLite → Postgres; thread_id
- Time travel: get_state, history walk, replay, fork
- Context management: trim_messages, summarization
- Long-term memory: the Store (cross-thread, semantic search)
- Debugging graphs: mermaid diagrams, stream_mode="debug"
Day 3RAG & Tool EngineeringSun 6 Dec · 18:00
- Embeddings & vector stores — the 10-minute intuition
- Chunking strategies (fixed, recursive, semantic); the indexing pipeline
- Retrieval as a tool: agentic RAG vs fixed RAG pipelines
- Grounding & citations: source-passing, inline attribution
- Grading & filtering retrieved docs; top-k, re-ranking, latency trade-offs
- Tool design: small, composable, error-returning; typed Pydantic tools
- Testing tools in isolation before the agent ever sees them
- Adding a second knowledge source — routing between corpora
Day 4Deep Agents: Control, Delegation & MiddlewareFri 11 Dec · 18:00
- interrupt() and Command(resume=...) — pausing and resuming mid-flight
- Approval gates: wrapping dangerous tools (email, payments, deletes)
- Threshold approvals: auto-allow cheap, interrupt expensive
- Subagents & the task tool; orchestrator/worker pattern
- Planning: todo-list middleware; filesystem & state middleware
- create_deep_agent — the one-line stack, and what it assembles
- Custom middleware: wrap_model_call, wrap_tool_call
- Guardrails basics: input/output checks, injection defense
Day 5FastAPI: The Agent BackendSat 12 Dec · 18:00
- API design for agents: /chat, /resume, /threads, /health
- Async fundamentals: event loop, dependency injection, Pydantic contracts
- Streaming architectures: SSE vs WebSocket — why SSE wins for chat
- astream_events → SSE: text_delta, tool_start, tool_end, approval_gate, agent_end
- Correct SSE headers & buffering (no-cache, X-Accel-Buffering)
- Sessions: thread_id lifecycle, conversation resume
- Interrupt handling over HTTP: pause → approve → /resume
- Failure handling mid-stream; testing streaming endpoints
Day 6Next.js: The Agent FrontendSun 13 Dec · 18:00
- App Router essentials: routes, layouts, server vs client components
- Consuming SSE in the browser: fetch reader streams vs EventSource
- Token-by-token rendering in React
- Chat UI anatomy: message list, composer, scroll behavior
- Tool-call cards: making agent actions visible
- Approval UI: buttons wired to /resume
- Zustand store for threads/messages; markdown + code blocks
- UX states: loading, streaming, error, reconnect-after-drop; Vercel deploy
Day 7Production: Evals, Observability & DeploymentFri 18 Dec · 18:00
- Tracing: LangSmith setup, reading a trace, finding the bad hop
- Evals: dataset from real transcripts; exact, heuristic, LLM-as-judge graders
- Running evals in CI — quality gates before deploy
- Cost: token accounting per thread, caching, cheaper-model routing
- Latency: time-to-first-token, parallel tool calls
- Security: prompt injection via retrieved docs, tool permissioning, sandboxing
- Docker multi-stage build; Fly/Render + Vercel deploys, secrets
- Monitoring in production: alerts on cost & error rate
Day 8Ship: Demo Day & PortfolioSat 19 Dec · 18:00
- Portfolio packaging: README with architecture diagram + eval numbers
- Telling the failure story — what judges and interviewers actually want
- Recording the 2-minute demo video
- Student demos: live URL → architecture → failure story → evals
- Hardening checklist: what you'd build next with 4 more weeks
- Where next: multi-agent, guardrails depth, LLMOps — the growth map
Good to know
Duration
8 sessions × 120 minutes, live. Spillover sessions if a day runs long — no extra cost.
Recordings
Uploaded the same night. Lifetime rewatch — miss nothing.
Refunds
Full refund up to 7 days before start. 50% up to 48h before. No refunds after Day 1.
After the course
Portfolio reviews and referrals where possible. No job or visa promises — this is a skills course.
Location
Online — Google Meet
The Google Meet link is revealed to ticket holders before each session.
The cohort WhatsApp is where the Day-0 setup guide, the schedule and the free Sunday session link land first:
Join the cohort WhatsApp →FAQ
What do I need to know before Day 1?
- Basic Python — functions, classes, pip/uv, reading errors
- Comfort with the terminal and editing config files
- Not required: TypeScript, prior ML, or maths beyond high-school
What if I miss a session?
- Every session is recorded and uploaded the same night — lifetime rewatch
- Questions between sessions go to the cohort WhatsApp
Can I pay later?
- Yes — reserve your seat now and pay any time before the cohort starts
- Register with your country and your local payment link appears straight away