Martin Casado listed the reasons agents aren't production-ready. Here's how JoyStream answers each one: compile the conversation into a versioned agent, keep state durable, and make every run prove its work.
13 min read

Martin Casado posted a thread this week that every team running agents in production will recognize. He uses agents heavily, believes in them, and still finds them "not ready for production for generalized, long-running tasks." His list: context rot, forgetful memory, schedulers that lose or misfire tasks, flaky third-party integrations, agents that claim work they never did, and an upgrade loop that has him VNC-ing into Mac minis.
He's right about every one of them. We hit the same failures building JoyStream, and they shaped how the platform works.
Our conclusion is that most of these aren't model problems. They're systems problems. A smarter model won't remember a rule it was told three weeks ago in a chat that has since scrolled out of context. It won't make a cron job survive a deploy, and it won't stop itself from saying "done" when the API call returned a 500. Those are jobs for the system around the model: durable state, versioning, evidence and isolation. Distributed systems learned all of this the hard way, and agents are having to relearn it.
This post goes through his list point by point. It covers what we built, why, and what we haven't solved yet.
Most agent stacks interpret. A model reads a growing pile of context (system prompt, skills, memory, history) on every run and works out what to do again each time. That's why the same agent behaves differently on Tuesday than it did on Monday.
JoyStream compiles. The conversation is where you decide what you want. Each round of decisions becomes a new agent version: a structured, immutable spec of steps, integrations, acceptance criteria and error policy. You simulate that version against mocked services, run it for real, and once you're happy with it you schedule it, wire it to a webhook or share it with your team.
Every answer below comes from this one design choice.
Interpreting has its place, for exploring and for one-off work. It's the wrong way to run work you depend on. More on that at the end.
"There is a long tail of things you want agents to do. No set of skill files can capture those… Having per-task agents helps, but it basically kicks the can."
Context rot happens when one long-lived context has to carry everything: instructions, history, tool output and the latest change of mind. The longer it runs, the worse the model gets at deciding what matters.
In JoyStream, the context where you think and the context where the agent runs are kept separate:
Per-task agents don't solve this if each one is a long-lived context of its own. That's the can Martin says gets kicked. Compiling the conversation into a version does solve it, because the knowledge sits in a durable, reviewable artifact instead of a context window.
"Agents are frustratingly forgetful even if I ask them to explicitly remember key things."
Asking a model to "remember" something stores it in the least durable place available: a context window, or a retrieval index the model may or may not consult. Recall is probabilistic, and production work can't run on probabilistic recall.
In JoyStream, what the agent should remember is written into the spec and versioned. "Always cc finance on invoices over $10k" or "skip weekends" isn't something the model has to recall. It's a change to the definition, and it becomes the next version.
That changes the guarantees:
In short: memory is stored in the spec, not in the model.
"Task schedulers tend to not be durable… unless you have some end to end state guarantees you're fucked."
Of everything on his list, this is a known distributed-systems problem. Schedulers lose tasks when the schedule lives in a process, and they double-fire when two processes both believe they own it.
With JoyStream, a scheduled or webhook-triggered agent behaves like a production job:
The end-to-end guarantee Martin asks for comes from state that survives the process, plus an atomic claim on it.
"Agents often say they've done something when they haven't… Especially if you're depending on it actually having done the thing."
An agent says it's done because it's what the conversation rewards. Better prompting won't fix that incentive. What fixes it is never letting the model's own statement decide whether the work happened.
In JoyStream, completion is computed from evidence:
Every run therefore produces an outcome you can audit: how each step was carried out, which services it talked to and what they returned. If you depend on the work having happened, you can check the evidence instead of trusting the agent.
"Integrating into other software and hardware devices is consistently flakey and problematic."
We can't make anyone else's API reliable, and nobody can. What a platform can do is stop integrations from being improvised. When an agent has to discover at runtime how to call a service, find a credential and interpret an error, every run is a fresh chance to get it wrong.
In JoyStream the integration is frozen when the version is built:
Flaky dependencies are a fact of production software. What has to be designed is how the agent behaves when they fail, and it has to be designed ahead of time.
"I constantly have to VNC into various mac minis to upgrade / debug agents. Even commercial ones."
This comes from treating an agent as a long-lived process on a machine you look after. Each machine drifts, holds its own state, and has to be upgraded by hand.
JoyStream agents are hosted, and an agent is defined by its spec, not by the machine it runs on. That splits the upgrade problem in two:
Debugging works the same way. You read a run's evidence in the browser or from your coding agent, change the spec, and simulate the new version. Nobody needs a remote desktop.
Martin's list is written from one person's point of view: his agents on his Mac minis. That points to a problem he didn't name. Most agents today belong to one person. They live on that person's machine or in their chat history. When that person is on vacation, changes roles or leaves, the agent becomes an orphan nobody else can understand, fix or trust.
If an agent does real work for a business, it has to be a team asset, not a personal one. Because a JoyStream agent is a versioned spec rather than a process on someone's laptop, it can be shared like any other piece of company infrastructure:
Software went through this shift long ago, from scripts on one machine to code in a shared repository with reviews and owners. Agents need the same shift.
Martin ends with "tl;dr still tons of work to do." We agree. To be specific about where our approach stops:
Not everything should be compiled. Most of what people ask an AI for is one-off: look this up, draft that, check why this run failed. Turning each request into a versioned agent would be bureaucracy. Interpreting is right for that work. It's wrong for work a business depends on.
So we're building the other half: an assistant for individuals and teams. You talk to it in the web app, in Slack or from your coding agent. It answers, explores, and runs your existing agents for you. It's an interpreter, and it's meant to be one.
Three rules keep it from becoming the thing Martin describes:
The long tail of what people want is handled by interpreting, which is where it belongs. When something from that long tail starts to matter, it becomes a compiled agent.
Today, an agent's memory is what a person or a conversation wrote into its spec. That's reliable, but it means the agent doesn't learn from its own runs. We're building that next, with one rule: learning must not bypass review.
Martin's frustration is that agents forget. A memory that silently rewrites behavior isn't the fix either. Our approach is memory that proposes changes and people who approve them.
Martin doubts the field converges on agents that actually work "without key innovations." We think he's right, and that the most important ones aren't in the model. Production software already has the answers: compile instead of interpret, version instead of mutate, prove instead of claim, and keep state durable instead of in a process. Agents need to be built on the same principles.
That's what we're building at JoyStream. If you're running into the same pain points, we'd like to hear what's breaking for you.
| # | Martin's challenge | Root cause | JoyStream's answer |
|---|---|---|---|
| 1 | Context rot | One long-lived context carries everything | Conversation compiles into a version; every run starts clean |
| 2 | Memory | Recall is probabilistic | What matters is written into the versioned spec |
| 3 | Lost / misfiring schedules | Schedule state lives in a process | Durable watermark + exactly-once claim; idempotent intake |
| 4 | Reward hacking | "Done" is self-reported | Completion requires evidence and criteria checked in code |
| 5 | Flaky integrations | Integration is improvised at runtime | Integration in the spec, readiness check, declared error policy |
| 6 | Upgrade loop | Agents are pets on machines | Hosted; agents are versioned specs iterated from any client |
| 7 | Single-owner agents (not on his list) | The agent lives on one person's machine or in their chat | Shared workspaces, reviewed versions, shared runs and evidence |