This release is a pre-release and may not be stable for production use.
atlas
Turn any codebase into a compact map your AI coding agent can read in one shot — so it stops burning tokens exploring.
Install · Use · Use it with your agent · Why it works · TroubleshootingWhen an AI coding agent works in your repo, it spends most of its effort just figuring out where things are: opening file after file to learn the layout. atlas does that once and hands the agent a single ~2,000-token map — every function signature, type, and import, ranked by importance, with no function bodies. The agent gets its bearings immediately and gets to work.
In our benchmark, agents given an atlas map answered structural questions about a codebase using ~65% fewer tokens at identical accuracy (20/20 correct with and without the map) — typically resolving in a single turn instead of three. On open-ended edit tasks the map cuts turns too, though token savings there vary by task.
What it looks like
Run atlas src --budget 600 on this repo and it prints:
# atlas: src (3740 LOC, 16 files) | budget 600 | rendered 585 tok
## cache.rs (#1 — imported by 1 file(s))
pub struct Cache
pub fn open(&Path) -> Cache
pub fn get(&mut self, &str, u64) -> Option<ParsedFile>
pub fn save(self)
pub fn content_hash(&str) -> u64
imports: parse.rs
used by: parse.rs
Files are ordered by importance (a PageRank over the import graph), #1 being the most central. Each file shows its public symbols, what it imports, and what depends on it — everything an agent needs to navigate, nothing it doesn't. The header reports the budget and the actual rendered token count.
What it maps: Python (.py, .pyi), TypeScript/JavaScript (.ts, .tsx, .js, .jsx, .mjs, .cjs, …), and Rust (.rs). It honors your .gitignore and an optional .atlasignore, and always skips hidden directories and common vendored/build folders (node_modules, target, dist, build, venv, __pycache__, vendor, …). If a file you expected isn't there, it's almost always an unsupported language or a skipped directory.
Install
pip / pipx — for the Python crowd, no Rust required:
pipx install --pre atlas-map # or: pip install --pre atlas-map
atlas is a Rust binary, not a Python package — the wheel just drops the native atlas command onto your PATH (the same way ruff and uv ship). The PyPI distribution is named atlas-map because atlas was taken; the command you run is still atlas. While atlas is in alpha the --pre flag is required.
Prebuilt binary — no Rust required (macOS & Linux):
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/fkenmar/atlas/releases/download/v0.2.1-alpha/atlas-installer.sh | sh
On Windows, grab atlas-x86_64-pc-windows-msvc.zip from the releases page. Binaries for all platforms (x64 + arm64) are attached to every release by cargo-dist.
From source — any platform, needs Rust:
git clone https://github.com/fkenmar/atlas
cd atlas
cargo install --path .
This builds atlas into ~/.cargo/bin — make sure that's on your PATH (rustup sets this up by default).
Either way, verify and take it for a spin:
atlas --version
cd path/to/your/project
atlas .
You should see a # atlas: … header followed by a list of ranked files. That's the whole tool.
Use
atlas . # map the current folder (2,048-token budget)
atlas . --budget 4096 # give it a bigger budget
atlas . --focus src/auth # rank the files you're working on higher
atlas . --lang py,rs # only these languages
atlas . --no-private # public API surface only
atlas . --format json # JSON instead of Markdown
atlas . --color always # force ANSI color (auto-detects a terminal otherwise)
When you run atlas in a terminal the Markdown map is colorized for scannability; piped or redirected output stays plain, so feeding it to an agent or a file is unaffected (--color never to disable, NO_COLOR is honored).
Shell completions: atlas --completions <bash|zsh|fish|powershell|elvish> prints a completion script — e.g. atlas --completions zsh > ~/.zfunc/_atlas.
By default atlas aims for a 2,048-token budget. When a repo doesn't fit, it degrades in steps rather than truncating: it drops private symbols (the header shows public-only), then elides parameter detail, then collapses the lowest-ranked files to a single line. Raise --budget for more detail, or use --focus to protect the paths you care about.
atlas caches parse results in a .atlas/ directory at the repo root so re-runs are fast. It self-ignores (atlas writes .atlas/.gitignore), so it won't clutter your git status.
Pipe the output straight into your agent's context, or save it to a file:
atlas . > map.md
Use it with your AI agent
atlas writes the map to stdout, so it drops into any agent's context.
Save it and reference it — works with Claude Code, Cursor, Windsurf, Copilot, or any chat:
atlas . > atlas-map.md
Then @-mention atlas-map.md in your prompt (or paste it in). Regenerate it whenever the structure changes — re-runs are warm-cached and finish in ~80 ms, so it's cheap to keep fresh.
Pipe it inline to any CLI agent:
{ echo "Repo map:"; atlas .; echo; echo "Task: add a --verbose flag"; } | your-agent
Focus the budget on what you're touching — --focus ranks those paths higher; repeat the flag for several:
atlas . --focus src/auth --focus src/api > atlas-map.md
Keep it in the repo so every contributor and agent starts oriented — commit atlas-map.md and regenerate it in a pre-commit hook or CI.
An MCP server (
atlas serve --mcp), so agents can pull a fresh map as a tool call, is on the roadmap.
Why it works
Most of an agent's token bill on an unfamiliar repo is exploration — reading files to build a mental model. A map gives it that model up front, but a naive map (dumping every file) is too big and costs more than it saves. atlas earns its keep two ways:
- Structure only. Signatures, types, and imports — never function bodies. That alone is a fraction of the source.
- Ranked and budgeted. It scores every file by how central it is to the codebase and packs the most important ones into a fixed token budget, so the map stays small enough to live in context every turn.
discover → parse → link → rank → budget → render
It reads your repo with tree-sitter, respects .gitignore (and .atlasignore), and caches parse results so re-runs are fast.
Troubleshooting
- Empty map / "0 files". atlas found no supported source under that path. Check the language is one it maps (Python, TS/JS, Rust) and that you're pointing at the project root — not a single file, and not a vendored or ignored directory.
command not found: atlas.~/.cargo/binisn't on yourPATH. Add it (rustup's installer normally does), or run the binary by its full path.- A symbol is wrong or missing. That's usually a tree-sitter extraction bug — please open an issue with a minimal snippet that reproduces it.
Project status
Alpha. The core works end-to-end and is benchmark-tested, but the CLI and output format may still change. See STATUS.md for the current state, CHANGELOG.md for what's landed, and docs/PRD.md for the full design.
Coming next: an MCP server so agents can query the map directly (atlas serve --mcp), and an API-surface diff between revisions (atlas diff HEAD~5).
Contributing
Conventions and workflow live in CONTRIBUTING.md and CLAUDE.md; architecture decisions in docs/adr/. To build and test:
cargo build && cargo test
Metadata
Release files for atlas-map 0.2.1a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| atlas_map-0.2.1a0.tar.gz | 75.3 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| atlas_map-0.2.1a0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| atlas_map-0.2.1a0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| atlas_map-0.2.1a0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| atlas_map-0.2.1a0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| atlas_map-0.2.1a0-py3-none-macosx_10_12_x86_64.whl | Python 3 | none | macOS 10.12+ x86-64 | Details |
Total release size: 13.7 MB
Release files / atlas_map-0.2.1a0.tar.gz
| Download URL | atlas_map-0.2.1a0.tar.gz |
|---|---|
| Size | 75.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70d58e2fd7776ccfb9d19cb60c59f28990812b8f40df772875020cae30ea9135
|
|
BLAKE2b-256 checksum How to use checksums |
26e84c97ef31f92282028a4657f9b35e67b3e58b618f63c5f521a90bcad07e65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2026.
Transparency logRelease files / atlas_map-0.2.1a0-py3-none-win_amd64.whl
| Download URL | atlas_map-0.2.1a0-py3-none-win_amd64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a2e0514a0b30bbe4ea733b13885ce9da5a743f5833a5ba9cc050d122cf41596b
|
|
BLAKE2b-256 checksum How to use checksums |
a800f7bb31194f289063796e0c9bbcd2d80c67a9a8f889c9556e41822abe6161
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2026.
Transparency logRelease files / atlas_map-0.2.1a0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | atlas_map-0.2.1a0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
857ca7ad5bf553cfb0302ee4d6dbfed75a1a9467e361eb81c55212ee73dfbfa8
|
|
BLAKE2b-256 checksum How to use checksums |
ab03b4db168cab932a3873eb26a170458d476e68d6872f64e371ee887f97a827
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2026.
Transparency logRelease files / atlas_map-0.2.1a0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | atlas_map-0.2.1a0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
4734059e03ae288791284541c8d32b9e6af7e188482a5fbb30ca5ee07fbdfa47
|
|
BLAKE2b-256 checksum How to use checksums |
8dde0b27fc5f79445be87023bedce9e3b144b51f8467eb0177dd71504e7c3510
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2026.
Transparency logRelease files / atlas_map-0.2.1a0-py3-none-macosx_11_0_arm64.whl
| Download URL | atlas_map-0.2.1a0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
70ec43efd43deb300c949d69ffe5067b3aaaf045b9f53d3b0ff04b6d97109fdf
|
|
BLAKE2b-256 checksum How to use checksums |
e3fae1333f4bcbf13bd8d3fda6ddfe8a01ddaba7f108381cd127c18d3db197a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2026.
Transparency logRelease files / atlas_map-0.2.1a0-py3-none-macosx_10_12_x86_64.whl
| Download URL | atlas_map-0.2.1a0-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
30cb8b8266769e78c0994a4a6ee5841466196be0a4cc94ef8e29f6ca4b8ecc53
|
|
BLAKE2b-256 checksum How to use checksums |
eaf88184a4aaf87d604b24ae572165bbef08e5d72b4159b5a3f5145274048368
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2026.
Transparency log