█

AI/TLDR

Buy me a coffee
Buy me a coffee

Arbor

An autonomous research agent that grows a hypothesis tree of code experiments and merges only the gains that hold up on held-out data

Autonomous Coding AgentsOpen source
Latest
v0.1.4
Updated
12 Jul 2026
Language
Python
License
Apache-2.0
$pip install arbor-agent # or: uv pip install arbor-agent

What's new

v0.1.412 Jul 2026

v0.1.4 added training-ready run traces and on-by-default capture and reuse of concrete findings from past runs, and enforced scoped boundaries in the interactive intake.

IN SHORT

What is Arbor?

Arbor is an open-source autonomous research agent from Renmin University of China's Gaoling School of Artificial Intelligence and Microsoft Research. You give it a benchmark and a goal; it proposes hypotheses, edits code, runs real experiments and keeps only the changes that survive held-out data. It sits in the Autonomous Coding Agents category of the AI Coding tools and is open-source, written in Python and licensed Apache-2.0.

Updated Markdown version ↗

Overview

Arbor is an open-source autonomous research agent from Renmin University of China's Gaoling School of Artificial Intelligence and Microsoft Research. You give it a benchmark and a goal; it proposes hypotheses, edits code, runs real experiments and keeps only the changes that survive held-out data. It is aimed at any task with a target to improve and a metric to measure — the README names model training, harness engineering and data synthesis — and it records every attempt, including the failures, in a persistent Idea Tree rather than letting them scroll out of context.

Two cooperating agents do the work. A long-lived Coordinator acts as research director: it maintains the Idea Tree and drives a six-step cycle of observe, ideate, select, dispatch, backpropagate and decide. Executors act as research engineers: each takes one idea, implements it in its own git worktree on a dedicated branch, iterates on a dev split and reports evidence. A change is merged into a per-run `trunk` branch only when it clears a configurable margin on the held-out test split, and `main` is never touched until you merge `trunk` yourself. Insights from each result are abstracted upward to ancestor nodes so later ideas start from what earlier ones learned.

Arbor's framework diagram: a Coordinator running the Observe, Ideate, Select, Dispatch Executors, Backpropagate and Decide steps around a central Hypothesis Tree of merged, running, failed and pruned idea nodes, with research tasks and inputs on the left, parallel Executors on isolated branches at the bottom, and improved artifacts and insights as outputs on the right.
The arbor cycle: the Coordinator grows the hypothesis tree while short-lived Executors test each idea on its own branch.Arbor README ↗

Arbor ships three ways in. The native `arbor` CLI (Python 3.10+, `pip install arbor-agent`) is the full runtime, with an intake conversation that produces a one-screen Research Contract, a live dashboard, checkpoint and resume, plugins and a final `REPORT.md`; it talks to Anthropic, OpenAI's Responses API or any OpenAI-compatible endpoint, including local models through Ollama or vLLM. For coding agents on a subscription plan, a keyless integration installs an Agent Skill Suite into Claude Code or Codex and exposes Arbor's tree, evaluation, merge and report tools over MCP while the host agent's own model does the reasoning. The project is built on claw-code and released under the Apache-2.0 license.

What it does

  • A persistent Idea Tree of hypotheses, results, failure modes and distilled insights that propagate up to ancestor nodes
  • Coordinator and Executor agents running a six-step cycle: observe, ideate, select, dispatch, backpropagate, decide
  • Experiment discipline: each Executor works in an isolated git worktree, iterates on a dev split, and merges only gains that clear a margin on the held-out test split
  • Keyless literature search over the alphaXiv API, with `arbor idea-check` for novelty and prior-art checks on an idea before compute is spent
  • Four interaction modes from fully autonomous `auto` to `collaborative`, plus run commands such as `/tree`, `/evidence`, `/pause` and `/report`
  • Runs as a native CLI with a live dashboard and read-only web monitor, or inside Claude Code and Codex as a skill suite backed by an MCP server

Getting started

Arbor needs Python 3.10 or newer and Git; a virtual environment is recommended. The literature-search backend is bundled only on Python 3.12 and above.

Install the CLI

`pipx install arbor-agent` works too if you want `arbor` available globally. `arbor doctor` checks PATH, git and API keys.

