Squirrel

AI coordination

AI coordination and MCP server — tokenisation, embedding, inference routing, and context management. Gives the ecosystem its own AI layer with no Python or PyTorch.

237,743lines of Rust
7,739test functions
997files
22crates

ecoPrimals/squirrel

Tier: foundation

Capabilities

CategoryPrimitives
Inferenceai.query, ai.complete, ai.chat — multi-provider routing (OpenAI, Anthropic, Ollama, local)
MCPMulti-server coordination, tool discovery, resource management
ContextSession management, token counting, context windowing, automatic fallback
SovereignLocal inference via Ollama, zero telemetry by default, DignityGuard ethics checks

Composes Into

Full NUCLEUS, RootPulse (intelligent merge), biomeOS Neural API (ai domain)

Referenced in 20 pages