ORBIT # ORBIT **Open Retrieval-Based Inference Toolkit** Connect your data and tools to local or hosted models through one API. Deploy on your own infrastructure.

Quick start  ·  Documentation

GitHub stars Latest release Apache 2.0 license

⭐ Star ORBIT to save it for your next AI project and help others discover it.

## Why ORBIT An AI gateway, retrieval engine, and agent host in one Apache 2.0 project, with no gated features. | | What you get | | :--- | :--- | | **Your data, connected** | Query files, SQL, NoSQL, vector stores, and APIs through YAML-configured adapters, with hybrid retrieval and reranking. | | **Your choice of models** | Use local or hosted models through one OpenAI-compatible API, with automatic model selection and provider fallbacks. | | **Agents that take action** | Connect MCP tools, route requests to specialized skills, and coordinate agents through A2A or async messaging. | | **Beyond text chat** | Process documents and images, build voice experiences, and generate images, audio, and video. | | **Real-time decisions** | Get structured choices, yes/no answers, and scores with probabilities for routing, triage, and moderation. | | **Your infrastructure** | Self-host on-premises or in a private cloud, including air-gapped deployments with local models. | | **Security and operations built in** | SSO, role-based access, PII detection, moderation, quotas, audit logs, and cost estimates, plus an admin UI for day-to-day management. | Explore the [capability matrix](docs/ORBIT_CAPABILITY_MATRIX.md) for a detailed comparison with Open WebUI and LiteLLM. See [who ORBIT is for](docs/ORBIT_AUDIENCE_MATRIX.md) for organization types, needs, relevant features, and pilot ideas.

ORBIT control plane
ORBIT admin panel in action: resource monitoring, API keys, users, audit logs, and MCP tools
Monitor resources, manage API keys and users, review audit logs, and configure MCP tools—all in one place.


Chat with your documents and images
ORBIT multimodal agent answering questions about uploaded documents and images
Upload files and ask questions in plain language to find answers in your documents and images.


Chat with your data
ORBIT answering questions and analyzing data from connected sources
Ask questions in plain language to explore your connected data, spot trends, and uncover insights.


Real-time AI-powered decisions
Decision Car Simulation showing ORBIT-powered lane choices in an arcade driving game
Turn context into fast, structured decisions with probabilities for routing requests, triaging tickets, and moderating content.


Connect your agents to MCP tools
MCP Tool Calling
Configure MCP servers in one place, then call MCP tools from your ORBIT client.

