Orchesis sits between your agents and the LLM API, telling you what's going wrong before it costs you money.
Orchesis is an open-source HTTP proxy that sits between OpenClaw agents and LLM APIs to detect loops, prompt injection, and cost anomalies in real time — based on analysis of 3,400+ OpenClaw GitHub issues.
122 calls · loopDetection ON · zero alerts · Orchesis: call #3
Each story has a public issue number. Each number is verifiable.
No code changes in your agents. No API key changes. One line in your OpenClaw config.
Proxy starts on port 8080. Nothing changes in your agents until you update the config.
Add to your OpenClaw config. Restart the gateway. Your agents route through Orchesis automatically.
Orchesis reads every request your agents make without touching your code or API keys.
When something goes wrong: Telegram alert, one diagnosis, one action.
They're architectural constraints. We proved three of them.
An SDK inside a single agent sees one conversation from inside. Fleet-level metrics require data from all agents simultaneously. Getting that data costs O(n) reports plus O(n) queries per update. For pairwise comparisons: O(n²).
What this means: A proxy already sees every agent's traffic as a side effect of routing. Zero additional calls. The same data that would require constant polling from an SDK is always present in the proxy's view.
If a prompt injection modifies an agent's context, the agent's own security checks run inside that modified context. It's checking itself with corrupted instructions. An external observer compares behavior against the fleet baseline.
What this means: Issue #28191 ran 43,175 iterations with nothing reported. The gateway saw activity. Orchesis saw the pattern of activity and spotted the deviation before the crash.
When something goes wrong, an SDK watching one agent sees one slice of the story. It sees "I called X and got error Y." It doesn't see that another agent triggered the failure 30 seconds earlier.
What this means: Issue #26322: 18 agents, one OAuth profile. Agent A refreshed the token. Agent B used the stale one, got 401, fell back to Opus at $0.186/turn. That's $636/month from one architectural decision. Orchesis sees both streams and identifies the cross-agent cause.
Before your first real session, run one command. It checks your OpenClaw config for known issues.
30 seconds. Shows what's wrong. Shows how to fix it.