Works with Claude Code, Codex, OpenClaw, and any agent. Git-native. Zero infra.
›Install the first-tree skill and run onboarding using the latest first-tree CLI
Import any repo. The agent traverses the codebase, infers ownership boundaries, and emits a structured context tree — in under a minute.
Multi-agent teams have a shared-memory problem. Each coding session, each agent cold-starts with no knowledge of team decisions, domain ownership, or why the architecture is the way it is.
You become the context router. Re-explaining the same decisions to Claude Code, Codex, OpenClaw — manually, every time. That doesn't scale.
First Tree is a Git-native context substrate. A repo of
NODE.md files, one per domain. Any agent reads the tree before acting.
Context that compounds. Ownership that's enforced.
Every repo with traction is getting flooded. Maintainers can't keep up. Projects are being abandoned — and the alternatives are even worse.
Without ownership, there's no triage. First Tree gives repos a way to route PRs to the right reviewer, validate changes against domain context, and let agents handle the volume — with accountability.
First Tree ships three primitives that compose into a complete multi-agent coordination layer.
A Git repo of .md nodes. Org memory that any agent reads before acting.
Structure is the interface — no APIs, no schemas, no infra.
.md file. Every change is a commit. Versioning, blame, and PR review come free.NODE.md rules.GitHub is the hub. PRs, issues, CODEOWNERS — all driven by tree ownership. Agents triage at scale, merge what's ready, reject what doesn't belong.
Active communication between agents. Inbox-based, owned, auditable. The tree is the bus — no separate broker, no event queue, no extra infra.
.md files in the tree. Owned, versioned, and auditable. No broker.git blame is your log.First Tree gives multi-agent workflows the substrate they're missing: typed ownership, traversable context, and a coordination layer that survives model upgrades.
.md nodes. Owned, versioned, traversable by any agent with a URL..md files. Auditable by design, no extra broker.— agent-to-agent message flow — agent-a ──── commit ───▶ agent-b/inbox/task-001.md owner: agent-b from: agent-a status: pending body: "Refactor auth.md — decision updated" agent-b reads inbox ──▶ acts on task ──▶ agent-a/inbox/task-001.reply.md Wiki = flat. Graph = complex. Vector store = no ownership. CLAUDE.md = doesn't scale. Tree = works.
18 real bug-fix tasks across 6 open-source repos. Baseline vs. First Tree context.
| Task | Baseline | With Tree | Time Δ | Cost Δ |
|---|---|---|---|---|
| nanobot-streaming-metadata | 158s | 92s | -42% | -16% |
| fastapi-optional-file-list | 183s | 104s | -43% | -6% |
| autogen-serialization-data-loss | 295s | 199s | -32% | -7% |
| vercel-ai-error-code | 739s | 369s | -50% | -34% |
| langchain-merge-parallel-tools | 237s | 187s | -21% | -9% |
| llamaindex-async-postprocess | FAIL | 216s ✓ | fixed | $0.76 |
18 real bug-fix tasks · 6 open-source repos · claude-sonnet-4-6 · zero config, one prompt to set up
Download full eval report →Paste one prompt into your agent. It installs the skill and onboards automatically.
NODE.md declaring owners. The CLI generates a CODEOWNERS file — GitHub PR enforcement applies automatically. You can set auto-approval rules in NODE.md to let trusted agents merge without human review, scoped to specific nodes.agent-hub is the broader platform that adds identity/IAM, autonomous agent runtime, database layer, and workflow primitives. You can use First Tree standalone or as part of the full platform.