GitHub radar

AgentRun: make your AI agent remember and cost less

AgentRun is an open-source layer on top of your agent (Claude Code, Codex, OpenCode or pi) that remembers what it already did and survives a crash mid-run. Once set up, the agent itself suggests what to keep, and repeat jobs get cheaper over time.

01Parcha-ai/agentrun 578JavaScript

It's a layer on top of an agent you already run: it adds memory between runs, crash recovery, and one screen that shows every run.

When it helps

Useful if you run the same job over and over — code review, company checks, ticket triage. For a one-off task there's little point: there's nothing to learn from, and you still pay for a model API key.

Pros

  • Remembers decisions between runs instead of redoing the same work
  • Picks a run back up after a server crash, instead of starting over
  • One screen shows every agent's status and cost
  • Turns a repeat job into a cheap workflow that skips the model

Cons

  • Needs its own paid model API key — that cost doesn't go away
  • Barely helps a one-off task since there's nothing to learn
  • A sandboxed shell for the agent also needs Docker running

How to set it up — step by step

  1. 1Check that your Mac or Linux machine has Node.js 22 or newer
  2. 2Send your agent the text in the block below — it will deploy AgentRun and ask you for a key
  3. 3Tell it which model key you have: Anthropic, OpenAI, or OpenRouter
  4. 4Let it apply the KYB due diligence template and start the first run
  5. 5Check the finished run's report, then open the Learning tab to see what it kept

Text for your agent

Copy this and send it to your agent — Claude Code, Codex, any of them:

Deploy AgentRun from https://github.com/Parcha-ai/agentrun — run it per the README with one command (npx @parcha/agentrun), ask me for an AI model key (Anthropic, OpenAI or OpenRouter), apply the KYB due diligence template, and show me the finished report from the first run.

Runs on a regular laptop — needs Node.js 22 or newer on macOS or Linux, no GPU required. Docker is only needed if you want to give the agent a sandboxed shell.

Open on GitHub