Revenant
A local, offline coding-agent CLI powered by your own Ollama models — a Claude-Code-style tool-calling loop that runs entirely on your machine. No cloud, no telemetry, no API keys.
pip install revenant-cli
This installs the revenant command.
Usage
# investigate (read-only)
revenant "summarize what the auth module does"
# make changes (each mutating action asks for approval)
revenant "add a /health route to the server"
# point at another repo, pick a model
revenant --workspace ~/proj --model qwen2.5-coder:7b "where is rate limiting handled?"
Revenant reads and searches your code (read_file, glob, grep), and — with your
approval — edits files and runs shell commands (write_file, edit_file, run_bash).
Destructive commands (rm -rf /, fork bombs, …) are hard-blocked even in --yolo mode.
Requirements
- Python 3.11+
- Ollama running with a model pulled (e.g.
ollama pull qwen2.5-coder:7b). Revenant talks to a local model server; it does not include an LLM.
A tool-capable model (the qwen2.5 family) is recommended — Revenant auto-detects native tool-calling and falls back to a prompt-based protocol for models without a tool template.
Flags
--workspace (repo root, confined) · --model · --max-steps · --max-context-tokens ·
--read-only · --yolo (auto-approve) · --no-native-tools.
License
MIT. Part of the Revenant monorepo.
Built on nerva-core (local-LLM layer) and nerva-agent (the agent engine).
Metadata
Release files for revenant-cli 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| revenant_cli-0.3.0.tar.gz | 30.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| revenant_cli-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.9 kB
Release files / revenant_cli-0.3.0.tar.gz
| Download URL | revenant_cli-0.3.0.tar.gz |
|---|---|
| Size | 30.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
520d93d8b0af4124ab95d6ad0a37a97a19050e46af556cebf56b902f501be7ab
|
|
BLAKE2b-256 checksum How to use checksums |
4bdc6ac9f3696493b9a8e7735cd09fdeef964173d43255a394560967dd39e417
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|
Release files / revenant_cli-0.3.0-py3-none-any.whl
| Download URL | revenant_cli-0.3.0-py3-none-any.whl |
|---|---|
| Size | 32.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
500e23ca4aa47180ecb495f8f1cb6acc36c195fecf01916d58075703a9aad66f
|
|
BLAKE2b-256 checksum How to use checksums |
7ffb4e25f284b95875537924643a1edca7ab6caee92cd6b8b019b744b7ab2749
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|