Most production agent stacks I've seen look the same. One framework for the agents. Another for orchestration. A tracing tool added after something broke. A cron job to keep long tasks alive. A custom approval step. A spreadsheet of model costs. Every piece is good on its own. Together they're a lot of glue code, and the glue is usually where things fail.
We kept assembling that same stack for customers with complex, multi-system work. With Corin, we stopped bolting things on and built them in.
This series is about a production AI agent platform built that way: the team, the long-running work, the traces, the tests, and the rollback as one system, not a stack you assemble after the fact.
This is the first in a four-part series for builders. I'll go a level deeper than a product tour: config, workflow code, traces, and the skills that keep financial writes safe. The examples are illustrative, with simplified field names, not Corin's schema. Screenshots later in the series are from the product itself.
In this series:
- Built in. Not bolted on. — why the glued-together stack breaks, and how the pieces fit (this post)
- Agents that wait three weeks without forgetting — Temporal, last-mile code, and human approval
- Built-in observability, sandbox tests, and one-click rollback — traces, tuning, and safe change
- Safe ERP execution, portable skills, and day-one security — connectors, portable skills, deployment, and a secure baseline
Throughout, I'll use one workflow. A customer sends a purchase order for five parts. Four are in stock. One is on backorder with the manufacturer. A human team handles this every day: confirm, ship what's available, chase the supplier, wait weeks, finish the order. The work is spread across email, the ERP, and a supplier portal. It's exactly the kind of work that breaks most agent setups.
How do the pieces of a production agent stack fit?
Here's the shape of the platform before we get into the details.

The loop that matters: traces feed backtests, backtests produce a new team version, and a bad version rolls back.
Where does a team design start?
The first question with any agentic system is usually the same: what agents do I need, and how should they work together? Usually you start with a blank canvas. You guess at roles, write prompts, wire handoffs, run it, burn tokens, and adjust.
Corin starts differently. You still write a prompt. You don't stop there. You can connect the operational data, SOPs, and docs you already have — as many as you have. Corin can process thousands of pages and millions of rows, so this is the actual material, not a summary you paste in. Corin then scaffolds the agent team: each agent gets its own model (which can come from a different vendor than the others), the tools it needs, memory, temperature, and budget.
For this order, that team might be intake to read the PO, inventory to check the ERP, procurement to work with the supplier, and fulfillment to ship and update the customer — each with its handoffs and permissions. The team is a config you can read, diff, and edit. When your SOPs change, you tell Corin and it proposes adjustments. (Why that material matters more than the prompt is the subject of Your business won't fit in a prompt. There's more on agent system design on our site.)
What does each agent need to have configured?
In many systems every agent runs on the same frontier model with the same settings. That's simple, and for a lot of workloads it's wasteful.
In Corin each agent carries its own model, temperature, memory, tools, and permissions.
Reliability is a recurring problem in agent systems, and a large part of it is the tool list. As you add more tools, models get worse at picking the right one — they call the wrong tool, or invent one. OpenAI has said function calling becomes less accurate as the number of functions grows, with more hallucinated and incorrect invocations. Its current guidance is to keep fewer than 20 functions available at the start of a turn. Anthropic treats fewer than 10 tools as a better fit for ordinary tool calling, and says selection accuracy drops once you get past 30 to 50.
A single MCP connector can expose hundreds of tools. Zoho Invoice has 144 (for example, apply credits to an invoice), Zendesk has 483, and Docusign has 335.
As part of the agent setup, Corin designates and prioritizes the tools each agent should access, and optimizes its memory, based on its role and tasks. Here's roughly what two of the agents in our team look like:
team: order-fulfillment
version: 13
agents:
intake:
model: provider/small-fast # a small, cheap model is enough
temperature: 0 # deterministic field extraction
memory:
long_term: none # each PO stands alone
tools:
- email.read # read-only
permissions:
write: [] # can't change anything
procurement:
model: provider/strong-reasoning # supplier negotiation, substitutes
temperature: 0.4 # some room when drafting
memory:
long_term: supplier_history # past lead times, contacts, terms
tools:
- supplier.email
- supplier.portal
permissions:
draft: [supplier.email, supplier.portal]
require_approval:
- send_external # anything leaving the company
- change_price
task:
budget:
max_duration: 45d
max_tokens: 2_000_000
max_cost_usd: 40
warn_at: 0.8 # warn at 80% of any limitIllustrative; field names simplified.
A few things are worth pointing out:
- Temperature is per agent. Extraction wants 0. Drafting a supplier note can loosen up.
- Memory is scoped. Procurement sees supplier history. Intake has nothing to leak or get confused by.
- Permissions are separate from tools. Procurement can draft with the supplier email tool, but sending is a separate permission that needs approval.
- The budget belongs to the task. It covers time, tokens, and cost across the whole order, three weeks included, and warns as it nears the limit, so a runaway loop shows up before the bill does.
A model gateway, not a single vendor
Models come through a gateway. Corin supports more than 40 LLM providers and 200+ models, and OpenRouter works out of the box. You can bring your own API keys, or use Corin Model Access, which is usage-based, when an agent needs a model you don't have credentials for. Mixing providers within one team is normal. There's no lock-in to one model vendor.
If you're a heavy open-source user running Corin yourself, you can also wire in local models. That's not part of the app itself. App users bring their own keys or use ours.
What should an AI agent platform include for production?
Here's how the pieces compare when they're bolted on and when they're built in.

What's next
None of these ideas is new on its own. Each exists somewhere, often in excellent tools, and some of them run inside Corin. What we wanted was for them to work as one system. The team design produces the configuration. The configuration shows up in the traces. The traces drive testing and rollback. Long-running tasks keep their context, permissions, and budget the whole way through. That's the difference between built in and bolted on.
In the next post I'll stay with this order and show what happens when four parts ship today and the fifth won't arrive for three weeks: how Temporal keeps the work alive without polling, and what the agents do when the supplier's shipping notice arrives in a format nobody has seen before.
Continue with Agents that wait three weeks without forgetting.
Questions we hear
What should an AI agent platform include for production?
Three groups, built in rather than bolted on: a runtime that can run and wait without losing state; tools, permissions, and human approval for consequential actions; and observability, tests, and rollback so a change is safe to try. Memory, a model gateway, and connectors belong in the same system, not as afterthoughts.
What does "built in, not bolted on" mean for an AI agent platform?
It means those pieces work as one system. Each of them exists as a separate tool; the failure is usually in the glue.
Why do production AI agent stacks fail?
Often because each piece was added after something broke — a tracer, a cron job, a custom approval step — and the handoff between tools is what actually fails.
How do you get a production-ready agent stack without starting from a blank canvas?
You write a prompt, then connect your operational data, SOPs, and docs. Corin scaffolds the agent team: each agent gets its own model, the tools it needs, memory, temperature, and budget. The rest of this series follows one three-week order through the wait, the traces and tests, and a safe ERP write.
If you'd rather look at the platform first, Corin will be on GitHub soon. Until then, you can join the waitlist.
This is part 1 of the "Built in. Not bolted on." series.
- Built in. Not bolted on.
- Agents that wait three weeks without forgetting
- Built-in observability, sandbox tests, and one-click rollback
- Safe ERP execution, portable skills, and day-one security
Yuval Yatskan, co-founder and CEO, Corin


