Skip to content
OpenSmartRoute
Documentation

Documentation

Everything you need to route well.

OpenSmartRoute routes each request to a model, agent, skill, tool or person and returns the decision with the trace that produced it. Use it as a hosted platform, as a Python package, as a self-hosted service, or through the browser extension and the desktop app. Pick the way in below; every page names the endpoint, command or setting it describes.

v2.1.0Released 2026-10-15.Release notes

Apps

The router where you already write: a card under the composer of the chat sites, and one shortcut over every application on your computer.

Hosted platform

Send requests to the routing API with an API key, or point an OpenAI client at /v1 with model "auto".

Python SDK

Install the package, describe targets in YAML and route in-process. No runtime dependencies.

Self-hosting

Run osr serve as a container or Helm release with the same /route, /feedback and /v1 endpoints, hardened with the guard, health breakers, audit and a shared state store.

Install the command line and sign in

One command; the Python SDK comes with it.

Linux, macOSbash
curl -LsSf https://opensmartroute.ai/install.sh | sh
osr login
Windowspowershell
powershell -ExecutionPolicy ByPass -c "irm https://opensmartroute.ai/install.ps1 | iex"
osr login

Already have a Python toolchain? uv tool install "opensmartroute[yaml,server]" or pip install "opensmartroute[yaml,server]" work too. osr login opens the browser and stores a workspace API key for this platform; self-hosted routers accept osr login --url http://router:8000 --token .... From TypeScript or JavaScript: npm install @opensmartroute/sdk (TypeScript SDK).

Get started

What OpenSmartRoute is and the fastest path to a first routed request - hosted or in your own code.

5 pages

Hosted platform

The routing API behind an API key: decisions with trace, the OpenAI-compatible endpoint, plans and quotas.

8 pages

Apps

The router where people write: the browser extension under the composer of the chat sites and in Google Docs, the desktop bar over every application, the editor panel in VS Code, the pane in Word.

4 pages

Python SDK

The router as a library: targets, rules, decorators, the enterprise builder and the public API.

9 pages

Self-hosting

Run the same router as a service on your own infrastructure.

1 page

Concepts

How a request becomes a decision, the mathematics behind each score and the research the modules draw on.

4 pages

Security

Threat model, hardening and how to report a vulnerability.

3 pages

Agent skills

Agent-Skills packages (SKILL.md) for coding assistants working with OpenSmartRoute; each one is also a valid routing target.

7 pages

Releases

What changed in each version, and how versions and release channels work.

2 pages