Practical Guides · knowledge base from X
🤖 Automation with AI agentsFramework (no numbers)

10 projects to learn AI agents: from tool calling to a production system (stack, problem and lesson of each)

A 10-project learning path for anyone who wants to build real AI agents instead of yet another chatbot that calls one function. It starts with tool calling and moves through the ReAct loop, choosing among many tools, memory, planning, reflection (generator → critic → revision), a multi-agent system with a supervisor, a research agent with citations and a coding agent with tests, up to a production agent with timeouts, retries, permissions, human approval, cost limits, state persistence, observability, evaluation and security. For each it gives the problem, what to build, the stack (Python, OpenAI, LangGraph, Pydantic, SQLite/PostgreSQL, Redis, Docker, OpenTelemetry…) and what you learn.

✍️ Jaydeep Karale · @_jaydeepkarale
🔗 Read the original on X · X Article · published 5 Oct 2026
📊 252 likes · 433 bookmarks · 16k views
Summary and adaptation in English; content and results belong to the author.

Part of the manual Automation with AI agents — the complete manual

Claimed result

  • Author: Jaydeep Karale (@_jaydeepkarale, ~32k followers), a technical educator on Python and AI. The post's motto: "Learn… Build… Fail… Learn… Repeat".
  • No financial result or metric: it is a curriculum of projects. Bookmark/like ratio 1.7.

Proof: framework. A sensible teaching progression consistent with the other sources in this theme (memory, planning, separate critic, observability), with no data or complete code examples (the article's diagrams are images).

The key idea

One tool call helps you understand the basics, but real agentic systems must answer other questions: how does the agent decide which tool to use? how does it remember previous interactions? how does it break a complex task into smaller steps? how does it recover when a tool fails? how does it verify its own work? And how do several agents collaborate without turning into an unpredictable mess? The best way to understand this is to build it, in a precise order: each project adds one building block, and a production agent combines almost all of them.

The goal is not an agent that looks autonomous in a demo, but understanding when it should act, what it should be allowed to do, how it should remember, how it should recover and how you can verify what it did. "That's where AI agent engineering starts getting interesting."

Step-by-step playbook

# Project The problem What to build Stack What you learn
1 Tool-Calling Agent an LLM generates text but can't interact with your application an agent that receives a request, decides whether a tool is needed, calls the right function (get_weather(), search_database(), send_email(), create_ticket()) and uses the result to answer Python · OpenAI · Function Calling · Pydantic the fundamental difference between an LLM that generates text and an agent that takes actions
2 ReAct Agent some tasks can't be solved with one call: the agent must reason, act, observe, decide the next step a ReAct-style loop (reason → act → observe → repeat); e.g. "find the latest price of X, compare it with last month's price and calculate the percentage change" Python · OpenAI · LangGraph · Function Calling agents as iterative loops, not request-response pipelines
3 Multi-Tool Agent a useful agent has many tools (database, web search, calculator, internal APIs, file storage, email, calendar): the challenge is choosing give the agent several tools and let the model pick the right one for the request Python · OpenAI · LangGraph · Pydantic tool selection, tool schemas, structured inputs, how to design tools an LLM can use reliably
4 Memory Agent most agents are stateless: in a new conversation they don't know who you are, what you discussed, your preferences, the decisions made, what's worth remembering first conversation history, then long-term memory stored outside the LLM context Python · OpenAI/Ollama · SQLite/PostgreSQL · Embeddings the difference between context and memory, retrieval and storage, deciding what should persist; extendable to semantic memory, episodic memory and user profiles
5 Planning Agent tasks too complex for one step: "research three cloud providers, compare their pricing, evaluate their features and create a recommendation report" an agent that decomposes a high-level goal into smaller tasks Python · LangGraph · OpenAI · Pydantic task decomposition, dependency management, sequential vs parallel execution, plan execution
6 Reflection Agent a convincing answer can be incomplete or wrong two stages: Generator → Critic → Revision; the critic checks missing information, incorrect reasoning, unsupported claims, formatting requirements, task completion Python · OpenAI · LangGraph evaluation loops, iterative refinement, structured feedback, why "generate once" isn't enough for complex tasks
7 Multi-Agent System some tasks split by expertise: specialized agents beat one huge agent with dozens of tools several agents coordinated by a supervisor: a researcher gathers information, a coder implements, a reviewer evaluates, the supervisor decides what happens next Python · LangGraph · OpenAI · Pydantic coordination, delegation, state management, communication between agents, the trade-offs of multi-agent architectures
8 Research Agent a chatbot answers from what it knows; a research agent must gather first: search several sources, open documents, extract, compare, resolve conflicting information, produce citations an agent that does multi-step research autonomously Python · LangGraph · OpenAI · Search API · Pydantic agentic search, source selection, evidence gathering, citation handling, research workflows
9 Coding Agent writing code is only one part: it must understand an existing codebase, modify files, run tests, inspect failures, iterate give the agent controlled access to a development environment Python · OpenAI · Git · Docker · pytest tool-driven development, codebase navigation, execution loops, test-driven verification, agent safety boundaries
10 Production AI Agent everything works in a demo; in production you must know: which tools did it call? how long did it take? why did it fail? how many tokens? which model? how often does it retry? what happens if a tool is unavailable? can we reproduce an incident? combine the previous projects into a production-oriented agent Python · LangGraph · OpenAI · PostgreSQL · Redis · Docker · OpenTelemetry the difference between an agent demo and an engineered agent system

The production problem isn't intelligence: it's control and observability. For project 10 you must think about: timeouts, retries, tool permissions, human approval, cost limits, state persistence, observability, evaluation, security.

The recommended progression

Tool calling → reasoning loops → multiple tools → memory → planning → reflection → multi-agent collaboration → autonomous research → coding agents → production agent systems.

These aren't ten separate kinds of agents but building blocks: a production agent can combine almost all of them (the article's final diagram is an image).

How to use it in practice (from the article's structure)

  1. One project at a time, in order: each introduces one new difficulty.
  2. For each project first write the problem in one sentence and what "it works" means, then build with the listed stack.
  3. From project 6 onward separate who produces from who verifies (critic, reviewer, tests).
  4. At project 10, measure: tools called, duration, tokens, model, retries, behaviour when a tool is down, incident reproducibility.

Tools and costs

Tool Where it appears
Python every project
OpenAI (function calling) / Ollama (local models) all; Ollama as an alternative in the memory project
LangGraph from project 2 (loops, plans, multi-agent, research, production)
Pydantic tool schemas and structured outputs (1, 3, 5, 7, 8)
SQLite / PostgreSQL + embeddings memory (4), production state (10)
Search API research agent (8)
Git · Docker · pytest coding agent (9)
Redis · Docker · OpenTelemetry production agent (10)

All open source except the model APIs (usage-based, cost not given) and the chosen Search API.

Limitations

  • A curriculum without code in the text (the diagrams are images), with no time estimates, costs or success criteria per project.
  • The stack is tied to OpenAI + LangGraph: valid but not the only choice (other sources in this theme use Claude Agent SDK, Codex, custom harnesses).
  • It's not a money-making guide: it's technical training; the economic value depends on what you build next and who buys it.
  • Evaluation appears only as an item in the last project: for the method you need a dedicated guide (see the eval guides in the theme manual).
← More guides in “Automation with AI agents”