Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

  1. AI Academy
  2. /
  3. Path 4
  4. /
  5. Infrastructure for Agents
AdvancedFree coursePath 4 · Production AI at Scale · Part 1 of 4

Infrastructure for Agents

Run a fleet of agents in production: compute, sandboxes, durable workflows, queues, state, tenant isolation, gateways and safe delivery.

2 modules · 8 lessons~16 hoursUpdated 2026-10-30Certificate included

See the curriculum
  • Lessons8
  • Quizzes8
  • Sources49
  • Of study~16h

About this course

About this course

An agent that works on your laptop still needs somewhere to run, a safe place to execute the code it writes, a way to survive crashes and week-long waits, storage for its state, credentials it can't leak, a route to several model providers, and a release process that doesn't break cases in flight. This course builds that platform for a fleet of per-step agents that review documents, draft replies, run identity checks and calculate payments, using the stacks AI builders actually pick today: Vercel Fluid compute, Sandbox, Workflow and Queues, Claude Managed Agents, Modal, E2B, Temporal, Inngest, Restate, Neon, Supabase, Upstash and the main AI gateways. Every lesson has costed worked examples, short Python code, primary sources and exercises you run with Claude.

About the running example

The examples follow a fictional property-law (conveyancing) firm in England and Wales and the other firms on the same platform, served by a fleet of per-step agents (search review, enquiries, ID checks, completion statements). It's a case study, chosen because its documents are long, structured and high-stakes. You don't need a legal background, and the same patterns apply to contracts, insurance claims, invoices, support tickets or patient records. In the lessons, a matter is one client's case and a solicitor is the lawyer who signs work off.

Outcomes

What you'll learn.

  1. 1Choose where each agent runs (Fluid functions, containers, Modal, Managed Agents, eve on Vercel) from its duration, CPU profile, statefulness and cost, and cost the choice with real rates
  2. 2Run model-written code in a sandbox with the right isolation level, egress policy, credential brokering and lifecycle
  3. 3Design durable workflows and queue consumers that survive crashes, deploys and week-long waits, and reason precisely about replay, retries and at-least-once delivery
  4. 4Decide where each kind of agent state lives (system of record, workflow log, transcripts, files, coordination) and size it
  5. 5Isolate tenants and secrets end to end: short-lived credentials, row-level security, per-tenant keys and budgets
  6. 6Put an AI gateway in front of the fleet and ship agent changes through preview environments, eval gates and gradual rollouts
Curriculum

2 modules, 8 lessons.

9h 50m of lessons

  1. Module 1 · 4 lessons · 4h 55m

    Compute and execution

    Where agent code runs, where model-written code runs, and how long-running work survives failure and waiting.

    1
    1. 1Where agents runAgents spend most of their life waiting on models and people. How that shapes the choice between Fluid functions, containers, Modal, Claude Managed Agents and eve on Vercel, with real rates and a costed fleet.1h 10m7-question quiz6 sources
    2. 2Sandboxes for agent codeWhen an agent writes and runs code, that code is untrusted. The isolation spectrum from containers to gVisor to Firecracker microVMs, the sandbox products AI builders use, and how to set lifecycle, egress and credentials.1h 15m7-question quiz7 sources
    3. 3Durable execution enginesHow Temporal, Inngest, Restate, Trigger.dev and Vercel Workflow keep multi-step agent work alive across crashes, deploys and week-long waits, through one shared model of steps, journals, replay and retries.1h 20m7-question quiz6 sources
    4. 4Queues, schedules and background jobsHow to buffer bursts, fan out events, keep one customer from starving another, and schedule work for days or weeks, with at-least-once queues, per-tenant concurrency, Little's law sizing and the right scheduler for each wait.1h 10m7-question quiz6 sources
  2. Module 2 · 4 lessons · 4h 55m

    State, access and delivery

    Where agent state lives, how tenants and secrets stay separate, how model traffic is routed and governed, and how changes reach production safely.

    2
    1. 5State, sessions and checkpointsAn agent fleet keeps six kinds of state with different owners and lifetimes. Where each belongs (Postgres on Neon or Supabase, workflow journals, session stores, sandbox snapshots, object storage, Redis), how checkpoints work at each layer, and how to size, protect and delete it.1h 15m7-question quiz6 sources
    2. 6Secrets, identity and tenant isolationA platform serving several customer organisations must keep each one's cases, documents, credentials, model traffic and spend apart at every layer. Tenancy models, short-lived credentials with OIDC, row-level security in Postgres, credential brokering and per-tenant keys.1h 15m7-question quiz6 sources
    3. 7AI gatewaysOne control point between your agents and every model provider. What Vercel AI Gateway, OpenRouter, LiteLLM and Portkey do (routing, fallbacks, keys, budgets, logging, data controls), the arithmetic of fallbacks, and the ways a gateway can mislead you.1h 10m7-question quiz6 sources
    4. 8Environments and delivery for agentsShipping a prompt, model or gateway change to a fleet with hundreds of cases in flight. What a release contains, preview environments with database branches and capped keys, eval gates in CI and how much they can detect, gradual rollouts by customer and case, and what happens to work already running.1h 15m7-question quiz6 sources
