Roteiro is a Rust workspace (MSRV 1.96). Download a prebuilt binary, install the lean default build from crates.io, or build from source with the feature tiers you want.
Every release from 8.0.0 on carries prebuilt binaries on its
release page,
built with every feature (--all-features) — none of which opens a socket
or runs an analyzer without your consent, exactly as in the default build.
| Platform | File |
|---|---|
| macOS 11+, Apple silicon (Intel Macs are not supported) | roteiro-<version>-macos-arm64.tar.gz |
| Windows 10+, x86_64 | roteiro-<version>-windows-x86_64.zip |
Each has a .sha256 beside it. The macOS binary is signed with a Developer ID
and notarized by Apple after 8.0.1; macOS checks it online the first time it
runs. The Windows binary is not signed, so its first run needs one step:
# macOS: unpack and put it on your PATH
tar -xzf roteiro-*-macos-arm64.tar.gz
sudo mv roteiro-*/roteiro /usr/local/bin/
# 8.0.1 and earlier are unsigned: if macOS cannot verify the developer,
# clear the download quarantine once
xattr -d com.apple.quarantine /usr/local/bin/roteiro
# Windows (PowerShell): unpack, unblock, run from the folder or add it to PATH
Expand-Archive roteiro-*-windows-x86_64.zip -DestinationPath .
Get-ChildItem roteiro-*\roteiro.exe | Unblock-File
Linux users: cargo install roteiro --locked below — the default build needs
only the C compiler Rust itself requires.
# Lean default build — pure Rust, no network call of its own,
# and `roteiro model pull` included (--locked uses the published lockfile)
cargo install roteiro --locked
# Pin a specific release
cargo install roteiro@1.1.0 --locked
# Pick the capabilities you want
cargo install roteiro --features "inference,mcp" --locked
# Everything on — MCP, serving, PDF/OCR, media generators. No C/C++ toolchain needed.
cargo install roteiro --all-features --locked
# …or build from source
git clone https://github.com/OffeneDatenmodellierung/Roteiro
cd Roteiro
cargo build --release --all-features
| Feature | Adds |
|---|---|
| (default) | Graph build, query, check, render, the roteiro model registry, and roteiro security ingest|list|prefetch|status|run — smallest binary, no C++/cmake toolchain, and no network call unless you consent to a pull or a prefetch --allow-download. |
inference | roteiro infer / duplicates with a pure-Rust hashing embedder. Still fully offline; no download. |
models (default) | The roteiro model registry: list and consent-gated pull of the OCR weights, the one model Roteiro runs in-process. |
pdf-text · image-ocr · image-vision · audio-transcribe | Ingest text from PDFs and OCR text from images during sync; describe images and transcribe audio through the provider for media build. |
exec-subprocess (default) | Runs an analyzer (semgrep, osv-scanner, cargo audit) as a child process on this host. You install the analyzer; Roteiro never does. There is no sandbox (ADR-0030), so security run refuses unless you pass --allow-unsandboxed on every run, and the run records isolation=none. Use --no-default-features --features execution for a build that provisions and ingests but cannot execute. |
serve (default) | roteiro serve: the web UI, the graph API, and an OpenAI-compatible /v1 that runs the graph tools in front of your provider. |
mcp | The MCP graph server, exposing the graph to AI agents (stdio or HTTP). |
--all-features | Every capability above at once — the largest build. Pure Rust plus ring's C; no cmake or libclang. |