Without shared context
- Session A Decisions disappear
- notes.md Owners repeat corrections
- Session B Each agent invents a different model
Context Tree / A First Tree product
Keep decisions, constraints, and ownership in Git. Every agent starts from the same task-relevant context.
01 / The problem
Chat history and flat files hold fragments. The Tree gives every task the same durable starting point.
Without shared context
With Context Tree
docs/decisions/auth-rate-limit.md
+ Rationale: Preserve abuse controls
+ Owner: Platform Team
+ Related: security/auth.md Less re-explaining. More continuity.
02 / The Context Loop
The agent reads the Tree, does the work, and the Review Agent validates, fixes, and updates the next shared snapshot.
03 / What it is
Every node is human-readable Markdown in Git, organized by domain, ownership, and relationships.
context-tree/
├── product/
│ ├── onboarding/
│ └── principles/NODE.md
├── system/
│ └── cloud/
├── security/
│ └── auth/
└── members/ ---
title: "Product principles"
owners: [product]
soft_links:
- system/cloud
---
## Decision
Coding agents read only the Tree nodes
relevant to the task.
## Rationale
Shared context keeps implementation and
decisions aligned across agents. 04 / Compare + adopt
Get task-relevant reads, source-backed updates, and explicit ownership in the workflow your agents already use.
| Need | Context Tree | Flat files | Wiki / RAG |
|---|---|---|---|
| Task relevance | Tree nodes for the task | Whole file | Search-ranked |
| Change control | Traceable in Git | Ad hoc | Page workflow |
| Ownership | Per-node owners | File-level | Separate permissions |
| Agent updates | Validated automatically | Manual rewrite | Ingestion dependent |
Open source
Keep Context Tree beside the repositories and agents your team already runs.
Explore on GitHubFirst Tree Cloud
Start in First Tree. Continue in your coding agent.
Start with Context Tree05 / Questions
Best for teams running multiple agents, repositories, or workflows that depend on durable decisions.
No. It gives Claude Code, Codex, and other repo-aware agents the same durable team context.
It checks source-backed updates, fixes context drift, verifies the result, and writes the next shared snapshot.
In a Git repository as plain Markdown, with metadata for ownership and cross-domain relationships.
When repeated explanations, multiple agents, or cross-repository decisions make a flat instruction file hard to trust.