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.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| revenant_cli-0.9.2.tar.gz | 60.0 kB | Without provenance | Details for revenant_cli-0.9.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| revenant_cli-0.9.2-py3-none-any.whl | Python 3 | none | any | Details for revenant_cli-0.9.2-py3-none-any.whl |
Total release size: 126.2 kB
Release files / revenant_cli-0.9.2.tar.gz
| Download URL | revenant_cli-0.9.2.tar.gz |
|---|---|
| Size | 60.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5c99650a8b50b10e3041661fb5a21f8dcf400efe15d70ace825b8ddd2c59435
|
|
BLAKE2b-256 checksum How to use checksums |
47eab9ba84ff9d64c0fd03549b65755cfec7aa05c5e34ad1b84932ec3d82a8d5
|
| 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.9.2-py3-none-any.whl
| Download URL | revenant_cli-0.9.2-py3-none-any.whl |
|---|---|
| Size | 66.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
665fd5eecc09156e23aa8ec22da5e15d66efc14c08c6e7e03d2b2279cefb2c4f
|
|
BLAKE2b-256 checksum How to use checksums |
c846eba201e315dc41023676ced183875134f66af718ef1f75b005962ef3cc4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|
Security for revenant-cli 0.9.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.