In my last post I introduced Pantheon, my open-source local multi-agent workspace — a small AI team (a planner, a coder, a researcher, a creative, a scheduler) that remembers your project between sessions.
The launch post did fine. But the interesting part isn't the launch. It's what broke when I actually ran the thing for real work — and what I changed because of it. The test task was deliberately boring: build a small CLI todo manager, write tests, review it, document it. Out of 29 model calls, 11 failed. Here's what I learned.
1. The model API is the flakiest part of your stack
My provider was DeepSeek, called through a proxy. About 40% of calls dropped mid-flight — not errors, just dead connections. Streaming calls failed almost every time. Multi-step orchestration made it worse, because one dropped call kills the whole chain.
What actually helped, in order of impact:
- Turn streaming off. Non-streaming calls go through the same proxy far more reliably. You lose live output in the UI; you keep a working product.
- Retry single-role calls, don't retry the whole plan. When the orchestrator's first specialist call drops, the entire multi-role run is dead. A single role, retried, usually lands on the second attempt.
- Keep each ask short. Role outputs are capped at 4,096 tokens, and long outputs don't come back truncated — they come back empty. No error, no partial text. Just nothing. Short asks, more of them.
The lesson: if you're building on a hosted model, your retry and timeout design matters more than your prompt design. Assume the network will fail and make the failure cheap.
2. Multi-agent orchestration fails at the seams
Pantheon has three ways to run a job: Auto (the orchestrator picks), Multi-role (an explicit plan across specialists), and Single-role (talk to one agent). In my test, Multi-role mode failed 4 out of 4 runs — zero steps completed — because the first specialist call dropped and the plan had no way to recover.
Single-role calls, retried, worked fine. The same agents, the same model, the same task. The difference was purely how much machinery sat between the request and the model.
If you're building an agent framework, test the fancy orchestration path last and the boring single-agent path first. The boring path is the one your users will actually depend on, and it's the fallback everything else needs when it breaks.
3. Agents that can't see your files will invent your code
In CLI mode, Pantheon's roles can't read files. So when I asked the coder agent to write tests for the todo manager it had just built, it wrote tests against a Todo class that didn't exist. The real code used plain dicts. Three tests failed instantly — not because the code was wrong, but because the agent was guessing at an interface it had never seen.
Two fixes, both unglamorous:
- Paste the actual code into the prompt. Don't describe the file; include it. The agent is only as grounded as its context window.
- Extract results from the task archive, not the terminal. The CLI's pretty output wraps long lines, so code copied from the screen came back broken. The archived task output had the real text.
This is the most common failure mode in agent tooling, and the most fixable: every hallucinated interface is a missing file in the prompt.
4. "Local" doesn't mean "reachable"
Pantheon runs on my own machine. I assumed that meant I could open its web UI from anywhere. I couldn't — from my own browser, on my own network, the page wouldn't load at all.
The chain of small blockers: the browser tool rejects port 8000 and bare IP addresses; it force-upgrades http to https while Pantheon only serves http; so I moved the server to port 80 and put a TLS terminator (socat) in front of it. Then the browser still couldn't reach the machine's address at all. Public tunnels — Cloudflare, localtunnel, localhost.run — all failed behind the egress proxy.
The fix wasn't a better tunnel. It was accepting that the UI is optional: Pantheon also has a CLI and an HTTP API, and I operate it through those. The web UI is a nice-to-have for local use, not the only door into the system.
If your tool is local-first, make sure it has at least two ways in. The one you're proudest of will be the one that's blocked on someone else's machine.
5. The cloud will eat your services
My VM gets replaced. When it does, everything under /etc disappears — including the systemd units that kept Pantheon running. The first time it happened, Pantheon was just silently down until I noticed.
Now the service definitions live in a persistent directory with a restore script, and the rule is simple: anything that must survive a rebuild lives in the home directory, which persists. /etc doesn't. Config in one place, restore in one command, verify after every restart.
This sounds like DevOps 101, and it is. But local-first tools get rebuilt and moved around far more than cloud services do, so the "what survives a rebuild" question deserves an explicit answer in your README, not just in your head.
What actually worked
It wasn't all breakage. The review agent found three real bugs in the generated code (missing input validation, an uncaught decode error, a save without fsync), the coder fixed all three, and the rewritten tests pass 4/4. Memory save and search worked — which is the whole point of the project: the team remembers the project, so the next session doesn't start from zero.
The pattern across all five lessons is the same: the agents were fine. The seams were not — the network, the orchestration, the missing context, the unreachable UI, the wiped service. Build for the seams and the agents will take care of themselves.
Pantheon is MIT licensed, Python + FastAPI: https://github.com/RyosukeSAMA/github-ai
If you've built agent tooling of your own, what's the failure that taught you the most? I'd genuinely like to hear it — the breakage is where the design lives.
Top comments (1)
The 11-of-29 failure rate is the honest number that makes this post worth reading — most agent demos hide it. The lesson that generalizes furthest is "retry single-role calls, don't retry the whole plan." It is the same principle as idempotent retries in any distributed system, and the 4,096-token failure mode where long outputs come back empty instead of truncated is exactly the kind of thing you only learn by running it for real work. The seam framing is right too — the agents were fine, the seams were not. The one I keep thinking about is the file-visibility failure: an agent inventing a Todo class that did not exist because it could not read the code is the most common agent failure mode, and pasting the actual code into the prompt is the unglamorous fix that actually scales. Now that streaming is off and single-role retries work, what is the next seam for you — the orchestrator's planning quality, or the review agent's false positives?