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.8.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.8.0.tar.gz | 56.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| revenant_cli-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 119.3 kB
Release files / revenant_cli-0.8.0.tar.gz
| Download URL | revenant_cli-0.8.0.tar.gz |
|---|---|
| Size | 56.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82c8c4da260b9f1e39aae99ad7fcc4ae377864366b124678ba5d33e6bf645e0d
|
|
BLAKE2b-256 checksum How to use checksums |
919d2452d77f772301738568b789a191ec9a6fdf16d9ad0f512fdfa5a801c2e7
|
| 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.8.0-py3-none-any.whl
| Download URL | revenant_cli-0.8.0-py3-none-any.whl |
|---|---|
| Size | 62.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db933bad507d78742109216e28cd1fe0c345b06a45aa8167624143859cbc6941
|
|
BLAKE2b-256 checksum How to use checksums |
15eb32eda39f13f42c3da61cf0e150e3939b20081c1cc5b9713d060d0fe27077
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|