Show HN, November 12, 2026: 138 points for a project that promises your coding agents will spend less on every run than on the one before. AgentRun, from Grep.ai, sits at around 1,150 GitHub stars and shipped four npm releases between November 12 and 14, from 0.4.3 to 0.4.6. The idea is easy to state and hard to get right: stop an agent from rediscovering the same API, the same docs and the same plan every single time.
What AgentRun is
It's an open source platform (Apache-2.0) that wraps the agent harness you already use, whether that's Claude Code, Codex, OpenCode or pi, and adds three layers:
- Learning: at the end of each run, the agent proposes what it would keep for next time (a note, a skill or a workflow).
- Durable execution: every run lives in a single store; kill the server mid-run and it picks up where it left off on restart.
- Control plane: approvals, spend caps and a console ("Mission Control") showing what needs you, what failed, what's running and what it cost, by day, harness and tool.
Under the hood it runs on pi, by Earendil Works, as its agent loop and durable runtime, and credits Vercel Labs' durable-harness for ideas and code. It's written in JavaScript and ships as @parcha/agentrun.
The most interesting part is how it filters what gets learned. Notes are single-fact Markdown files in Claude Code's memory format; only a run that actually finished the job can write a skill; and once a learned skill has served three runs, the next one is asked to turn it into a typed workflow that runs as a single tool call, with no agent loop. Before anything is kept, code validates each proposal and a grader model judges it. If the answer contains a secret, a hidden character or a file outside the folder, the whole thing is dropped; a rule the agent picked up from a web page or a pasted email is never kept. Whatever passes is committed to the agent's own git repository, so every note has history and can be retired.
Trying it locally
You need Node 24.22.3 or later, on macOS or Linux:
npx @parcha/agentrunThat starts the server and one runner on port 7340, keeps everything in ~/.agentrun and opens the console. From there you sign in with ChatGPT (Codex and pi run on your plan) or add a key: one OPENROUTER_API_KEY gives every harness a model, while an Anthropic key covers pi and Claude Code. With Docker running, each agent gets a sandbox with a shell; without it, agents can only read and write files.
For your own server, the README ships a Docker Compose setup with a server and two runners:
git clone https://github.com/Parcha-ai/agentrun && cd agentrun/deploy
printf 'AGENTRUN_SEAL_KEY=%s\n' "$(openssl rand -base64 32)" > .env && chmod 600 .env
docker compose up -d --build
docker compose logs serverThe project itself flags two things. Every secret (model keys, MCP credentials, sign-ins) is sealed with AGENTRUN_SEAL_KEY: lose it and you lose what it sealed. And the port is only published on loopback; put a TLS proxy in front before exposing it to anyone else. The ChatGPT sign-in is personal, too: the README says not to share it with other users of the server.
What sells me, and what doesn't
What sells me is that learning is auditable. Notes are files in git, the console shows which notes each run was given and which it opened, and anything risky waits for your sign-off. That's the opposite of an opaque memory that grows unchecked. I also like that secrets are write-only: the API token can't write one or approve a tool call, and each run gets only the keys its model and tools need.
What holds me back is maturity. It's a 0.4.x release with 46 open issues and PRs. Connecting an agent that runs on another machine currently requires the development build; the published CLI only observes. With runners on Postgres, they all still share the /data volume in this release, so horizontal scaling isn't clean yet. And reflection and grading after each run burn model tokens too. The savings only show up if your agent keeps doing similar jobs.
The case study at the top of the README comes from the authors themselves: their Greptile code review bill went from $180 to $6,451 a month, and their reviewer on a cheap model costs 18 cents per review and caught 1.6x as many real bugs across 30 PRs. That's 30 PRs from their own codebase. The useful part is that the tutorial to reproduce it on your repo lives in the same repository.
AgentRun vs durable-harness
Vercel Labs' durable-harness is the closest reference point, and AgentRun openly builds on its ideas. The difference is scope: one is a library, the other a platform.
| AgentRun | durable-harness | |
|---|---|---|
| What it is | Platform with console, API, runners and learning | Library that makes agent harnesses durable |
| Harnesses | Claude Code, Codex, OpenCode, pi | Pi, OpenCode, fx, Claude Code, Codex |
| Deployment | npx, Docker Compose, Render or their cloud | Inside your app (Next.js) on Workflow SDK |
| Cross-run learning | Yes: notes, skills and workflows in git | No |
| License | Apache-2.0 | Apache-2.0 |
| Maturity | 0.4.x, about 1,150 stars | 0.0.x, experimental, about 310 stars |
When to pick which. If you already have an app and your pain is an agent session dying mid-turn or repeating a call it shouldn't, durable-harness is lighter and lives in your code. If you have agents doing similar jobs over and over (reviews, classification, reports) and you want to see what they cost and have them improve, AgentRun covers more ground, at the price of running one more service.
Sources
- AgentRun: README, license and security — GitHub (Parcha-ai/agentrun)
- Show HN: AgentRun – open-source, Self-improving Managed Agents — Hacker News
- @parcha/agentrun on npm (0.4.6) — npm
- durable-harness README — GitHub (vercel-labs)