Skip to content

Getting Started

This guide targets the v0.3.x release line.

  • Rust toolchain
  • Node.js for docs tooling and Pyright
  • Python if you want to run the benchmark harness

Install the published CLI:

Terminal window
cargo install sephera

If you do not want to install Rust locally, download a prebuilt archive from GitHub Releases.

Binary releases are a good fit when you want a fast local install on a supported desktop target and do not need Cargo on the machine itself. cargo install sephera remains the default path when you already use the Rust toolchain.

The user-facing examples in this documentation assume sephera is installed and available on your PATH.

Run a quick LOC scan:

Terminal window
sephera loc --path .

Build a context pack:

Terminal window
sephera context --path . --focus crates/sephera_core --budget 32k

Build a review-oriented context pack from Git changes:

Terminal window
sephera context --path . --diff HEAD~1 --budget 32k

--diff is a Git-only feature. Built-in modes are working-tree, staged, and unstaged. Any other value is treated as a base ref compared against HEAD through merge-base semantics.

List configured profiles when the repository has a .sephera.toml file:

Terminal window
sephera context --path . --list-profiles

If you are working directly from the repository, you can run the CLI with Cargo:

Terminal window
cargo run -p sephera -- context --path . --focus crates/sephera_core --budget 32k
Terminal window
cargo fmt --all --check
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test --workspace
npm run pyright

Install docs dependencies:

Terminal window
npm --prefix docs install

Run the docs site locally:

Terminal window
npm run docs:dev

Build the static docs site:

Terminal window
npm run docs:build

Run the default benchmark suite:

Terminal window
python benchmarks/run.py

For methodology, dataset policy, and caveats, see Benchmarks.