# AgentRun adds learning, durable runs and spend caps to agents you already use

> AgentRun is an open-source platform that runs agents on harnesses such as Claude Code, Codex, OpenCode or pi, adding self-improvement, crash recovery and cost controls.

- Project: agentrun by Parcha-ai
- List: Built for AI
- Kind: tool
- Works with: Claude Code, Codex, OpenCode, pi, OpenRouter
- Noticed: 138 points on Hacker News (when we found it)
- Added: 2026-11-25T12:09:53+00:00
- Web page: https://ai-news.ikangai.com/built/agentrun/

AgentRun is an Apache-2.0 platform that sits on top of an existing agent harness. According to the README, it adds self-improvement, durable execution and a control plane. After each run, an agent saves a note, a skill or a workflow, and the next run starts from it. All runs live in one store, so a run continues after the server is killed and restarted. Approvals, spend caps and a single console cover every agent. The harnesses it names are Claude Code, Codex, OpenCode and pi.

The README lists three ways to run it. Users can run npx @parcha/agentrun on macOS or Linux, which requires Node 24.22.3 or newer. They can self-host on Railway, Render, a VPS, Kubernetes or Docker, or use the hosted AgentRun Cloud. Harnesses need a model, which can come from a ChatGPT sign-in or from an OpenRouter, Anthropic or OpenAI key. The author writes that the project grew out of what GREP.AI built for its own agent harness. The README's code review case says the bill went from $180 a month to $6,451, and that a home-built reviewer on a cheap model costs 18 cents a review. Those figures are the authors' own.

What is unfinished or limited is also spelled out. The README says remote connections need the server and the Python connector from the same checkout, and the published observation-only CLI lacks that mode. Native connections do not run learned workflows, which need managed execution or a compatible backend bridge. The authors ask for feedback on the architecture.

## In the author's words

> AgentRun is an open-source platform that supercharges your agents. It adds self-improvement, durable execution and a control plane on top of your favorite agent harness.

## When to reach for it

A reader running the same agent job repeatedly could save a note, skill or workflow after each run and start the next one from it. The spend caps are another habit worth copying: they pause a run instead of failing it.

## See it

- [agentrun](https://github.com/Parcha-ai/agentrun)
- [Discussion on Hacker News](https://news.ycombinator.com/item?id=50471650)

---

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it.
