# Zenii

A local Rust AI backend that runs as one daemon so a desktop app, CLI, TUI, scripts and MCP clients all share the same memory, tools, providers and scheduler through one HTTP and WebSocket API.

Zenii solves the problem of AI tools that keep separate, per-session context by running a single local daemon that every interface talks to: a desktop app, a CLI, a terminal UI, shell scripts and MCP clients all read and write the same memory, credential store and tool registry rather than each re-implementing their own. The daemon exposes a built-in, browsable API explorer with live request testing and code-snippet generation once it is running.

One Rust library crate holds all business logic, and five thin binary crates, a daemon, CLI, TUI, desktop app and MCP server, are shell wrappers around the same gateway, SQLite database, agent loop and tool registry. Capabilities include persistent semantic memory with temporal decay and deduplication, document ingestion across formats such as PDF, DOCX, PPTX and XLSX into a knowledge graph, and 19 shared tools covering shell, file and web operations.

Website: https://zenii.sprklai.com
