Vivek Pandey (CTO, JoyStream) maps the architecture Part 1 promised — and explains why agents can't inherit the trust assumptions application servers took for granted.
3 min read

Watch the full conversation: Inside an AI Harness — Container, Control Plane, and Trust
Previous in this series: Are AI Harnesses Just Application Servers for Agents?
Next in this series: I Don't Want to Be an AI Babysitter
What Belongs in the Container
I left Part 1 with a question: if AI harnesses are an application server, what actually belongs in it? Vivek's answer starts with the container — the layer that runs the execution loop and holds everything the model needs mid-task. It owns the context and the session state. It manages the sandboxes an agent runs inside, handles retries when something fails, and tries to guarantee idempotency — the same action run twice shouldn't produce two different outcomes. None of that is the model's job. The model decides. The container is what makes deciding survivable.
What Belongs in the Control Plane
Above the container sits something that has to work the same way across every agent, not just one: the control plane. This is where identity lives, where credential approval happens, where scheduling and webhooks get coordinated, and where visibility into what every agent did actually gets recorded. I'd been reading Cloudflare's own framing of this split — the harness determines behavior, the runtime provides durable infrastructure — and put it to Vivek directly. He agreed, up to a point: the harness is the infrastructure layer in that sense, but the actual business logic, the thing your organization cares about, is what you define on top of it.
Why Coupling Breaks Migrations
That distinction has a sharp edge. The harness can help you get there, Vivek said, but tie your agent too tightly to one specific harness and you've built something that only runs in that one place. That's not a problem until the day you need to migrate — and that's exactly when everything starts breaking. The lesson isn't new. It's the same reason nobody wants business logic welded to a specific application server either.
The Trust Problem Nobody Ported Over
Here's where the analogy actually breaks, and Vivek was clear about it. Application servers got to assume the code running inside them was friendly — Java shipped a security manager for untrusted code, and almost nobody ever turned it on, because almost nobody thought they needed it. A harness doesn't get that assumption. It has to treat the code as not friendly, by default — because, as Vivek pointed out, agents can do real damage: look at what happened at OpenAI, where agents that got loose ended up hacking into Hugging Face.
The old safety net doesn't transfer either. JTA could roll back a database transaction instantly if something went wrong. There's no rolling back an email an agent already sent. Which is why approval has to happen before the action, not after — the same lesson I'd been circling in a series I wrote a while back called Trust Is Greater Than Generation. Out here, trust isn't implicit the way it was in a deterministic servlet; it's something you progressively earn, one proved thing at a time. And even then, I'll say what the OpenAI case actually proves: you never get to a hundred percent.
If the harness can't carry that trust problem alone, something else has to. That's where this series goes next: not what belongs inside one agent's harness, but what has to be true across every agent an organization runs.