Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

747 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProjectAtlas

ProjectAtlas mascot Ani holding a repository map labeled src, docs, tests, and issues

Rust-native, high-performance local repository intelligence for coding agents and large codebases.
A persistent SQLite map guides Codex, Claude Code, OpenCode, and other MCP-capable agents to the right code before they spend context reading the wrong files.

CI release rust license

About

ProjectAtlas is a native Rust CLI and MCP server that keeps a project-local map of folders, files, reviewed purposes, deterministic summaries, symbols, graph relationships, searchable text, health findings, and token telemetry. .gitignore-aware scanning, BLAKE3 hashing, SQLite storage, filesystem watching, and compact TOON output keep repeated repository orientation local and fast.

The map is deliberately agent-first: purposes identify the responsible area, graph relationships reveal connected code, compact summaries and outlines explain the selected files, and exact source slices provide the final evidence. Agents narrow before they read broadly.

No required .purpose files. No source-header tax. No hosted index or credentials. Project state lives beside the repository in .projectatlas/.

Install

Point your agent to the ProjectAtlas GitHub repository and ask it to install the latest version of ProjectAtlas.

The Codex plugin is the recommended path:

codex plugin marketplace add styler-ai/ProjectAtlas --ref v0.4.2
codex plugin add projectatlas --marketplace projectatlas

Then tell Codex: “Use ProjectAtlas for this repo.”

Route When to use it
Codex plugin Recommended agent setup; supplies the version-matched skill, native runtime installer, and MCP templates.
Native release Install a verified prebuilt binary without Rust/Cargo.
Cargo cargo install --git https://github.com/styler-ai/ProjectAtlas --tag v0.4.2 projectatlas-cli --locked
Claude Code / OpenCode Run the native installer, then projectatlas init; it writes their version-matched project-local MCP configs.

Initialize each repository once:

projectatlas init

That creates the project-local database, performs the initial index, and writes version-matched host configs. See installation, upgrades, and runtime repair for stale plugin caches, PATH conflicts, generated Claude Code/OpenCode configs, and manual installer commands.

See The Atlas

projectatlas token --view tui

ProjectAtlas token-impact TUI showing estimated tokens avoided, file reads avoided, measured and modeled navigation work, savings composition, source rows, and a bounded Atlas map

Compare the live dashboard with the versioned TUI design reference.

The TUI is a local snapshot, not provider billing data. It combines the reconciled token estimate, observed and modeled navigation work, source attribution, calibration status, and—at wide terminal sizes—a bounded live map from resolved repository relations. Rerun the command to refresh it; use --theme light for light terminals or --theme terminal to preserve the terminal background.

Read the token methodology or the TUI and agent-integration guide for the detailed accounting and theme controls.

How Agents Use It

  1. Bind the intended project and refresh only when the index may be stale.
  2. Start with one atlas_session_brief using compact: true.
  3. Follow its returned summary, search, relation, health, or exact-slice call.
  4. Continue from returned selectors instead of repeating discovery.
  5. Open the smallest exact source slice needed for the answer.

atlas_overviewatlas_foldersatlas_files remains the fallback when broader repository shape is itself the task. Continuous watch or bounded watch --once keeps active work fresh.

The complete agent and MCP workflow owns tool routing, project isolation, generated host configuration, cancellation, and runtime repair. The workflow guide covers human CLI use.

What Agents Get

Need ProjectAtlas surface
Task-oriented startup Project identity, index state, ranked candidates, blockers, and one ready next call
Responsibility Reviewed folder/file purposes before broad source reads
Connections Symbols and resolved graph relationships with bounded selectors
Exact evidence Current summaries, outlines, searches, and source slices
Freshness .gitignore-aware scan plus incremental watcher refresh
Maintenance Purpose queues, health findings, lint, and project-local configuration
Human overview The token-impact TUI and bounded Atlas map shown above

See the CLI/MCP capability guide, configuration reference, and generated language and relation support inventories.

One Large-Application Audit

The chart and table below describe one representative audit, not a universal savings constant. The default local estimator is ceil(chars_or_bytes / 4) and is separate from provider billing. ProjectAtlas reports measured source compression separately from modeled navigation narrowing and preserves a more conservative tokens_avoided headline alongside this legacy gross comparison.

One large-application audit: 221.1 million estimated tokens without ProjectAtlas and 0.4 million with ProjectAtlas across 142 calls

Audit signal Result
Repository shape 679 files · 206 folders
Indexed intelligence 5,145 symbols · 12,122 relations
ProjectAtlas lookups 142
Average baseline avoided per lookup 1,557,144 estimated tokens
Average ProjectAtlas payload 2,997 estimated tokens
Estimated without / with ProjectAtlas 221,114,448 / 425,622 tokens
Legacy gross estimated saved 220,688,826 tokens
Observed savings rate in this one audit 99.8%

Warm indexed CLI reads in the same audit stayed around 160–166 ms. Repository shape, hardware, database state, command bounds, and access pattern all matter; initial scan/build work is separate. The audit report owns the formulas, corpus details, command samples, caveats, and current telemetry-field meanings.

Release Quality

v0.4.2 ships through the full release matrix:

  • Rust format, check, clippy, dependency policy, tests, doctests, and rustdoc.
  • Linux x64, Windows x64, macOS x64, and macOS arm64 native packages.
  • Prepublish and postpublish packaged-runtime installer smokes.
  • Codex plugin plus Claude Code/OpenCode generated MCP-config checks.

Full benchmark campaigns are manual-only and run only when explicitly requested.

Documentation

Topic Guide
Install, agent workflow, MCP, host configs, runtime repair Agent integration
Scan, ignore, purpose, and runtime settings Configuration
Human CLI workflow Workflow
Formats and compact agent output Format
Structural summaries Structural summaries
Language and relation coverage Language support · Relation support
Token methodology and large-app audit Token-savings audit
System, database, indexing, navigation, and packaging design Architecture
Published site and Rust API docs ProjectAtlas Pages · CLI/runtime crate

License

MIT. See LICENSE.

About

Every file not opened. Every folder not explored. ProjectAtlas guides coding agents with purpose metadata and an intelligent code graph, reducing token costs by over 90%.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages