Open Source AI Platform - AI Chat with advanced features that works with every LLM
"LLMs know about everything public, but what if it could also know what's going on in our team? I want an AI coworker, not an AI new hire."
Onyx is the knowledge/context layer for your team and AI agents.
Onyx connects to your application to index and surface knowledge from 50+ applications while protecting your data sovereignty through flexible self-hosted deployments.
Beyond search, Onyx enables LLMs with advanced features like web search, sandboxes, skills, and more.
[!TIP] Deploy with a single command:
curl -fsSL https://onyx.app/install_onyx.sh | bash

Onyx creates a representation of knowledge across all connected sources. It pulls data along with metadata, permissions, etc. and ingests it so that the information is easily accessible for downstream use cases.
Compared to MCP based searches and index-free approaches, Onyx provides a more reliable, low latency, and low cost context for any given query whether it's a simple keyword query or a complex research task.
Instead of an agent coordinating and iteratively searching dozens of MCP and burning many thousands of tokens, Onyx fetches the context across its internal representation instantly and filters down to only the most relevant ground truth documents.
Onyx supports all major LLM providers, both self-hosted (like Ollama, LiteLLM, vLLM, etc.) and proprietary (like Anthropic, OpenAI, Gemini, etc.).
To learn more - check out our docs!

When connecting up your organization's knowledge, it's critical that this sensitive IP is not leaked to the wrong parties both external and internal.
Onyx provides an air-gappable, self-hosted deployment where the document index, database, and processing all happen within a self-contained set of services.
You can also choose a trusted embedding model and LLM provider (both of which can also run locally).
The same security and fine grained permissions apply no matter where the question comes from.
Onyx supports deployments in Docker, Kubernetes, Helm/Terraform and provides guides for major cloud providers. Detailed deployment guides found here.
Onyx supports two separate deployment options: standard and lite.
The complete feature set of Onyx which is recommended for serious users and larger teams. Additional components not included in Lite mode:
No good first issue or help wanted issues are currently available.
Hey there! We are so excited that you're interested in Onyx.
The GitHub Issues page is a great place to look for and share contribution ideas.
If you have your own feature that you would like to build, please create an issue and community members can provide feedback and upvote if they feel a common need.
To contribute, please follow the "fork and pull request" workflow.
Create a GitHub issue and see if there are upvotes. If you feel the feature is sufficiently value-additive and you would like approval to contribute it to the repo, tag Yuhong to review.
If you do not get a response within a week, feel free to email yuhong@onyx.app and include the issue in the message.
Not all small features and enhancements will be accepted as there is a balance between feature richness and bloat. We strive to provide the best user experience possible so we have to be intentional about what we include in the app.
The Onyx team will either provide a design doc and PRD for the feature or request one from you, the contributor. The scope and detail of the design will depend on the individual feature.
If you are contributing features to Onyx Enterprise Edition, you are required to sign the IP Assignment Agreement.
Your features must pass all tests and all comments must be addressed prior to merging.
If we approve an issue, we are promising you the following:
Because this is a large investment from our team, we ask that you:
Onyx being a fully functional app, relies on some external software, specifically:
Note: This guide provides instructions to build and run Onyx locally from source with Docker containers providing the above external software. We believe this combination is easier for development purposes. If you prefer to use pre-built container images, see Running in Docker below.
onnxruntime and CUDA torch, do not yet ship 3.14 wheels).Install a version of uv that meets tool.uv.required-version in pyproject.toml. Create a virtual environment.
uv venv .venv --python 3.13
source .venv/bin/activate
For Windows, activate the virtual environment using Command Prompt:
.venv\Scripts\activate
If using PowerShell, the command slightly differs:
.venv\Scripts\Activate.ps1
Install the required Python dependencies:
uv sync
Install Playwright for Python (headless browser required by the Web Connector):
uv run playwright install
Navigate to onyx/web and run:
bun install
Set up the git hooks (ruff / ruff format and the others in .pre-commit-config.yaml).
prek runs them, and uv sync installs it:
uv run prek install
If you installed the hooks with pre-commit before, run uv run prek install --force once instead.
Without --force, prek keeps the old hooks as *.legacy and runs them too. They fail, because
uv sync removes pre-commit.
We also use ty for static type checking. Onyx is fully type-annotated, and we want to keep it that way! To ru