See other examples Explore what you can build with ORBIT, from conversations over private data to voice assistants and tool-using agents. - [Talk to a municipal assistant in real time](https://github.com/user-attachments/assets/9c6530be-1116-4a14-aa82-321448ea5a8d) - [Choose AI models and configure model availability per agent](https://github.com/user-attachments/assets/17b2521c-b65a-4717-a842-074bfea9ffb7) - [Render music and play MIDI](https://github.com/user-attachments/assets/084024e7-5123-4943-8aa4-38d750332cfa) - [Query SQL data through a real-time voice conversation](https://github.com/user-attachments/assets/d1214904-267e-4295-8a0c-246dd37b7e56) - [Render Mermaid diagrams in OrbitChat](https://github.com/user-attachments/assets/b7eaf342-bfa5-40cd-8fe4-006a26693ef7) - [Chat with Elasticsearch data using an intent retriever](https://github.com/user-attachments/assets/e7fd2834-e438-4ac1-9173-0c0d56ca562b) - [Render charts in OrbitChat](https://github.com/user-attachments/assets/66a358b6-6e38-4b8c-8195-022b75f3eea5)

See something you’d build with ORBIT? Give the project a ⭐.

## Quick start
Try with Docker With Docker installed and running, use a prebuilt flavor image to try ORBIT without downloading a tarball or cloning the repo. Each image bundles the ORBIT server, OrbitChat web UI, and document chat for PDFs, Word, Excel, images, and Markdown. Choose **one** flavor: | Flavor | Image | What you need | | :--- | :--- | :--- | | **Ollama** | `schmitech/orbit-ollama:latest` | Local inference; no API key. Ollama is bundled. | | **OpenAI** | `schmitech/orbit-openai:latest` | `OPENAI_API_KEY` exported in your shell. | | **Gemini** | `schmitech/orbit-gemini:latest` | `GOOGLE_API_KEY` exported in your shell. | | **OpenRouter** | `schmitech/orbit-openrouter:latest` | `OPENROUTER_API_KEY` exported in your shell. Free models. | | **Cohere** | `schmitech/orbit-cohere:latest` | `COHERE_API_KEY` exported in your shell. | Each image is also published with a version tag (e.g. `schmitech/orbit-ollama:2.21.2`) if you want to pin to a specific release instead of `:latest`. **Ollama** ```bash docker pull schmitech/orbit-ollama:latest docker run -d --name orbit \ -p 127.0.0.1:5173:5173 -p 127.0.0.1:3000:3000 \ -v orbit-data:/orbit/data \ -v orbit-models:/orbit/models \ schmitech/orbit-ollama:latest ``` **OpenAI** ```bash docker pull schmitech/orbit-openai:latest docker run -d --name orbit \ -p 127.0.0.1:5173:5173 -p 127.0.0.1:3000:3000 \ -e OPENAI_API_KEY \ -v orbit-data:/orbit/data \ schmitech/orbit-openai:latest ``` **Gemini** ```bash docker pull schmitech/orbit-gemini:latest docker run -d --name orbit \ -p 127.0.0.1:5173:5173 -p 127.0.0.1:3000:3000 \ -e GOOGLE_API_KEY \ -v orbit-data:/orbit/data \ schmitech/orbit-gemini:latest ``` **OpenRouter** ```bash docker pull schmitech/orbit-openrouter:latest docker run -d --name orbit \ -p 127.0.0.1:5173:5173 -p 127.0.0.1:3000:3000 \ -e OPENROUTER_API_KEY \ -v orbit-data:/orbit/data \ schmitech/orbit-openrouter:latest ``` **Cohere** ```bash docker pull schmitech/orbit-cohere:latest docker run -d --name orbit \ -p 127.0.0.1:5173:5173 -p 127.0.0.1:3000:3000 \ -e COHERE_API_KEY \ -v orbit-data:/orbit/data \ schmitech/orbit-cohere:latest ``` Once startup completes, open [OrbitChat](http://localhost:5173) to chat or upload a document. The API is available at [http://localhost:3000](http://localhost:3000), with the bundled `multimodal` API key for the document-chat adapter. View startup progress with `docker logs -f orbit`. Data persists in `orbit-data`; the Ollama flavor also stores downloaded models in `orbit-models`. To sign in to the [admin dashboard](http://localhost:3000/admin), grab the one-time generated admin password from the container log (it's not baked into the image): ```bash docker logs orbit | grep -A3 "one-time admin password" ``` Log in with `admin` and that password. See the [Docker guide](docker/README.md#flavor-images-recommended-pull-and-run) for more details.
Run it locally **Prerequisites:** Python 3.12+, an internet connection for downloads, and [Ollama](https://ollama.com/) installed and running. If needed, run `ollama serve` in a separate terminal. On Windows, follow the [installation guide](install/windows.md). ```bash curl -LO https://github.com/schmitech/orbit/releases/download/v2.21.2/orbit-2.21.2.tar.gz tar -xzf orbit-2.21.2.tar.gz && cd orbit-2.21.2 ./install/setup.sh --profile default ollama pull gemma4:e2b # Required for file/multimodal adapters: ollama pull nomic-embed-text ./bin/orbit.sh start ./bin/orbit.sh status ``` Open the [admin dashboard](http://localhost:3000/admin) and sign in with `admin` / `ChangeMe!2026`. ### Send your first message For a quick smoke test, the release seed includes `default-key` mapped to the `simple-chat` adapter: ```bash curl -X POST http://localhost:3000/v1/chat \ -H 'Content-Type: application/json' \ -H 'X-API-Key: default-key' \ -H 'X-Session-ID: readme-smoke-test' \ -d '{ "messages": [ {"role": "user", "content": "Say hello in one sentence"} ], "stream": false }' ``` Continue with [your first chat](docs/tutorial/first-chat.md) to create an API key, or use the [Docker quick start](docker/README.md#flavor-images-recommended-pull-and-run) for containers.
Configure models and data sources The default setup uses Ollama with the `gemma4-e2b-cpu` preset, which resolves to `gemma4:e2b`. - **Server settings:** [`config/config.yaml`](config/config.yaml). - **Providers:** Enable a provider in [`config/inference.yaml`](config/inference.yaml), set its credential in `.env`, and select it globally or per adapter. - **Ollama presets:** [`config/ollama.yaml`](config/ollama.yaml). - **Data and tools:** Configure adapters in [`config/adapters.yaml`](config/adapters.yaml) and [`config/adapters/`](config/adapters/). Start with the [adapter guide](docs/adapters/adapters.md) or [intent templates](examples/intent-templates/). See [Before you start](docs/tutorial/before-you-start.md) for installation checks, file retrieval setup, and API-key management.
Chat from a terminal or browser Use [orbit-cli](clients/orbit-cli/) from a terminal (Node.js 20+): ```bash npm install -g @schmitech/orbit-cli@latest orbit-chat --url http://localhost:3000 --key default-key ``` Or launch [OrbitChat](clients/orbitchat/) in your browser: ```bash npm install -g orbitchat@latest cat > orbitchat.yaml <<'EOF' agentMode: mode: "single" defaultAdapterId: "simple-chat" adapters: - id: "simple-chat" EOF ORBIT_ADAPTER_KEYS='{"simple-chat":"default-key"}' orbitchat --config orbitchat.yaml --open ``` OrbitChat opens at [http://localhost:5173](http://localhost:5173). See the [example configuration](clients/orbitchat/orbitchat.yaml.example) for more options.
## Explore more | I want to… | Start here | | :--- | :--- | | **Learn ORBIT** | [Tutorial](docs/tutorial.md) · [First chat](docs/tutorial/first-chat.md) · [HTTP APIs](docs/tutorial/http-apis.md) | | **Connect private data** | [Files](docs/adapters/file-adapter-guide.md) · [Vector stores](docs/vector-stores/vector_store_integration_guide.md) · [SQL](docs/sql-retriever-architecture.md) · [Intent templates](examples/intent-templates/) · [Adapter system overview](docs/adapters/adapters.md) | | **Build agents** | [MCP tools](docs/tutorial/mcp-tool-calling.md) · [Automatic skill routing](docs/tutorial/auto-skill-routing.md) · [A2A](docs/a2a-protocol.md) · [Adapter creation](docs/adapters/adapter-creation.md) | | **Make real-time decisions** | [Decision models](docs/adapters/decision-models.md) · [Automatic model selection](docs/adapters/auto-model-selection.md) · [Triage Rush demo](examples/triage-rush-game/) · [Sentiment Pulse](examples/sentiment-pulse/) | | **Run in production** | [Authentication](docs/authentication.md) · [Cost tracking](docs/token-usage-and-cost-tracking.md) · [Rate limiting](docs/rate-limiting-architecture.md) · [Fault tolerance](docs/fault-tolerance/fault-tolerance-architecture.md) | | **Use a client** | [OrbitChat](clients/orbitchat/) · [Realtime Voice](clients/realtime-voice/) · [Node.js SDK](clients/node-api/) · [Python API example](examples/openai-compatible-api/chat_completions.py) | See the [documentation index](docs/README.md) for every guide and architecture deep dive. ## Contributing Contributions are welcome: new retrievers and provider integrations, deployment guides, tests, fixes, and documentation. Read [CONTRIBUTING.md](CONTRIBUTING.md), pick an [open issue](https://github.com/schmitech/orbit/issues), or start a discussion. Maintained by [Remsy Schmilinsky](https://www.linkedin.com/in/remsy/). ## License ORBIT is licensed under the [Apache License 2.0](LICENSE).