Portfolio
Project / AI PlatformGPL

Omni

A privacy-first, open-source AI agent platform. 9-crate Rust workspace with a Tauri + React desktop UI, WASM-sandboxed extensions via Wasmtime/WASI, multi-provider LLM orchestration with streaming, a 4-layer Guardian anti-injection security pipeline, 30+ messaging integrations, and deny-by-default capability-based permissions.

01 / Architecture

System Design

Nine crates, one workspace. A modular Rust runtime with a capability-secured extension layer.

01

Core Runtime

In-process event-driven message router. Assembles prompts with extension context and conversation history, streams LLM responses through Guardian scanning, and dispatches tool calls to the Extension Host via a broadcast event bus.

RusttokioSQLCiphertracing
02

Extension Host

Manages extension lifecycle in isolated WASM sandboxes via Wasmtime/WASI. Deny-by-default permissions with explicit capability imports. JSON-RPC IPC broker, hot-reload manifest system, and 27 native host tools.

WasmtimeWASIJSON-RPC
03

LLM Bridge

Multi-provider adapter layer with async streaming. Supports OpenAI, Anthropic, Google, Ollama, Bedrock, and custom endpoints. OS keychain credential storage with automatic rotation and provider fallback chains.

reqwestSSEtiktokenkeyring
04

Desktop Shell

Tauri v2 desktop application with a React + TypeScript frontend. Chat panel with streaming markdown, real-time action feed, permission dashboard, and extension manager. Connected to the Rust backend via type-safe Tauri commands and events.

TauriReactTypeScript
02 / Features

Under the Hood

The technical details that make Omni different from existing AI agent platforms.

WASM Sandboxing

Extensions run in isolated WebAssembly sandboxes via Wasmtime with WASI. No filesystem, network, or system access unless explicitly granted through the capability permission system. No Docker dependency required.

Guardian Anti-Injection

A novel 4-layer security pipeline that scans all LLM input and output. Signature matching, heuristic analysis, ML-based classification via ONNX Runtime, and policy enforcement. Blocks prompt injection attacks in real time.

Multi-Provider LLM

Unified adapter trait for OpenAI, Anthropic, Google, Ollama, Bedrock, and custom endpoints. Async streaming with tool call parsing, automatic credential rotation, and configurable provider fallback chains.

Capability Permissions

Every extension action passes through a deny-by-default permission manager. Scoped capabilities with per-extension policies, runtime prompts, audit logging, and a global kill switch for instant revocation.

Channel Integrations

30+ messaging platform integrations including Discord, Telegram, Slack, and Nostr. Each runs as a sandboxed extension with the channel capability, connecting external services to the agent runtime securely.

Local-First Privacy

All data stays on-device in an encrypted SQLCipher database. API keys stored in the OS keychain. Network access is an explicit, permissioned action. Every permission check and extension call is logged to a local audit trail.

03 / Stack

Technology

Languages
Rust TypeScript JavaScript SQL HTML / CSS WAT
Frameworks
Tauri 2 React Wasmtime tokio clap axum serenity teloxide
Infrastructure
SQLCipher ONNX Runtime OS Keychain WASI JSON-RPC GitHub Actions