Skip to main content

Revenant — a local, offline coding-agent CLI powered by your own Ollama models.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

revenant_cli-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

revenant_cli-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file revenant_cli-0.1.0.tar.gz.

File metadata

  • Download URL: revenant_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.1

File hashes

Hashes for revenant_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e1fd3ad3127a18168dbc0541746f0049475ae36be08d9236a58ab88ad08d0f36
MD5 a04e656f2d74a86600c5099ee12e59dd
BLAKE2b-256 97a8dd2e99c1fa4b82662b22a69c9274096ce033f48365993196f790dd5fab88

See more details on using hashes here.

File details

Details for the file revenant_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: revenant_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.1

File hashes

Hashes for revenant_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e238332b97b8e1e2ff123132e6996ef65a741cd3ec5ae8c63cfa4daff34f3b3b
MD5 abf7ebc703356de36927cd56ce2bc03d
BLAKE2b-256 3537e26986b5a86878679f5be0408adee4d081e9fcc5a512d1a58de17d4584fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page