Single-player harnesses are doomed to fail
Most of us use agents as a single-player operator. The harness, the software that runs the agents' loop, basically holds everything from its memory to its credentials to its history. Which is fine if you're watching your coding agent fix a bug, but it's not ideal when the agent has a job that runs for weeks on weeks and involves other people.
We just built an accounts payable agent internally, so this is fresh for us. It emails suppliers, waits days for their replies, logs into vendor portals, and everything it does has to hold up when someone checks it. It also has to stay the same agent when we move it from Claude Code to Codex, or swap Opus 5.5 for whatever model we want to use next. None of that fits in one session on one person's laptop.
The agent's identity is already moving out of the harness, and harnesses are turning into gloves you swap per job.
Where the agent lives
Models, as we know, are stateless. Every API call is a fresh request with a messages array, and the model knows what's in that array and nothing else. If the agent needs to know what pricing plan a specific supplier is on or the invoice history, the harness has to put it into every request.
On each turn the harness rebuilds the context from the transcript, memory files, tool definitions and credentials it has stored, then calls the model. So the agent you're working with on Thursday is mostly whatever the harness saved on Wednesday.
And the harness is the piece you replace most often. Until recently the harness carried a lot of the intelligence, with small models just for applying code edits and long prompts teaching the model to explore a repo and check its own work. Frontier models do most of that themselves now, which is why moving a task from Claude Code to Codex changes your bill more than your result. Vendors also ship harness changes overnight, straight on top of whatever your agent had stored inside.
Think of it in three layers
The model already changes from task to task. When our invoice agent investigates a mismatched invoice, it runs on Opus 5.5. When it writes the email to the supplier, it switches to a cheaper model like Sonnet 5.5.
The harness should change per job: a coding harness for the repo, a browser harness for the vendor portal, a voice harness when the agent has to call someone.
The identity should never change. That's the agent's address, the person who owns it, what it's allowed to do and its record of what it has done. Every supplier thread it answers and every portal that knows its login adds to it. Six months in, that history is the most valuable thing the agent has, and it's the one part you can't regenerate.
Four things a single-player harness can't give the agent
Reachable
Most of an accounts payable agent's work is waiting on someone else. The supplier answers the payment reminder two days later, at 2am their time. The vendor portal sends a one-time code the agent has to use before it expires. Both need an endpoint to hit, and a Claude Code session on a closed laptop doesn't have one.
A record someone else can trust
When finance asks what the agent told a supplier, a single-player harness can only offer its own transcript, written by the same process that did the work. If a send failed silently or a reply never got persisted, the transcript is wrong and nothing outside it disagrees. The record should come from the other side, from the mail server that accepted the message and the portal's own login log.
Its own name
The agent pays invoices through your bank login and emails suppliers from your address, so when it gets something wrong, the logs say you did it. Its limits are instructions in a prompt. In July 2025, SaaStr founder Jason Lemkin put his app under a code freeze, told Replit's agent in capitals to make no changes without permission, and signed off. The next day it ran destructive commands against his production database and wiped records for 1,206 executives. An agent can ignore an instruction in its context window. It can't use a permission it was never given.
A way through a switch
Say you move the invoice agent from Claude Code to Codex because it's cheaper. Its memory files, session history and portal logins were stored by Claude Code, so none of them come along, and you re-teach it which suppliers are on payment plans.
The pushback
For a refactor where I'm approving every diff, a single-player harness is the right tool. The stronger objection is that an always-on agent is more dangerous, and it is. Any email it reads can carry a prompt injection, and "we've changed our bank details" is exactly what an attacker would send. That's the case for its own identity, though. Give the drafting step a key that can create drafts but can't send, and let only allowlisted domains trigger a run. Then a bank-details change becomes a draft for a human, never a payment.
Why the address is email
Once identity lives outside the harness, a supplier reply hits the agent's address, a webhook fires, and a harness spins up in a cloud sandbox, loads the thread, acts with the agent's own credentials and exits. That address should be email, because every system already sends to one. Suppliers email invoices, portals email one-time codes, and GitHub and Stripe email notifications. Every message also carries a Message-ID, and replies chain through In-Reply-To and References headers, so the record of what the agent said sits on the mail server and in the supplier's inbox, outside the agent's own transcript.
That's what we build at AgentMail. Each agent gets its own inbox through an API any harness can call, with webhooks on inbound mail and threads that persist across models and harnesses. AgentID ties each agent to a human owner and gives it its own accounts at the apps it uses.
Pick the glove for the job. Keep the hand.
|