Getting started
Installation
SentinelLocal builds from source as a standard Rust workspace.
Prerequisites
- Rust 1.75+ — install via rustup.
- Ollama — only required for the
agent,chat, andservesubcommands. Install it from ollama.com/download; the app starts and stopsollama servefor you. You still need a tool-call-capable model pulled (the app will offer to pull a missing one):
ollama pull llama3.2 # or any tool-call-capable model Build & install
cargo build --release
./target/release/sentinel --help The deterministic scanners run with no LLM required — only the agent-driven subcommands need Ollama. See the quick start for running them.
Automatic Ollama management
You do not have to start Ollama yourself. When you run agent,
chat, or serve, SentinelLocal:
- probes the configured host for a running Ollama;
- if none is found, locates the
ollamabinary and startsollama servein the background, then waits for it to become healthy; - checks the requested model is pulled, prompting before downloading a missing one (
Pull now? [y/N]); - on exit, stops only a server it started — a pre-existing
ollama serveis left running.
The binary is located via OLLAMA_BIN, then PATH,
then the macOS app bundle. If Ollama is not installed, you get a clear install
hint and a clean exit.
Supported platforms
The current prototype runs on Linux, macOS, and Windows. Scanner parity and CI across all three platforms is on the roadmap.