This is the third post in a four-part series on how Corin is built. In part 2 I walked through an order that ships four parts on day 1, waits three weeks for a backordered part, and finishes on day 22.
With four agents, three systems, and a three-week pause, "the order is wrong" isn't a useful bug report. You need to know which agent decided, on which model, with what context, which tools it called, what it cost, and what happened at each handoff. Then you need a way to change one thing, test it without touching production, and roll back in one click if it doesn't hold up.
That's AI agent observability: a single timeline of every agent, model, tool call, and wait, including the parts that happened weeks apart, plus a way to test a change before it touches a live system.
What should AI agent observability show you?
Most stacks answer that with a separate service. You subscribe to LangSmith or Langfuse, wire it in, then leave the chat, open another tool, and match run IDs to figure out what happened.
In Corin it's built in. Langfuse is part of the platform, so there's nothing extra to subscribe to, configure, or pay for. Every task has a timeline inside Corin that shows exactly how many turns each agent took, with detailed logs for each one: prompts, model calls, tool calls, tokens, latency, and cost, tied together under one task, including the parts that happened weeks apart. A trace for our order might look like this:

Note the 21-day row: zero tokens, zero cost. And the day-22 spans sit in the same trace as day 1, so "why did the customer get this quantity?" leads back to the ASN parse and the original PO.
You read all of this where you're already working. Open the task, see that the ASN parse took two attempts, open the logs for that turn, and decide what to adjust before the next run.
What that looks like in the product
These are real screenshots from the Activity view of one of our workspaces, with nothing added.
Every run, live, with unusual behavior flagged right away. The Board lists each run with its worker, what started it, its state, the current step, how far it is from its time target, elapsed time, and cost. Anything unusual — a run going past its target, timing out, or stalling — is flagged right there, so you see what failed immediately.

Detailed logs for every agent. Expand any run and you get the logs for each agent in it: every turn, prompt, model call, tool call, and handoff. When something fails, you see which agent it was, at which step, and why, so you know what to fix right away.
System-wide health alongside per-agent behavior. Metrics rolls up the whole system — completion, failures, timeouts, latency, reused context, and cost — so you can see how it behaves next to each worker's individual numbers.

Trends and tail latency, not just averages. Runs per day split into succeeded, failed, and timed out, with missed targets overlaid, next to end-to-end time at P50, P90, and P95. When latency or failure rates start to drift, you see the exact day it started.

Where your tokens actually go. Input, output, and cache-read tokens per day and per model. Here, gpt-6-astra accounts for almost all 135.3M tokens. Seeing spend by model makes it obvious where to focus next instead of guessing.

Surgical tuning across tools and workers. Pair token spend with Tool latency and the per-worker table (with each agent's own P50, P95, stuck count, tokens, and cost) and the waste jumps out. In this workspace, Web Search has a P95 latency of 6.1 minutes because we had a frontier reasoning model (gpt-6-astra on high reasoning) running web searches. That task doesn't need a frontier reasoning model. A faster, cheaper model does the same job in a fraction of the time. The telemetry lets you be surgical about where you spend.

Even how fast agents wake up. On shared compute, an agent sleeps between runs instead of staying always on, waking up when a trigger or webhook fires — a trigger and an event, not a schedule. The Wake view shows daily starts and wake P50 and P95, sitting around 6 to 25 seconds at P50 here. When a workflow needs near-instant resume, that table tells you directly where moving to dedicated compute will make it much faster.

All of this is built in. Just the analytics shown in those views would easily cost hundreds or thousands of dollars a month if you subscribed to a separate observability stack and wired it up yourself. With Corin, you don't leave the platform or pay extra for it.
Tracing every step of an agent run produces a lot of data, quickly. In one of our workspaces, two agents — one that checks an inbox every hour, and one that runs a daily market report — created 180 GB of Langfuse logs in seven days, from hundreds of chats. Over 21 days, that was 87 million rows. That's why Corin keeps a seven-day retention window by default. You can shorten it or lengthen it if you need to.
How do you test changes to an AI agent without touching production?
That telemetry is also what makes improvement safe. Corin includes a built-in sandbox, so you can run experiments side by side with production. Say the token charts suggest moving the inventory agent to a cheaper model. The flow looks like this:
- Create a new version. Copy team v13 to v14 and change one thing: the inventory agent's model.
- Run it in the built-in sandbox. Click Test in sandbox to run v14 side by side against the earlier release and fill out a comparison scorecard. Every write during a test runs on a stand-in, so nothing reaches your ERP, email, or other live systems, and sandbox side effects and traces are tracked separately.
- Compare per agent. Check accuracy on the inventory step, cost, latency, and whether anything downstream changed. Because each agent is traced separately, you see the effect of that one change.
- Roll out or roll back in one click. If v14 holds up, start the rollout. New runs pick up the new release, while runs already in flight (like our three-week order) keep their existing release so nothing mid-task gets disrupted. Every worker release is tracked with its manifest hash, build, status, risk level, run counts, and evidence in Releases, so if a change misbehaves after going live, you can revert to the previous settings in one click.



Tuning becomes measured comparison rather than repeatedly spending tokens on guesswork.
What's next
Seeing a run and changing a model is one half of operating in production. The other half is what the agents are allowed to do in the systems where the work lives. In the next post I'll cover connectors, portable skills, a real ERP execution skill, and how you deploy from a secure baseline.
Continue with Safe ERP execution, portable skills, and day-one security.
Questions we hear
What is AI agent observability?
It is being able to see, on one timeline, which agent decided, on which model, with what context, which tools it called, what it cost, and what happened at each handoff — including waits that lasted weeks. A trace should include every turn: prompts, model calls, tool calls, tokens, latency, and cost, tied together under one task. A 21-day wait belongs on the same trace as day 1, at zero tokens. That is broader than watching a single model call, which is what most LLM observability is built for.
How do you test changes to an AI agent without touching production?
Run the new release in a sandbox against the earlier one. Every write goes to a stand-in. Compare accuracy, cost, latency, and anything downstream, then roll out to new runs only, or go back in one click. People also ask this as "How do you test an AI agent?"; the same steps apply.
What happens to work that is already in flight if you roll out or roll back?
Runs already started keep the release they started with. New runs pick up the new release. If the change does not hold up, you go back to the previous settings in one click.
This is part 3 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


