← Thu, Nov 12 digest

Show HN: AgentRun – open-source, Self-improving Managed Agents

read article ↗ hn thread ↗

AgentRun is an open-source platform that adds self-improvement, durable execution, and a unified control plane to popular AI agent harnesses to reduce token costs.

summary is enough The detailed README provides a clear overview of the architecture and self-improvement loop, making it quick to evaluate for agent orchestration.

summary

AgentRun is an open-source control plane and durable execution platform designed to sit on top of AI agent harnesses like Claude Code and pi. It addresses recurring token costs by letting agents learn from past runs, committing notes, skills, and deterministic workflows to a git repository. The platform supports multiple sandbox environments, offering spend caps, manual approvals, and a unified state store. Transitioning repetitive tasks from expensive frontier models to learned workflows significantly cuts operational expenses.

key points

  1. Supports multiple agent harnesses including Claude Code, Codex, OpenCode, and pi across various sandboxed computing environments.
  2. Implements an automated self-improvement loop where successful runs propose notes, reusable skills, and deterministic workflows committed via git.
  3. Provides operational controls such as spend caps, tool-level approval gates, and a centralized SQLite or Postgres state store.

who should read it

Backend engineers and developers building production AI agent pipelines who want to reduce token waste and improve reliability.

discussion positive

consensus

Commenters appreciate the self-improvement and workflow distillation approach for cutting high agent expenses, though harness subscription limits remain a hurdle.

pushback

One commenter questions whether spend caps correctly cover compute used in detached background processes spawned during a run.

best comment by miguelrios ↗

Yes here is an article about it but I’ll will explain the tldr below. https://agentrun.ai/blog/agentrun-a-harness-for-repetitive-k...

The core concept is to have a frontier or very smart model run as an agent first for N times. The model get tools, skills etc and instructions. It does the job. At the end it leaves a note (like a retro) explaining what it did and what it could have done better.

As the agent runs, it also writes workflows to do the parts of the job it knows it can do in a more deterministic way (based on previous nodes and thinking traces of other runs etc). We made a dsl for …

The author explains how frontier models transition repetitive tasks into cheap, deterministic DSL workflows over multiple iterations.

Generated by an LLM from the article and thread. Check the sources before relying on it.