-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
cargo install ambitsOr build from source — Rust 1.82+ (rust-version in Cargo.toml):
cargo build --release
cargo testTwo one-time steps, both safe to re-run.
# Hand read history back automatically after every compaction
ambits hook install --project .
# Teach the agent when to check its coverage and how to fetch definitions
ambits skill install --globalhook install merges a SessionStart hook into .claude/settings.json (or
~/.claude/settings.json with --global); a settings file that cannot be
parsed is left untouched and the snippet is printed instead. See
Restoring Context.
skill install writes the skill to ~/.claude/skills/ambit/ with --global,
or to .claude/skills/ambit/ in the current project (or the one named by
--project).
Start the TUI in the project the agent is working in. It tails the session log
and — while it runs — keeps the read journal that restore-context answers
from.
ambits -p .Then, from the agent or another terminal:
ambits -p . rg 'Journal::open' # search, attributed to symbols
ambits -p . callers centered_rect # who calls this?
ambits -p . show 'src/app.rs::App/process_compaction' # read one symbol
ambits -p . restore-context # what has this session read?
ambits -p . --coverage # how much of the project is that?-p/--project is optional: without it, the project is the nearest enclosing
directory containing .git or .ambits, so ambits rg foo works from
anywhere inside a repository. PATH arguments still resolve against the
current directory, and with none the whole project is searched.
| Backend | Languages |
|---|---|
| tree-sitter (default) | Rust, Python, TypeScript, Markdown (headings as symbols) |
Serena (--serena) |
Anything Serena's language servers support |
Every text file is still searchable with rg/grep; a file no parser handles
simply has no symbols.
Start
For the agent
For you
Reference