schmitech/orbit

Self-hosted AI gateway for private RAG, natural-language data access, and tool-calling agents.

ORBIT — Open Retrieval-Based Inference Toolkit

What it is: A self-hostable AI platform that combines three things in one package: a gateway to AI models, a search/retrieval engine for your data, and a host for AI agents. It's open source under the Apache 2.0 license, with no paid or locked features.

What you can do with it

Connect your data. Query files (PDFs, Word, Excel, images, Markdown), SQL databases, NoSQL stores, vector databases, and APIs. Connections are configured through YAML files, and the system can combine multiple search methods and re-rank results.

Choose your models. Use local models (via Ollama) or hosted services (OpenAI, Gemini, OpenRouter, Cohere) through one unified, OpenAI-compatible API. The system can automatically pick models and fall back to alternative providers.

Build agents that take action. Connect MCP (Model Context Protocol) tools, route requests to specialized skills, and coordinate multiple agents using the A2A protocol or async messaging.

Go beyond text chat. Process documents and images, build voice experiences, and generate images, audio, and video.

Make real-time decisions. Get structured choices, yes/no answers, and scores with probabilities — useful for routing requests, triaging tickets, and moderating content.

Deploy on your own infrastructure. Run on-premises or in a private cloud, including air-gapped setups with local models.

Security and operations built in. Single sign-on, role-based access, PII detection, content moderation, quotas, audit logs, and cost estimates — plus an admin dashboard for day-to-day management.

How to try it

Option 1: Docker (easiest). Pull a prebuilt "flavor" image. Each bundles the server, the OrbitChat web UI, and document chat. Choose based on your model provider:

  • schmitech/orbit-ollama:latest — local inference, no API key needed
  • schmitech/orbit-openai:latest — needs OPENAI_API_KEY
  • schmitech/orbit-gemini:latest — needs GOOGLE_API_KEY
  • schmitech/orbit-openrouter:latest — needs OPENROUTER_API_KEY
  • schmitech/orbit-cohere:latest — needs COHERE_API_KEY

Option 2: Run locally. Requires Python 3.12+ and Ollama. Download a release tarball, run a setup script, pull a model, and start the server.

Option 3: Use a client. Chat from a terminal with orbit-cli (Node.js 20+) or from a browser with OrbitChat.

Key components

  • ORBIT server — the core engine, with an API at port 3000
  • OrbitChat — a web chat interface at port 5173
  • Admin dashboard — manage users, API keys, audit logs, and MCP tools
  • Document chat — upload files and ask questions about them
  • orbit-cli — terminal client
  • Realtime Voice — voice-based client
  • Node.js SDK and Python API example for developers

Getting started specifics

  • Default local setup uses Ollama with the gemma4:e2b model
  • Configuration lives in YAML files: config/config.yaml (server), config/inference.yaml (model providers), config/adapters.yaml (data sources and tools)
  • The admin dashboard login uses admin with either a one-time generated password (Docker) or a default password (local install)
  • Data persists in Docker volumes (orbit-data, and orbit-models for the Ollama flavor)

Project details

  • License: Apache 2.0
  • Maintainer: Remsy Schmilinsky
  • Contributions welcome: new retrievers, provider integrations, deployment guides, tests, fixes, and documentation
  • Documentation: extensive guides in the docs/ folder, including tutorials, adapter guides, and architecture deep dives

Related

  • Project
  • Project
  • Project
  • Project
  • Project