TokenRhythm/opensquilla

OpenSquilla — Token-Efficient AI Agent with same budget, higher intelligence density

OpenSquilla – Token‑Efficient AI Agent

What it is – OpenSquilla is a locally‑run, microkernel‑style AI agent that routes each interaction (a turn) to the cheapest LLM that can handle the request. It combines a lightweight on‑device model router (SquillaRouter), persistent memory, a sandboxed tool layer, web‑search, and on‑device embeddings, all wrapped in a single turn loop. The same loop powers a desktop GUI, a CLI, and various chat‑channel integrations.

Key capabilities

  • Token‑efficient routing – an on‑device router selects the most cost‑effective provider (TokenRhythm, OpenRouter, OpenAI, Anthropic, Ollama, Gemini, Qwen, etc.) for each turn.
  • Unified entry points – CLI, Electron‑based desktop app, and chat channel bots all share identical tool dispatch, retry logic, and logging.
  • Pluggable provider layer – 20+ LLM back‑ends are supported without code changes.
  • Built‑in tools – persistent memory, sandboxed execution, web search, and local embeddings.
  • Extensible channels – out‑of‑the‑box support for Feishu, Telegram, DingTalk, QQ, WeCom, Slack, Discord; optional Matrix and Matrix‑E2E extras.
  • Privacy‑aware telemetry – optional network reporting with a single hard‑off switch.

Installation options

Path Who it’s for How to install
Desktop installers (macOS ARM, Windows x64) Users who want a ready‑to‑run GUI Download the .dmg or .exe from the GitHub release page and drag/run.
Quick terminal install End‑users on any OS who prefer a single command uv tool install --python 3.12 "opensquilla[recommended] @ https://github.com/TokenRhythm/opensquilla/releases/download/v0.5.6/opensquilla-0.5.6-py3-none-any.whl"
Install from source Users who want the latest main or to inspect the code Clone with Git LFS, run scripts/install_source.sh (or the PowerShell variant).
Develop from source Contributors Use uv sync --extra recommended --extra dev and run commands via uv run.

Typical workflow

  1. Run the onboarding wizard: opensquilla onboard (sets up config and secrets).
  2. Start the gateway: opensquilla gateway run.
  3. Interact via the CLI (opensquilla chat), the desktop UI, or a connected chat channel.

Maturity – The project is at version 0.5.6 (stable) with CI testing, signed Windows binaries, and a technical report published on arXiv and aiXiv (2026). It provides production‑ready installers and a documented uninstall process.

License – Apache 2.0.

Citation – If you reference OpenSquilla, cite the technical report:

OpenSquilla: Token‑Efficient AI Agent, TokenRhythm, 2026.
arXiv:2607.11399 (Agentic Routing: The Harness‑Native Data Flywheel)

Where to learn more – Full product guide (README.product.md), API docs (docs/), and privacy policy (PRIVACY.md).

Related

  • Project
  • Project
  • Project
  • Project
  • Project