Skip to content
AgenticAIWiki

Four projects that prove you can ship

Two per track, built on your machine, each with a spec, the lessons to finish first and a bar to pass.

Track 1

Gen AI foundations

Capstone 1

Structured research assistant

A command-line or web assistant that reads an article, streams its progress, and returns findings as validated JSON: key findings, named entities and a confidence score. It works with a hosted API or a local open-weights model behind the same interface.

What you build

  • A prompt template with variables for the article and the output rules
  • A typed schema (Pydantic or dataclasses) mapped to a strict JSON Schema
  • Streaming output with server-sent events and a progress line
  • Validation with up to two repair retries, and a clear failure when they run out
  • A provider switch: hosted API or a local runner such as Ollama, same code path
  • A 20-article test set and a script that scores it

Acceptance criteria

Schema-valid outputs
20 of 20 articlesValidate every output against the schema; retries count, silent fixes don't.
Time to first token
under 1.5 s on the hosted pathLog TTFT per request and report the 90th percentile.
Failure handling
no crash on truncated or refused outputFeed three broken cases and show the retry or the clear error.

Stretch: Add a confidence threshold below which the assistant says it is unsure instead of answering.

Step-by-step guide and solution

Capstone 2

Hybrid-search PDF RAG with page citations

A question-answering service over technical PDFs with multi-column layouts and tables. It parses by layout, stores vectors with metadata, combines keyword and vector search, reranks, and cites the page behind every claim.

What you build

  • Layout-aware parsing that keeps reading order, headings and tables, with page numbers on every chunk
  • A vector store (Qdrant, pgvector or Chroma) with metadata filters
  • BM25 plus dense retrieval, merged with reciprocal rank fusion
  • A cross-encoder reranker on the top candidates
  • Answers that cite page numbers and say "not in the documents" when retrieval is weak
  • A 50-question golden set (part synthetic, part hand-written) and an eval script

Acceptance criteria

Context recall
at least 0.85Score retrieval on the 50-question golden set.
Faithfulness
at least 0.90Check each answer's claims against its cited chunks with a calibrated judge.
Citations
every answer cites a pageFail any answer without a page reference that resolves.

Stretch: Compare naive RAG and your hybrid pipeline on the same set and write up the difference.

Step-by-step guide and solution

Track 2

Agentic AI

Capstone 3

Stateful multi-agent reviewer with an approval gate

A team of agents (planner, investigator, fixer, critic) that works on issues in a code repository or an ops log. Tools come from MCP servers, state is checkpointed so a run can resume, and nothing is written without a human approving it.

What you build

  • A graph with planner, investigator, fixer and critic nodes and conditional edges
  • Tools exposed through one or more MCP servers (filesystem, issue tracker or logs)
  • Checkpoints to SQLite or Postgres after every node, and a resume command
  • Episodic memory of past fixes that the planner can retrieve
  • An interrupt before any write: show the diff, wait for approve, edit or reject
  • A max-iterations guard and a clear stop reason on every run

Acceptance criteria

Resolved issues
multi-file issues fixed end to end on a test repoRun on at least five seeded issues; tests pass after each fix.
Unauthorised writes
zeroAudit every write against an approval record.
Resume
a killed run resumes from its last checkpointStop the process mid-run, restart, and show it continues.

Stretch: Stream the graph's events to a small UI so a reviewer can watch and step in.

Step-by-step guide and solution

Capstone 4

Production hardening suite

Take the multi-agent reviewer to production readiness: tracing, cost controls, guardrails, audit logs and eval gates in CI.

What you build

  • OpenTelemetry traces for every model and tool call, viewed in a tracing tool such as Langfuse or Phoenix
  • Prompt caching, a semantic cache and a small-then-large model cascade
  • Input and output guardrails: PII redaction and indirect prompt-injection checks on tool results
  • Dual-LLM separation for anything that reads untrusted content
  • An append-only audit log of agent reasoning summaries and tool mutations
  • A trajectory eval suite that runs in CI and blocks a release that regresses

Acceptance criteria

Injection tests blocked
100% of the test setRun a suite of indirect injection cases through the tools.
Cost per resolved issue
at least 35% lower than beforeCompare credits per issue on the same set before and after.
Trace coverage
every model and tool call has a spanCheck a sample of runs end to end in the tracing tool.

Stretch: Add a kill switch and a canary rollout for prompt and model changes.

Step-by-step guide and solution