Purpose and positioning
OpenSquilla is a "token-efficient microkernel AI agent," and its official slogan is "same budget, higher intelligence density." It is aimed at the CLI, Web UI, and various chat channels, with the goal of completing more tasks with fewer tokens under a given budget.
Main capabilities
- Local model routing: a local model router sends each round of requests to the cheapest model capable of handling it, thereby controlling costs while maintaining capability.
- Unified turn loop: all entry points, including the Web UI, CLI, and chat channels, go through the same turn loop, keeping tool scheduling, retries, and decision logs consistent across entry points.
- Persistent memory and layered sandbox: built-in persistent memory and layered sandbox mechanisms.
- Built-in web search and on-device embeddings: provides built-in web search and on-device embeddings.
- Multi-provider support: the pluggable provider layer can connect to 20+ LLM providers such as TokenRhythm, OpenRouter, OpenAI, Anthropic, Ollama, DeepSeek, Gemini, and Qwen/DashScope, without changing code or configuration architecture.
- SquillaRouter: OpenSquilla's on-device model router; the default recommended configuration installs it and its model assets.
- Pluggable chat channels: the base installation supports channels such as Feishu, Telegram, DingTalk, QQ, WeCom, Slack, and Discord; optional extras include the Matrix channel, the Matrix channel with end-to-end encryption, and document-extras for generating PDFs via WeasyPrint.
- Technical report: the official release includes a technical report on Agentic Routing, as well as the English and Chinese technical reports launched on 2026-08-22 (for citation, see the repository Citation).
How to use
The current stable version is OpenSquilla 0.5.6, and it runs on Windows, macOS, and Linux. The official installation paths include:
- Desktop installers: installers are provided for macOS (Apple Silicon) and Windows x64 respectively. The 0.5.6 desktop installer installs VThe ue console and gateway runtime are packaged in an Electron shell. For downloads in mainland China, an OSS direct-link alias can be used. Before upgrading, you must exit the running desktop application; when upgrading from RC3 to RC4 or a later version on Windows, you should run the new installer directly to overwrite the installation, do not uninstall RC3 first, and back up %APPDATA%\OpenSquilla in advance.
- Quick terminal installation: use uv to install OpenSquilla into an isolated environment with self-managed Python, no system Python required; suitable for published releases. After installation, run the configuration and startup commands.
- Install from source: use git clone (including Git LFS) and run scripts/install_source.sh or scripts/install_source.ps1. This script installs .[recommended] via uv tool install (including SquillaRouter, memory, and local models), and runs npm ci and npm run build in opensquilla-webui. The first run usually has the largest dependency download volume.
- Develop from source: suitable for modifying source code, running tests, or debugging; requires uv, uses uv sync to create a repository-local .venv, and runs commands with uv run. After modifying Web UI source code, you need to rerun npm run build.
Uninstall: use opensquilla uninstall, which by default keeps data and only removes the program; if you also want to delete data, you must explicitly choose to do so. Before deletion, it will first drain and stop the running gateway, and the deletion scope is limited to the OpenSquilla home directory; Docker/desktop installations will provide guided removal steps. Removal of desktop or OS-level applications still depends on the platform.
Regarding optional installation items, most channels are available under the basic installation; the Matrix channel, Matrix end-to-end encryption (requires libolm), and WeasyPrint PDF generation are extras that require explicit enablement. For installation environment variables, refer to the repository documentation; if opensquilla is not in PATH, you can use uv tool update-shell and then open a new terminal.
Applicable scenarios
- Want to improve model usage efficiency under the same budgetIndividuals or teams that reduce unnecessary high-cost model calls.
- Agent scenarios that need to use unified behavior across multiple entry points such as CLI, Web UI, and IM/chat channels.
- Users who need to connect to multiple LLM providers and do not want to change code or configuration when switching models.
- Localized deployment scenarios that need local or on-device model routing, persistent memory, and sandbox capabilities.
Limitations and Considerations
- The default recommended profile installs SquillaRouter and its model assets; the core profile omits these dependencies. There is also --router disabled, which can disable the router at runtime while retaining the dependencies.
- On Windows, the ONNX runtime bundled with SquillaRouter also requires the Visual C++ runtime; the source PowerShell installer automatically installs it via winget, while the quick terminal installation (uv tool install) does not. If a DLL load failed error appears in the startup logs, it must be installed manually; before installation is complete, OpenSquilla will continue running with direct single-model routing.
- In macOS terminal installations, SquillaRouter's LightGBM runtime may also require the system OpenMP library. The desktop application bundles the required runtime, but the quick terminal installation does not install Homebrew/system libraries. If Library not loaded: @rpath/libomp.dylib appears in the logs, you can run brew install libomp and then restart the gateway; before installation, it likewise continues running with direct single-model routing.
- A local checkout only works after the Web UI build is complete; a VCS URL checkout has no generated artifacts and will be intentionally rejected.
- Regarding privacy: OpenSquilla uses the existing Network reporting switch for the V1 statistics and the two V2 statistics streams. Reporting is enabled by default and can be disabled in privacy settings; there is no separate onboarding option or consent popup. Reliability diagnostics record bounded operational results such as application and Gateway startup, crashes, turns, tools, file parsing, updates, and session performance; product and growth analytics record client startup, product activity, as well as one-time acquisition, onboarding, app readiness, registration, and first successful turn milestones.The two data streams retain their respective session/journey identifiers, persistent queues, upload endpoints, and retention policies. Application events also carry a one-time, application-specific device_id derived from the local OS machine identifier, used for deduplicated statistics by device.