navra

Secure MCP gateway
for AI agents

One daemon. Every tool call authenticated,
filtered, and audited. Zero trust by default.

22 crates
2400+ tests
138 Kani proofs
39/39 MCP spec

How it works

One gateway between your agent and the world

navra sits between AI agents and local resources. It aggregates built-in tool modules and upstream MCP servers behind a unified security layer.

AI Agent
navra Auth · ACLs · Safety · Hooks · Audit
Built-in Modules
Upstream MCP Servers

file · git · exec · RAG · voice · vision · GitHub · GitLab

Security

Proven, not promised

138 Kani proofs. 6 TLA+ specs. Bell-LaPadula verified.
OWASP ASI 10/10. This is not a checklist — it is a proof.

Information Flow Control

IFC labels track data sensitivity across tool calls. Bell-LaPadula no-read-up verified with Kani.

Deny-Wins ACLs

Deny rules always beat allow rules. Path canonicalization before every ACL check prevents traversal.

Content Safety

Regex + ML + NER pipeline. PII redaction, pseudonymization, and GDPR compliance tools built in.

Audit Trail

Hash-chained SQLite log. Every tool call recorded. Always on, no opt-in required.

OWASP ASI: 10/10 controls · EU AI Act Art 12+14 ready · Cedar policy engine

Capabilities

Everything an agent needs,
nothing it shouldn't have

Gateway Architecture

Security at the infrastructure layer, not the application. Orchestration belongs in the agent.

In-Process ONNX Models

Safety classifiers and embeddings run in-process on CPU. No GPU required, no external dependencies.

Multi-Agent Flows

DAG execution, handoff routing, mesh communication. Mandate validation and hop limits.

Model Hub

Pull and cache models from OCI, HuggingFace, and Ollama registries with content-addressed storage.

Hybrid RAG

FTS5 + sqlite-vec vector search with RRF fusion. Cross-encoder reranking and confidence gating.

Persona System

YAML-defined personas, directives, and heuristics woven into system prompts at runtime.

Voice + Vision

ASR, TTS, and screen understanding via ONNX models. CPU and GPU tiers.

Sandboxed Agents

Agents run in Podman containers with a shared GPU model server. Falls back to in-process.

Forge Integrations

GitHub and GitLab tools: PRs, issues, comments, MR review. Via gh and glab CLI.

Get Started

Up and running in 60 seconds

$ git clone https://github.com/smgglrs-ai/navra
$ cd navra
$ export ORT_LIB_PATH=/usr/lib64
$ export ORT_PREFER_DYNAMIC_LINK=1
$ cargo build && cargo run -- serve

# Generate an agent token
$ cargo run -- token generate --name claude
Full Documentation →

Requires: Rust 1.75+, ONNX Runtime,
Linux (systemd + D-Bus)