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.7.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.7.0.tar.gz | 53.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| revenant_cli-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 113.0 kB
Release files / revenant_cli-0.7.0.tar.gz
| Download URL | revenant_cli-0.7.0.tar.gz |
|---|---|
| Size | 53.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8873050f852911313c157a47c983ae2628d99ac617786cc73a63246b2d45437
|
|
BLAKE2b-256 checksum How to use checksums |
ecb79db9f033c044adb9f21d2b45e815e41cf816c4d77954bf43c617120fb40b
|
| 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.7.0-py3-none-any.whl
| Download URL | revenant_cli-0.7.0-py3-none-any.whl |
|---|---|
| Size | 59.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13cd74dfb0162d22ad2d922262027779d97133c4e7eb2822feae5e6bc5ab8818
|
|
BLAKE2b-256 checksum How to use checksums |
26a9d191004491fefa2cb05f21c829fb14e0eee6aa3518dd6f5f80adb2f49681
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|