OpenSquilla is a token-efficient, microkernel AI agent that routes each prompt to the cheapest model that can actually handle it. It came out of the For You feed where a user reported running two fresh projects with fixed-model versus smart-routing setups and seeing token count rise 18.9% while cost still fell 19.2%, because what you pay depends on which tier each turn hits. Under Apache 2.0 and self-hostable, it bundles persistent memory, a layered sandbox, built-in web search, and local embeddings into a single shared turn loop.
Key Features
- Smart routing: an ML router ranks candidate models per turn, sending simple prompts to cheap tiers and complex ones up; hybrid feature analysis combines hand-crafted signals with embedding-based semantic features.
- Multi-model ensemble: hard problems dispatch to several candidates and aggregate their answers, beating any single model; cost-aware fallback skips the ensemble when one model suffices.
- Microkernel architecture: a compact core orchestrator (~100 lines) with 5-layer separation; capabilities are pluggable, and errors auto-skip and roll back.
- Persistent four-tier memory: accumulates context so an agent never starts from zero.
- Local embeddings: ONNX on-device inference (offline, data stays local) with optional OpenAI or Ollama backends.
- Wide channel reach: terminal, web, Slack, Discord, Telegram, MS Teams, Matrix, Lark, DingTalk, WeCom, and QQ from one configured agent.
- Durable scheduling: SQLite-backed sessions and a CronExpression-parsing scheduler for timed tasks.
Use Cases
Who Should Use This Tool?
- On-prem teams that need fully offline routing where data never leaves their network.
- Compliance-heavy orgs that want three-tier policies plus hashed decision logs and human approval gates.
- Budget-constrained builders who run more tasks for the same cost by letting a router pick the most cost-effective model.
- Multi-channel operators who want one agent reachable on many chat platforms at once.
Problems It Solves
- Wasteful frontier calls: expensive models on easy tasks is the single largest avoidable cost in agent stacks.
- Single-model ceiling: one model cannot cover both cheap and hard tasks well; routing and ensembling widen the cost-quality frontier.
- Data-spill risk: local routing and on-device embeddings keep sensitive work inside the perimeter.
Pricing
| Plan | Price | Notes |
|---|---|---|
| Open source | $0 | Apache 2.0, self-hostable, all core features. |
| TokenRhythm API | Usage-based | Registration opened at launch with 68 CNY in credits, invite bonuses, and a daily prize draw. |
The 60-80% token-cost-savings figure is the project's own claim, and the OpenSquilla team notes that side-by-side comparisons against OpenClaw and Hermes Agent are their own benchmarks, so treat them as directional rather than audited.
Advantages & Unique Selling Points
- Content-aware selection: unlike config-pinned fallback chains, OpenSquilla chooses per-turn based on task complexity and harness state.
- Ensemble with cost fallback: multi-model aggregation raises quality, but skips the heavy run when one model is enough.
- Self-hostable and offline: the ML router runs locally, so routing decisions can stay inside your network.
Getting Started
- Clone the repo and install from source or fetch a release package.
- Configure providers: the provider layer speaks to OpenRouter, OpenAI, Anthropic, Ollama, DeepSeek, Gemini, Qwen/DashScope, and roughly twenty others.
- Start the console: terminal (
agent), web UI, or pick a chat channel. - Turn on routing: the router decides the tier per turn; optionally enable the ensemble for hard problems.
First-party resources: the OpenSquilla website, the GitHub repository, and the feature catalog.
Frequently Asked Questions
Is OpenSquilla a model or a framework?
It is a framework/runtime. It routes to whatever models you configure; it does not train its own weights.
Can it run fully offline?
Yes. ML routing and ONNX embeddings run locally; the optional web search and hosted providers are the only parts that leave the machine.
How does it compare to OpenClaw?
OpenSquilla's own table positions itself as microkernel with ML routing versus OpenClaw's plugin ecosystem with a config-pinned primary-and-fallback chain. Those are vendor claims; test on your own tasks.
What providers are supported?
OpenRouter, OpenAI, Anthropic, Ollama, DeepSeek, Gemini, Qwen/DashScope, and about twenty others, without schema changes.
Alternatives
- LangGraph: a graph-based agent framework for explicit control flow.
- CrewAI: a role-based multi-agent framework.
- OpenCode: an agent CLI focused on coding workflows.
Tips & Best Practices
- Enable the ensemble only when needed: cost-aware fallback exists so you do not pay for aggregation every turn.
- Declare a provider budget: routing per-turn is only useful if you also set limits on the spend tiers you are willing to hit.
- Read the vendor comparisons as direction: the savings and quality deltas come from OpenSquilla's own side-by-sides.
Conclusion
OpenSquilla is for teams who already believe most turns do not need a frontier model. It packages routing, memory, sandboxing, search, and channel support into one self-hostable runtime, with an Apache 2.0 core you can inspect. If your pain is a fixed model plan burning credits on trivial questions, routing is the cheapest structural fix, and OpenSquilla makes it configurable and local.
Comments
No comments yet. Be the first to comment!
Related Tools
agentmemory
agent-memory.dev
Persistent, searchable memory for AI coding agents with 95.2% recall on LongMemEval, running locally on SQLite with MCP, hooks, and 54 tools for Claude Code, Cursor, and Codex.
Hermes Agent
hermes-agent.nousresearch.com
Self-improving open-source AI agent by Nous Research with a built-in learning loop, multi-channel gateway, and model-agnostic runtime. MIT licensed.
UI-TARS-desktop
agent-tars.com
ByteDance's open-source multimodal AI agent stack for controlling computers and browsers, with Agent TARS CLI, remote operators, and the UI-TARS-1.5 model.
Related Insights

Anthropic Subagent: The Multi-Agent Architecture Revolution
Deep dive into Anthropic multi-agent architecture design. Learn how Subagents break through context window limitations, achieve 90% performance improvements, and real-world applications in Claude Code.
Stop Cramming AI Assistants into Chat Boxes: Clawdbot Picked the Wrong Battlefield
Clawdbot is convenient, but putting it inside Slack or Discord was the wrong design choice from day one. Chat tools are not for operating tasks, and AI isn't for chatting.

Grok Bot and Hermes Bot: one person finally gets a think tank and a secretariat
Grok Bot now ships with Cursor Pro+. Hermes Bot runs on a VPS. They are not smarter chat boxes. The think tank advises, the secretariat executes, and you still make the call.