News ·
Show HN: AgentRun – open-source, Self-improving Managed Agents
AgentRun, an Apache-2.0 open-source "agent operating system", launched on Hacker News, adding self-improvement, durable execution and a control plane on top of harnesses like Claude Code, Codex, OpenCode and pi.
AgentRun is an open-source platform that wraps around your existing agent harness, adding self-improvement, durable execution and a control plane. After each run the agent keeps what helps next time—a note, a skill or a full workflow—so future runs start from that rather than re-deriving everything. Runs are stored so that killing the server mid-run allows resuming, and each agent can be given the compute it needs: a sandbox, Linux desktop, Android phone or browser.
The makers demonstrate the cost savings: their code review bill went from $180 a month to $6,451 after Greptile raised prices, so they built their own reviewer on a cheap model tuned on their own PRs. It costs 18 cents per review and, on 30 unseen PRs, caught 1.6x the real bugs Greptile did. In another example, they let Opus figure out merchant code classification, then handed what it learned to a cheap model, cutting $0.89 per merchant to $0.12.
It runs via npx @parcha/agentrun (Node 24.22.3+, macOS or Linux), serving a console on port 7340 with data in ~/.agentrun. You can sign in with ChatGPT for Codex and pi agents with no key, or add an OpenRouter, Anthropic or OpenAI key. Templates like a KYB due diligence agent are ready to run, an observe mode can watch existing agents via CLI and OpenTelemetry without a model key, and self-hosting is possible on Railway, Render, a VPS, Kubernetes or Docker.
For builders, the pitch is avoiding repeated work: agents rediscover the same APIs, docs and plans every run, and you pay for every token. AgentRun captures that learning once, adds spend caps and approvals, and handles recovery and run tracking, deployable in the cloud or on your own infrastructure under Apache-2.0.
References
- Hacker News · github.com
Read the full story at Hacker News ↗Like, save or discuss on Buzz


