---
title: "Agents and MCP in Production"
url: https://eldan.ai/workshops/agents-and-mcp
canonical: https://eldan.ai/workshops/agents-and-mcp
locale: en
language: en
updated: 2026-11-23
author: "Eldan Abdrashim"
cite_as: "Eldan Abdrashim. \"Agents and MCP in Production.\" Eldan.ai, updated 23 November 2026. https://eldan.ai/workshops/agents-and-mcp."
---

# Agents and MCP in Production

> Loops with budgets, tools with limits, MCP servers, approvals and replayable tests.

## At a glance

- **Format:** workshop
- **Level:** advanced
- **Guided time:** 278 min
- **Lessons:** 27
- **Exercises:** 5
- **Free lessons:** 2
- **How free lessons open:** free for newsletter readers: subscribe with an email on a lesson and confirm it
- **Sections:** 5
- **Language:** English, Russian
- **Planned for:** 2027-Q2
- **Status:** waitlist open
- **Refund window:** 14 days
- **Price (USD):** USD 199
- **Last updated:** 2026-11-23

An agent is a loop around a model and some tools. This workshop shows how to keep that loop under control: choose the smallest design that works, build tools with narrow permissions, expose them through an MCP server, add approval gates and durable state, treat tool output as untrusted input, and test the whole thing with recorded runs.

## What you will be able to do

- Decide between a fixed workflow and an agent, and build the smaller one when it is enough
- Build an MCP server with authentication and tool descriptions a model can use
- Add budgets, stop conditions, approval gates and durable state
- Treat tool output as untrusted and red-team your own agent
- Test agents with recorded runs and score trajectories

## Who this is for

- Engineers who have an agent prototype and no way to make it safe or repeatable
- Product engineers adding agent features with human review
- Security-minded engineers preparing for the AI Security track

## Curriculum

1. **The agent loop** (41 min)
   - [What an agent is, in one loop, concept, 5 min](https://eldan.ai/workshops/agents-and-mcp/what-an-agent-is) (free for newsletter readers)
   - [The loop from scratch, example, 8 min](https://eldan.ai/workshops/agents-and-mcp/loop-from-scratch) (free for newsletter readers)
   - Workflow or agent: choose the smaller thing, concept, 6 min
   - Build the loop with a step budget, exercise, 18 min
   - Section check: the loop, check, 4 min
2. **Tools and MCP** (55 min)
   - Tool design: narrow, named, described, concept, 6 min
   - MCP: servers, clients and what travels between them, concept, 6 min
   - Build an MCP server for a real API, exercise, 25 min
   - Authentication and scopes for tools, concept, 6 min
   - Use an MCP server from your own app, example, 8 min
   - Section check: tools and MCP, check, 4 min
3. **Control** (50 min)
   - Budgets and stop conditions, concept, 5 min
   - Human approval gates for risky actions, example, 8 min
   - Long-running agents need durable state, concept, 6 min
   - Add an approval step to your agent, exercise, 20 min
   - Memory without bloat, concept, 7 min
   - Section check: control, check, 4 min
4. **Safety** (44 min)
   - Tool output is untrusted input, concept, 6 min
   - Least-privilege tools in practice, example, 8 min
   - Red-team your own agent, exercise, 20 min
   - Sandboxing code execution, concept, 6 min
   - Section check: safety, check, 4 min
5. **Observe and test** (88 min)
   - Tracing an agent run, example, 8 min
   - Replay tests from recorded runs, exercise, 18 min
   - Agent evals: outcome and trajectory, concept, 6 min
   - Project: a bounded agent with tests, project, 50 min
   - Retention check: a week later, check, 6 min

## What you ship

An MCP server and a bounded agent with an approval step, a budget, traces, a red-team report and a replay test suite.
