Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.

Roadmap · Specialise

AI agents and MCP (TypeScript)

Opens with credits

For developers who can already call a model API and want to build AI agents that hold up in real use, in Python or TypeScript. By the end you can write the agent loop by hand, pick and use a framework with reason, publish an MCP server, and prove your agent works with evals, guardrails and traces.

Curated by Tauseef Fayyaz10 stages, 71 topics~5 months at a few hours a week

By the end, you will be able to

  • Write a tool-calling agent loop from scratch against one provider API, with typed tools, validated output, clear errors and step, time and cost limits
  • Add memory and explicit state to an agent, and choose between chaining, routing, orchestrator-workers and handoffs for a given task, including when not to use several agents
  • Build the same agent in LangGraph, the OpenAI Agents SDK or the Claude Agent SDK, and explain what each framework adds over your own loop
  • Build, test in the Inspector and publish an MCP server on the current stateless specification, with sensible tools, resources and authorisation
  • Ship an agent with an eval suite in CI, prompt injection defences, human approval for risky actions and tracing of every step in production

The path

10 stages, in the order to learn them. Open one to start.

  1. 1How agents workUnderstand what makes a program an agent, the loop every agent runs, how agents differ from fixed workflows, and how to decide whether a task needs an agent at all.6 topics · ~2 weeks
  2. 2Tool calling from scratchBuild the agent loop yourself with one provider API and no framework: define tools, read tool calls, return results and errors, handle parallel calls, then read a second provider to see what is universal.7 topics · ~2 weeks
  3. Structured output and validationGet data your code can trust from a model: design JSON Schemas, use strict modes, validate with {choice} tooling, feed errors back for a retry, and enforce business rules in code rather than in the prompt.6 topics · ~2 weeksOpens with credits
  4. Memory and stateDecide what your agent remembers within a run and across runs: short-term history, context engineering, compaction, explicit typed state, long-term memory stores scoped per user, and checkpoints.7 topics · ~2 weeksOpens with credits
  5. Planning and multi-agent patternsLearn the reusable shapes for multi-step work, from prompt chains and routers to plan-and-execute, reflection, orchestrator-workers and handoffs, and when splitting work across several agents is worth the cost.7 topics · ~2 weeksOpens with credits
  6. Agent frameworksRebuild your agent with the frameworks teams actually use in 2026: LangGraph for explicit state and control flow, the OpenAI Agents SDK for agents, handoffs and tracing, and the Claude Agent SDK for agents that work on files and commands. Learn what each adds and when to choose it.7 topics · ~3 weeksOpens with credits
  7. Build and publish an MCP serverExpose a real system to any MCP host: choose tools, resources and prompts, build a server with the official {choice} SDK on the stateless 2026-07-28 specification, test it in the Inspector, add authorisation for remote use and publish it.8 topics · ~3 weeksOpens with credits
  8. Evals and testing agentsProve your agent works and keeps working: build an eval set from real tasks, choose code, model and human graders, test tool choice and trajectories with fake tools, measure reliability over repeated trials and gate changes in CI.7 topics · ~2 weeksOpens with credits
  9. Guardrails, cost and safetyKeep agents safe and affordable: understand prompt injection and the lethal trifecta, give tools least privilege, require human approval for risky actions, sandbox code, enforce step and budget limits, and estimate cost per task.8 topics · ~2 weeksOpens with credits
  10. Observability and shippingRun your agent in production: trace every step, follow the OpenTelemetry conventions, run long tasks as durable background jobs, make tools idempotent, stream progress, add model fallbacks and turn production failures into new evals.8 topics · ~2 weeksOpens with credits
Keep reading

8 more stages, 58 more topics, free with an account.

You have seen the open stages of the AI agents and MCP roadmap. Every topic it covers is listed above, and an account opens the rest: what each topic means, a question to check yourself, the courses, the practice and Tauseef's advice for every stage. Early access is open: sign up and your account is active shortly after.

Everything here is free to learn from. A few things, like adding a roadmap, keeping a cheat sheet or asking Tauseef a question, use credits. You get 15 when you join, your first roadmap is free, and if you are learning seriously and run out, you can ask for more. Credits only make sure the platform goes to people who are actually learning.

Build a project

A finished project proves more than a certificate.

Picked from the other libraries by shared topics.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

  • 1:1 Mentorship
  • Fresh Graduate Mentorship
  • Career Guidance

Brand deals, promos and partnerships: tauseeffayyaz@gmail.com