Capstone

A production platform slice for one agent

Build the infrastructure under one agent from the fleet (a payment calculator), end to end and on synthetic data. A turn handler, a sandboxed calculator, a durable workflow fed by an idempotent queue, tenant-isolated state, a gateway with per-customer keys and budgets, and a CI pipeline with an eval gate.

Open the project brief
Certificate · free

Finish it. Get certified.

Complete every lesson of Infrastructure for Agents and you get a certificate with your name on it. Free, like the course.

  • A public page with a certificate ID anyone can check
  • Download it as a PDF
  • Add it to LinkedIn in one click
It also counts towards the Production AI at Scale path certificate, for finishing all 4 courses in Path 4.
Sample
FAQ

Infrastructure for Agents, answered.

Is Infrastructure for Agents free?

Yes, for everyone: all 8 lessons, 8 quizzes, the capstone brief and the certificate are free, with no card and no trial. The hands-on exercises need the tools listed under Prerequisites.

Do I get a certificate?

Yes. Finish every lesson of Infrastructure for Agents and you get a certificate with your name and a certificate ID, on a public page anyone can check. Finishing every course in a learning path earns the path certificate too. You can download each one as a PDF and add it to LinkedIn. They're certificates of completion from the Coders In Hoods AI Academy, not an accredited qualification.

How long does Infrastructure for Agents take?

About 16 hours: 2 modules and 8 lessons, at your own pace. Your progress is saved to your account, on every device.

What do I need before I start?

Agent Foundations and Building Agents with Claude and eve (or equivalent: you have built a tool-using agent). Senior backend experience: HTTP, Postgres, queues, Docker and CI/CD. Comfortable reading and writing Python. Recommended alongside Production Agent Systems, which covers multi-agent design, prompt-injection security, compliance and observability.

Before you start

Prerequisites

  • Agent Foundations and Building Agents with Claude and eve (or equivalent: you have built a tool-using agent)
  • Senior backend experience: HTTP, Postgres, queues, Docker and CI/CD
  • Comfortable reading and writing Python
  • Recommended alongside Production Agent Systems, which covers multi-agent design, prompt-injection security, compliance and observability
Path 4

More in Production AI at Scale.

See the whole path
Next in Production AI at Scale · Course 2Production Agent SystemsTake an agent from working demo to a system you can run for months: architecture, security, compliance, observability and safe change.
  • AdvancedAI · Reliability

    Scaling AI Systems

    Keep a fleet of agents fast and available under real load: rate limits, flow control, retries, backpressure, caching, failover, latency budgets, load tests and capacity plans.

    7 lessons ~18hFree
  • AdvancedAI · Cost engineering

    LLM Cost Engineering

    Know what each case costs in tokens, then cut that cost with caching, trimming, batching, routing, distillation and self-hosting, without losing quality.

    8 lessons ~20hFree