Skip to main content

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for revenant-cli 0.9.1
File Size Uploaded
revenant_cli-0.9.1.tar.gz 58.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for revenant-cli 0.9.1
File Interpreter ABI Platform
revenant_cli-0.9.1-py3-none-any.whl Python 3 none any Details

Total release size: 123.5 kB

Release files / revenant_cli-0.9.1.tar.gz

Download URL revenant_cli-0.9.1.tar.gz
Size 58.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0a17c6b5c20fb86d93958a58831f9b4258dff687caabeebda7a0b71b746d377a
BLAKE2b-256 checksum
How to use checksums
711d7314e2de4f6d7eb6d2e339f215d6d213f2dae446abcdec5407e825238a09
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.1-py3-none-any.whl

Download URL revenant_cli-0.9.1-py3-none-any.whl
Size 64.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58036602bfef9261d2a41db47061c2545cd3bb9b45956a6439a7ea1b258f4e8c
BLAKE2b-256 checksum
How to use checksums
34b654515ffd5a155a5cdee5b840691bd444e2789562116dc4bdf8a24e4e3d42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.1

Release history Release notifications | RSS feed

0.9.2

2 release files

This release

0.9.1 This release

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page