project-atlas
v0.1.4
Published
Project Atlas is a Git-first project knowledge base CLI for AI coding agents and reviewers.
Downloads
772
Maintainers
Readme
Project Atlas
Stop re-reading the whole repo. Start shipping with governed project knowledge.
Project Atlas is a Git-first project knowledge base CLI for engineering teams and AI coding agents. It keeps durable knowledge under knowledge/, turns updates into reviewable proposals, and requires a human terminal confirmation before any real write.
AI tools often re-read too much source, miss stable project facts, and leave teams with chat-only context. Project Atlas fixes that with governed repository knowledge, proposal-based updates, and a strict manual apply boundary.
Quick Start
Try the repository build:
npm install
npm run build
PROJECT_ATLAS_REPO="$PWD"
DEMO_REPO=/tmp/project-atlas-demo
mkdir -p "$DEMO_REPO"
cd "$DEMO_REPO"
git init
printf '# Demo Project\n\nThis repo demonstrates project-atlas.\n' > README.md
cat > updates.json <<'JSON'
{
"source_files": ["README.md"],
"updates": [
{
"target": "knowledge/project/overview.md",
"content": "# Project Overview\n\nThis demo repository is used to verify Project Atlas.\n"
}
]
}
JSON
node "$PROJECT_ATLAS_REPO/dist/index.js" init --repo "$DEMO_REPO" --template generic-service
node "$PROJECT_ATLAS_REPO/dist/index.js" context --repo "$DEMO_REPO" --query demo --budget 8000 --format json
node "$PROJECT_ATLAS_REPO/dist/index.js" propose --repo "$DEMO_REPO" --updates-file updates.json --reason "demo update"
node "$PROJECT_ATLAS_REPO/dist/index.js" review-summary --repo "$DEMO_REPO"After npm publish, install the package and use the stable commands:
npm install -g project-atlas
project-atlas --help
project-atlas-mcp --helpOne short flow gets you from repository setup to governed context and reviewable knowledge updates.
Why Project Atlas
Project Atlas is built for teams that want AI agents to reuse trusted project context instead of re-reading the entire repository on every task.
It helps teams:
- store stable project knowledge in Git
- keep knowledge tied to source files and hashes
- review knowledge changes before they land
- keep agent access read-oriented by default
- capture durable project memory without turning chat logs into source of truth
How It Works
- npm package:
project-atlas - CLI command:
project-atlas - Local stdio MCP server:
project-atlas-mcp - Shared project knowledge directory:
knowledge/ - Local proposal evidence directory:
.project-atlas/proposals/
The common sequence is simple:
- run
initto create the knowledge base skeleton - run
contextto read governed project context - run
proposeorrememberto create reviewable updates - run
review-summarybefore approval - let a human run
applyin a terminal
Project Atlas is not a hosted service and not a write-enabled agent plugin. It is a repository-native governance layer for project knowledge.
Core Safety Boundary
Agents may read context, inspect knowledge health, and create proposals.
Agents must not apply proposals.
Real writes still require a human terminal confirmation:
project-atlas apply --repo /path/to/repo --proposal-id <id> --confirmThe MCP server exposes safe tools only. There is no MCP apply tool.
Documentation
Choose a starting path:
- Try it now: English Quick Start or 中文快速开始
- Use it in OpenCode: English OpenCode guide or 中文 OpenCode 使用文档
- Integrate an agent: English Agent Quickstart or 中文 Agent 快速接入
- Publish this repo: English release notes or 中文发布指南
Full documentation indexes:
- English: docs/site/en/README.md
- 中文: docs/site/README.md
Adapters And MCP
Project Atlas ships a local stdio MCP server and example adapters for agent tooling.
- MCP server command:
project-atlas-mcp - Example adapters:
adapters/claude-code/,adapters/cursor/,adapters/continue/,adapters/opencode/
Use adapters for safe read and proposal workflows. Keep final apply in a human terminal session.
Contributing And Security
- Contribution guide: CONTRIBUTING.md
- Security policy: SECURITY.md
- Changelog: CHANGELOG.md
