Capstone — Build a Complete Tool Ecosystem

Phase 13 taught every piece. This capstone wires them into one production-shaped system: an MCP server with tools + resources + prompts + tasks + UI, OAuth 2.1 at the edge, an RBAC gateway, a multi-server client, an A2A sub-agent call, OTel tracing into a collector, tool-poisoning detection in CI, and an AGENTS.md + SKILL.md bundle. By the end you can defend every architectural choice.

Build 2 hr Python (stdlib, end-to-end ecosystem harness)

Prerequisites: Phase 13 · 01 through 21

#Learning Objectives

  • Compose an MCP server exposing tools, resources, prompts, and a task with a ui:// app.
  • Front the server with an OAuth 2.1 gateway that enforces RBAC and pinned hashes.
  • Write a multi-server client that traces with OTel GenAI attributes end-to-end.
  • Delegate part of a workload to an A2A sub-agent; verify opacity is preserved.
  • Package the whole stack with AGENTS.md + SKILL.md so other agents can drive it.
Full Access lesson

Keep going. The rest of this lesson is one step away.

Unlock all 503 lessons, video, code, quizzes and every future update. Pay in your own currency with Paystack.

The text and code of this lesson are based on AI Engineering from Scratch by Rohit Ghumare, MIT licensed.