bashbash
pip install arbor-agent   # or: uv pip install arbor-agent
arbor doctor

Watch a recorded run first

Replays a bundled sample run in the live dashboard with no API key or config. Add `--html` to write a self-contained interactive page instead.

bashbash
arbor replay --demo
A frame from Arbor's demo: an Idea Tree for a BrowseComp task with three branches — constraint verify, multi-rollout and search-augmented — where two multi-rollout children are marked merged and the other leaves are marked pruned, above the line "Branch every idea — keep what works, prune what fails."
A frame from Arbor's demo run: ideas branch, the winners merge and the rest are pruned.Arbor repository ↗

Connect a model

`quickstart` gets you running with a free Gemini or Groq key or a local Ollama model; `setup` runs the full provider, model, base_url and key flow. Both write `~/.arbor/config.yaml`.

bashbash
arbor quickstart
# or
arbor setup

Prepare a benchmark

The target directory needs a runnable evaluation script, evaluation data (ideally a dev split and a held-out test split) and a clean git repository. Project settings go in a `research_config.yaml`.

yamlyaml
task: >
  Optimize the agent's accuracy on the benchmark.
  Do NOT modify the evaluation harness or data files.

coordinator:
  max_cycles: 10
  max_depth: 2
  merge_threshold: 5.0
  ui:
    interaction_mode: review

executor:
  max_turns: 100

Run it

Arbor opens with an intake conversation that turns your goal into a Research Contract; once you confirm it, the dashboard takes over. Verified gains land on `research/<run>/trunk` for you to merge.

bashbash
arbor --cwd ./benchmark --config research_config.yaml --max-cycles 3
# later
git merge research/run_xxx/trunk

Or run it inside Claude Code without an API key

The plugin installs the skill suite and registers `arbor mcp`; then invoke `/arbor-research-agent` in your project and describe the objective.

bashbash
claude plugin marketplace add RUC-NLPIR/Arbor
claude plugin install arbor

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Hand an agent a benchmark with an evaluation script and let it search for code changes that raise the score over many cycles
  • Tune an agent harness, training recipe or data-synthesis pipeline while guarding against overfitting with a held-out test split
  • Check whether a research idea already exists in the literature before spending compute on it
  • Run a structured research loop from a Claude Code or Codex subscription when there is no raw API key to give a separate tool

Version history

Every verified update to Arbor that AI/TLDR tracked, newest first — each links to our coverage and the official changeset.

  1. 2026-07-12v0.1.4

    v0.1.4 added training-ready run traces and on-by-default capture and reuse of concrete findings from past runs, and enforced scoped boundaries in the interactive intake.

  2. 2026-06-25v0.1.3

    v0.1.3 added a zero-config alphaXiv search backend with `idea-check` novelty review, the arbor-zoo benchmark format with `arbor benchmark verify` and `add`, a redesigned read-only dashboard and evaluation-discipline checks.

How Arbor compares

Arbor alongside other open-source autonomous coding agents tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
opencode★ 230kOpenCode is an open source AI coding agent that runs in your terminal, with built-in build and plan agents and an optional desktop app.
Claude Code★ 158kAnthropic's agentic coding tool for the terminal, IDE and GitHub: it understands your codebase, executes routine tasks, explains code and handles git workflows from natural-language commands.
Orca★ 147kOpen-source desktop workspace that runs Claude Code, Codex, OpenCode and other CLI coding agents in parallel, each in its own git worktree, with a mobile companion app.
OpenAI Codex★ 137kOpenAI's cloud and CLI coding agent that writes features, fixes bugs, and proposes code changes across a repo, running tasks in parallel.
Pi★ 125kMinimal terminal coding agent harness with four built-in tools, extended through TypeScript extensions, skills and prompt templates instead of forks.
Gemini CLI★ 109kAn open-source command-line AI agent from Google that connects your terminal to Gemini models for reading code, editing files, running shell commands, and searching the web.
autoresearch★ 101kKarpathy's minimal harness that hands a coding agent a single-GPU LLM training script and lets it run fixed five-minute experiments, keeping or discarding each change on its own.
Arbor★ 1.2kAn autonomous research agent that grows a hypothesis tree of code experiments and merges only the gains that hold up on held-out data