Heidelberg AICurriculum
Track 9 · Intermediate
9.3

Onyx

Open-source ChatGPT over your team's docs, apps & people — cited answers, agents, deep research

7 lessons 2026-08-06 AI-generated

1Overview

Onyx: an open-source, MIT-licensed AI chat layer that answers from your team's own connected apps, not just the model, with every claim traceable back to its source.

A support team asks one question in chat and gets an answer stitched from Slack, Google Drive, Confluence and GitHub at once — each claim cited back to the source doc. Onyx (onyx-dot-app, MIT open-source) is the application layer for LLMs: an all-in-one AI chat and enterprise search that connects to 50+ apps with plug-and-play connectors, then answers with agentic RAGhybrid search, contextual retrieval and LLM-built knowledge graphs — grounded in your own knowledge. Build custom AI agents with their own instructions, knowledge and actions; run deep research, a sandboxed code interpreter and web search; reach external tools through Actions and MCP. Works with any model — self-hosted (Ollama, vLLM, LiteLLM) or the frontier (Anthropic, OpenAI, Gemini) — and runs as managed Onyx Cloud or self-hosted on your own Docker/Kubernetes. → Unlike AnythingLLM, where you drop files into a workspace, Onyx keeps living apps in sync as a team-scale knowledge base, with SSO and role-based access on top.

1.2After this chapter you can
Stand up Onyx (Cloud trial or self-hosted Docker) and chat over your first connected source
Connect your apps with 50+ connectors and get answers cited back to the exact document
Build a custom AI agent with its own instructions, knowledge and actions
Use deep research, the code interpreter and Actions/MCP, then share it as a team knowledge base with SSO
1.3Real use case

Support pulls a single cited answer into Slack from Drive, Confluence and past tickets instead of searching each tool by hand; a company self-hosts one private, permissioned knowledge base with SSO over all its tools.

1.4When to reach for it

You want a ChatGPT that already knows your team's living apps (not just files you upload), with connectors kept in sync, role-based access, and the choice of managed cloud or self-hosting on infrastructure you control.

1.5Key parts

Connectors (50+, plus MCP), agentic RAG with citations, custom AI agents (own instructions/knowledge/actions), deep research, code interpreter, web search, Actions/MCP, SSO + role-based access; runs on Onyx Cloud or self-hosted Docker/K8s.

2Lessons 7

2.1 Chat with Onyx using a connected document

Onyx provides an AI chat that answers using connected living sources, automatically indexing them and citing the exact document for each claim.

Get a cited answer from a real source in under 20 minutes

TryWhat does our onboarding doc say a new hire should do in week one?

Paste this into the Chat screen of Onyx after your Google Drive connector has finished syncing. Verify that the answer includes a Citation link and click it to confirm the source document contains the referenced information.

The connector picker from step 3 of this lesson — Google Drive is one of 40+ sources Onyx can index and keep in sync, each becoming a citable source in chat.
  1. Connector grid — 40+ sources you can plug in.
  2. Google Drive — the first source this lesson connects.
  3. Keep in sync — each connector indexes and re-syncs so answers stay current.
Credit: docs.onyx.app ↗
  1. Choose a deployment option – start a free trial at Onyx Cloud or clone the repo and run the Docker Compose stack
  2. Open Settings and select an LLM provider for the chat model
  3. Click Add connector, pick Google Drive, and authorise access
  4. Wait for the sync to finish, then open the Chat window and ask a question only the connected source can answer
  5. Expand the citation under the answer to verify the referenced document contains the information
  • You'll see You stand up Onyx, link a source and receive a coherent answer with an opened citation that matches the source document
  • Takeaway Onyx turns any indexed source into an instant searchable knowledge assistant anchored to exact citations
  • Check Which UI control do you use to start adding a new data source for indexing?

2.2 Ask a question across multiple apps at once

Onyx can answer across multiple connected apps, mirroring each app’s access permissions so users only see content they are allowed to view.

Do this first Chat with Onyx using a connected document

Get a single answer that pulls information from several connected sources while respecting their access controls

TrySummarise what we decided about the pricing change — pull from the Slack thread and the Confluence page.

Paste the prompt into the Onyx chat input field and hit Enter. Verify that the response shows citations from both Slack and Confluence, confirming multiple sources were consulted.

Onyx answers across your connected apps: the reply carries inline citations, and the All Sources panel shows exactly which documents — across Drive, Gmail, Slack and more — it drew from. Credit: docs.onyx.app ↗
  1. Add a second and third connector such as Slack and Confluence, then authorize each one
  2. Ask a question that spans the connected sources, e.g. “Summarise our pricing decision – pull from Slack thread and Confluence page”
  3. Read the answer and open each citation to view the source documents
  4. Test a permission boundary by asking about content in a source you cannot access; Onyx should omit that material
  • You'll see A unified reply includes inline citations from more than one document, with restricted content omitted
  • Takeaway One query can retrieve traceable answers from any number of linked apps while preserving original permissions
  • Check How does Onyx indicate which part of the answer comes from each connected source?

2.3 Find the right document and verify its answer

Onyx uses hybrid search and a knowledge graph to locate relevant documents regardless of phrasing, then presents citations for verification.

Do this first Ask a question across multiple apps at once

Identify the correct source for a query and decide whether to trust the response

TryWhat is error code ERR42 in the payment API? Explain the issue when payments fail but without using the error code. Who owns the pieces of the onboarding flow, and where is each documented?

Paste the three questions into the Onyx chat input (one per line) and press Enter. After each answer, click the Citations tab to verify the source; ensure every response shows at least one citation before trusting it.

Hybrid search: Onyx answers a natural-language question and lists the cited sources it drew from across your connected apps — open the citations to verify each claim. Credit: docs.onyx.app ↗
  1. Enter an exact keyword question in the Search bar and press Enter
  2. Re‑phrase the same idea vaguely in the Search bar and press Enter
  3. Submit a cross‑document query in the Search bar and press Enter
  4. Click each Citation link to open the source and confirm the claim
  • You'll see Onyx returns the same source for exact and vague queries, answers a cross‑document question, and shows citations you can open
  • Takeaway Hybrid search plus a knowledge graph locates relevant documents from any phrasing and links entities, so an answer is trustworthy only when its citations are present and corroborated
  • Check What UI element lets you verify the provenance of each claim in Onyx’s response?

2.4 Create a custom AI agent

Custom AI agents in Onyx have dedicated instructions, scoped knowledge connectors, and defined actions, ensuring they answer only within their domain.

Do this first Find the right document and verify its answer

Turn Onyx into a scoped expert that stays on‑topic

TryIn Onyx, click **Create new agent**, name it *PolicyBot*, and set its instructions to: "You answer questions about company policy. Answer only from the connected handbook, always cite the section, and if it isn’t covered, say so." Then in the **Knowledge** tab, add only the *HR Handbook* connector. Save the agent.

Paste this into the New Agent dialog on the Onyx dashboard; after saving, verify the agent lists only the HR Handbook under its scoped connectors.

Create Agent: give the agent a name and standing Instructions that scope its behaviour, then connect only the knowledge it may read — that scoping is what makes it trustworthy. Credit: docs.onyx.app ↗
  1. Create a new agent using Create a new agent and write clear instructions such as “Answer policy questions only from the handbook and always cite the section”
  2. Scope its knowledge with Scope its knowledge by selecting only the HR/handbook connector
  3. Define persona and limits via Give it a persona and boundaries, setting tone, refusal rules and hand‑off behaviour
  4. Test the agent with a relevant question using Test it with a real question and verify the answer includes the correct citation
  5. Test an out‑of‑scope query with Test a question it should refuse and confirm the agent declines
  • You'll see The agent answers with citations from the handbook and refuses out‑of‑scope queries
  • Takeaway Agents follow fixed instructions, draw only from their scoped connectors, cite exact sources and reject any query outside their scope
  • Check Which step ensures an agent cannot access documents beyond its designated connector?

2.5 Run deep research and analyse data with Onyx

Deep research lets Onyx run multi‑step investigations across internal sources, the web, and sandboxed code execution to produce a structured, cited brief.

Do this first Create a custom AI agent

Perform automated multi‑source investigations and compute results

TryCompare how our docs describe feature X with how competitors position it publicly, and summarise the gaps.

Paste this sentence into the Onyx chat input box and press Enter. After the brief appears, expand each citation to verify that internal documents and web sources are both listed.

Deep Research: toggle it in the composer and Onyx plans a multi-step investigation across your sources and the live web, then writes a cited brief. Credit: docs.onyx.app ↗
  1. Enable Deep Research in the composer and submit a question such as “Compare how our docs describe feature X with competitor positioning and summarise gaps”
  2. Review the generated brief and click each citation link to open internal and web sources
  3. Upload a CSV file using the Upload control and ask Onyx to chart monthly totals and flag months over 20 % above the mean
  4. Add a live query by clicking Web Search in the chat input, ask a recent question not covered by your documents, and verify that the answer includes a web citation
  • You'll see A cited brief combines internal documents, web sources and a chart generated from your CSV data
  • Takeaway Onyx automates a multi‑step investigation across internal docs and the live web while allowing sandboxed code to analyse or visualise your data
  • Check What feature lets you bring external web information into a deep research brief?

2.6 Enable agents to perform actions

Actions and MCP let an Onyx agent call external tools, enabling it to perform read‑only lookups or write operations under tightly scoped permissions.

Do this first Run deep research and analyse data with Onyx

Let an agent execute external tools as part of its workflow

TryEnable the read‑only “Ticket Lookup” Action on agent Alpha, then type: Look up the status of ticket 4821 and summarise the last update.

In Onyx, go to Agents → Alpha → Actions, toggle on the Ticket Lookup action, save, then return to the chat window and paste the prompt. Verify that a tool‑call card appears showing the ticket data before the summary.

Actions & MCP: connect Model Context Protocol servers so an agent can reach external tools — each server exposes a set of tools you enable. Start with read-only ones. Credit: docs.onyx.app ↗
  1. Enable an Action or MCP tool on the agent, starting with a read‑only option such as ticket lookup
  2. Prompt the agent using Ask the agent to use it, e.g., “Look up ticket 4821 and summarise the last update”
  3. Inspect the result in the Onyx interface to verify the tool call and its output match expectations
  4. Consider adding a write action only after confirming read‑only behaviour, with confirmation prompts and narrowly scoped credentials
  5. Decide your policy on which agents may take actions, which remain read‑only, and who reviews action‑taking agents before deployment
  • You'll see A read‑only Action or MCP tool is enabled on an agent, the agent makes a real tool call and you can confirm the result
  • Takeaway Actions and MCP let an Onyx agent act beyond advice by calling external services when its access is tightly scoped and reviewed
  • Check How does Onyx show that an agent has successfully performed an external tool call?

2.7 Configure Onyx for team-wide permissioned access

Onyx can be configured for team‑wide, role‑based access; upcoming changes replace Curator roles with group‑based permissions, mirroring connector ACLs.

Do this first Enable agents to perform actions

Turn your Onyx instance into a shared knowledge base where each user sees only authorised sources

TryOpen the Onyx web UI, navigate to **Team Settings**, click **Add Member**, enter alice@example.com and choose **Member** as the role, then confirm.

Do this in the browser where your Onyx instance is running. Watch for the new member appearing in the team list with the correct role.

Onyx admin group page for a 'Marketing Team' showing members with roles, and sections for Connectors, Document Sets and Token Rate Limits
  1. 1 Invite team members grant group access Why this exists →
  2. 2 Set API limit control usage cost Why this exists →

Best viewed on desktop — tap Enlarge to read the numbered controls.

Access control: group members by team, assign roles, and scope which connectors and document sets each group can reach — permissions mirror your sources per user. Credit: docs.onyx.app ↗
  1. Choose between Onyx Cloud and self‑hosted deployment based on speed, operational effort and data residency requirements
  2. Add team members and assign them roles such as admin or member
  3. Confirm permission inheritance works by checking that a member only receives answers from allowed connectors
  4. Configure SSO (OIDC or SAML) if using Enterprise or self‑hosted Onyx so users sign in with the existing identity provider
  5. Direct the team to use Onyx as the single source for queries and monitor connector health regularly
  • You'll see Team members have distinct roles and only receive answers from connectors they are permitted to view
  • Takeaway Role‑based permissions and connector inheritance keep the knowledge hub secure for every user
  • Check Which upcoming change will replace Curator roles in Onyx’s permission model?

3You’ll know it worked 15 checkable outcomes in this chapter

  • Newcomers receive answers citing exact files from Drive and Confluence
  • Researchers receive a structured, cited brief that blends insights from internal documents and current public sources
  • Employee receives a response that cites the exact handbook section
  • Team members can query the knowledge base and only see documents from their own team
  • You have a documented hard question, the answer, and notes on citation coverage
  • The response states that the question is outside the agent's scope instead of providing an answer
  • You have one brief file containing citations and a short note on trusted vs. unverified parts
  • Each of the three agent-performed lookups returns data that matches the source system

15 outcomes in all — one per recipe below.

4FAQ, Tips & How-to 41

one problem, one solution, one action

Knowledge & docs2

How-to Onyx Scientist +1

Want to know what we already have on a topic?

A single place to ask "what do we already know about X?" and get an answer grounded in your own papers, protocols and notes.

~10 min · low code AI-generated
How-to Onyx Founder +1

Need an internal searchable FAQ where each team only sees its own docs

A company-wide "ask anything" that respects who can see what — with your data staying on infrastructure you control.

~10 min · low code AI-generated

Research & data tools1

How-to Onyx Scientist +1

Internal documents plus web search needed

A research brief that blends your internal knowledge with current public sources — with every claim traceable.

~10 min · low code AI-generated

Customer & client portals1

How-to Onyx Operations +1

Can't find help‑center answer while chatting

Faster, more consistent support replies grounded in your real docs — with links agents can verify before sending.

~10 min · low code AI-generated

Internal tools & ops1

How-to Onyx Operations +1

Need exact policy answers without bothering ops

A reusable internal expert that stays on-policy and points to the exact clause — no more pinging the ops lead.

~10 min · low code AI-generated

CRM & sales1

How-to Onyx Founder +1

Need a quick account brief without copying data

A grounded, cited one-pager per account, built from your live systems instead of copy-pasting between tabs.

~10 min · low code AI-generated
How-to Onyx Everyone

Need an AI chat without installing anything

You can start using Onyx instantly without installing anything

The connector picker from step 3 of this lesson — Google Drive is one of 40+ sources Onyx can index and keep in sync, each becoming a citable source in chat.
  1. **Connector grid** — 40+ sources you can plug in.
  2. **Google Drive** — the first source this lesson connects.
  3. **Keep in sync** — each connector indexes and re-syncs so answers stay current.
Credit: docs.onyx.app ↗
AI-generated
How-to Onyx Everyone

Can’t pull docs from Google Drive

Linking a live document store lets Onyx index and cite real content

AI-generated
How-to Onyx Everyone

Want to query many apps at once

You can bring more apps into Onyx so a single query pulls from all of them

Onyx answers across your connected apps: the reply carries **inline citations**, and the **All Sources** panel shows exactly which documents — across Drive, Gmail, Slack and more — it drew from. Credit: docs.onyx.app ↗
AI-generated
How-to Onyx Everyone

A single prompt can retrieve information from all connected apps, saving you separate searches

AI-generated
How-to Onyx Everyone

You can verify which document contributed to each part of the answer

AI-generated
How-to Onyx Everyone

If you lack permission in a connected app, Onyx will not surface that content

AI-generated
How-to Onyx Everyone

Connecting the apps you switch between most yields the biggest productivity boost

AI-generated
How-to Onyx Everyone

A single stitched answer can eliminate the need to search each tool separately

AI-generated
How-to Onyx Everyone

Onyx can still locate the right source even when you describe the problem without using the exact term

**Hybrid search**: Onyx answers a natural-language question and lists the cited sources it drew from across your connected apps — open the citations to verify each claim. Credit: docs.onyx.app ↗
AI-generated
How-to Onyx Everyone

You should trust an answer more when several independent sources agree and the citations hold up

AI-generated
How-to Onyx Everyone

Testing a difficult, cross-document query reveals strengths and gaps in Onyx's retrieval

AI-generated
How-to Onyx Everyone

Can't find the source you need

Connecting a missing source or rephrasing the query can fix retrieval gaps

AI-generated
How-to Onyx Everyone

Need the bot to use one tone and auto‑hand off

The agent consistently speaks in the desired voice and knows when to hand off to a human

**Create Agent**: give the agent a name and standing Instructions that scope its behaviour, then connect only the knowledge it may read — that scoping is what makes it trustworthy. Credit: docs.onyx.app ↗
AI-generated
How-to Onyx Everyone

The agent avoids guessing and maintains credibility by refusing unsupported requests

AI-generated
How-to Onyx Everyone

Team keeps hearing the same question

A single, scoped assistant can eliminate a common interruption for the whole team

AI-generated
How-to Onyx Everyone

Need to see trends in my CSV data

You can upload a CSV (or reference a connected file) and ask Onyx's sandboxed code interpreter to compute statistics and render visualisations

**Deep Research**: toggle it in the composer and Onyx plans a multi-step investigation across your sources and the live web, then writes a cited brief. Credit: docs.onyx.app ↗
AI-generated
How-to Onyx Everyone

Need a quick brief with trusted citations

By framing a question that needs both internal knowledge and live web data, you can generate a brief suitable for forwarding with trustworthy citations

AI-generated
How-to Onyx Everyone

Need to query an external system without risking data changes

Enabling a read-only Action or MCP tool lets an agent call an external system without risking data changes

**Actions & MCP**: connect Model Context Protocol servers so an agent can reach external tools — each server exposes a set of tools you enable. Start with read-only ones. Credit: docs.onyx.app ↗
AI-generated
How-to Onyx Everyone

Need the status of a ticket

You can ask the agent in natural language to perform the external lookup and it will call the configured tool

~5 min · no code AI-generated
How-to Onyx Everyone

Onyx shows exactly what action was taken, letting you confirm that the external call succeeded and returned expected data

AI-generated
How-to Onyx Everyone

Need to stop accidental data changes

Requiring explicit confirmation and narrowly scoped credentials prevents accidental or malicious data modifications

AI-generated
How-to Onyx Everyone

Identifying a common manual lookup gives you a high-impact candidate for automation

AI-generated
How-to Onyx Everyone

Need a read‑only action with the smallest credential set

Wiring the Action with the smallest possible credential set reduces security risk

AI-generated
How-to Onyx Everyone

Running the Action on multiple real cases confirms it works reliably before broader use

AI-generated
How-to Onyx Everyone

Need a clear checkpoint before allowing writes

Documenting a single line safeguard creates an explicit checkpoint before enabling any write capability

AI-generated
How-to Onyx Everyone

Choose the hosting model that matches your data-residency and operational needs

**Access control**: group members by team, assign roles, and scope which connectors and document sets each group can reach — permissions mirror your sources per user. Credit: docs.onyx.app ↗
AI-generated
How-to Onyx Everyone

Confirm that users only receive answers from sources they are allowed to see

AI-generated
How-to Onyx Everyone

Want users to log in with your existing identity provider

Enable single sign-on so users authenticate with your existing identity provider

AI-generated
How-to Onyx Everyone

Keep connectors up-to-date so answers remain accurate

AI-generated
FAQ Onyx Everyone

What is Onyx and what is it for?

Onyx (by onyx-dot-app) is an open-source AI chat and enterprise-search platform — the application layer for LLMs. You connect your team's apps (Google Drive, Slack, GitHub, Confluence, Salesforce and 50+ more) and then ask questions in plain English; Onyx answers with agentic RAGhybrid search, contextual retrieval and LLM-built knowledge graphs — and cites each claim back to the source document. On top of search it adds custom AI agents, deep research, a sandboxed code interpreter, web search, and Actions/MCP to reach external tools. Think of it as a ChatGPT that already knows your organisation's living knowledge, with role-based access so people only see what they should. It is open source under the MIT license.

Onyx ↗ AI-generated
FAQ Onyx Everyone

How much does Onyx cost? Is there a free tier?

Onyx's Community Edition is free and open source under the MIT license — you can self-host it at no license cost on your own Docker or Kubernetes, paying only for the infrastructure and any LLM API keys you add. The managed Onyx Cloud has a Business plan at about $20 per user per month (annual billing) with a free trial, which includes the chat and search UI, custom agents, 50+ connectors, web search, deep research and the code interpreter. The Enterprise plan adds OIDC/SAML SSO, on-premise and region-specific deployment, white-labeling and custom integrations at custom pricing. So you can run it entirely free by self-hosting, or pay per seat to let Onyx host it for you.

Onyx ↗ AI-generated
FAQ Onyx Everyone

How is Onyx different from AnythingLLM?

Both are open-source, self-hostable 'private ChatGPT over your own knowledge' tools, but they start from different ends. AnythingLLM is workspace- and file-centric: you drop PDFs, docs or folders into a workspace and chat with them, ideal on a desktop app for one person or a small shared server. Onyx is connector- and team-centric: instead of uploading files, you connect living apps (Drive, Slack, GitHub, Confluence, Salesforce…) that Onyx keeps in sync, then search across all of them at once with citations, role-based access and SSO. Reach for AnythingLLM when you want to chat with a set of files, especially fully offline on a local model; reach for Onyx when you want a team-scale, always-current knowledge base spanning many apps.

Onyx ↗ AI-generated
FAQ Onyx Everyone

Can I run Onyx without sending my data to the cloud?

Yes. You can self-host the Community Edition entirely on your own infrastructure with Docker or Kubernetes, and point it at a self-hosted model provider (Ollama, vLLM or LiteLLM) so that neither your documents nor your queries leave machines you control. Onyx supports role-based access controls and document-level permissions so each user only sees the sources they are allowed to. If you prefer, you can still bring your own key for a frontier provider (Anthropic, OpenAI, Gemini) — in that case your prompts go to that provider, so the fully private setup pairs self-hosting with a local model.

Onyx ↗ AI-generated
FAQ Onyx Everyone

Which data sources and models does Onyx support?

Onyx ships 50+ indexing connectors out of the box — including Google Drive, Slack, GitHub, Confluence, Salesforce, Notion and many more — and you can add further sources via the Model Context Protocol (MCP). For language models it is provider-agnostic: it works with self-hosted options (Ollama, vLLM, LiteLLM) and proprietary ones (Anthropic, OpenAI, Gemini), and you choose which model powers chat and agents. For web results it can use providers such as Serper, Google PSE, Brave or SearXNG. This lets you match both your data-residency needs and your budget.

GitHub ↗ AI-generated
FAQ Onyx Everyone

What are Onyx AI agents and deep research?

An Onyx AI agent is a custom assistant you configure with its own standing instructions, a scoped set of knowledge (which connectors it may read), and actions it is allowed to take — for example a 'policy' agent that answers only from the HR handbook and cites the clause, or a support agent scoped to your help centre. Deep research is a mode where an agent plans a multi-step investigation across your connected sources and the web, then writes a structured, cited brief — useful for questions too broad for a single lookup. Both build on the same agentic-RAG core, so their answers stay grounded in your sources with citations you can open and verify.

Onyx ↗ AI-generated

The same set on /recipes, filtered by tool and role.

5Videos 2

6FAQ 6

What is Onyx and what is it for?

Onyx (by onyx-dot-app) is an open-source AI chat and enterprise-search platform — the application layer for LLMs. You connect your team's apps (Google Drive, Slack, GitHub, Confluence, Salesforce and 50+ more) and then ask questions in plain English; Onyx answers with agentic RAGhybrid search, contextual retrieval and LLM-built knowledge graphs — and cites each claim back to the source document. On top of search it adds custom AI agents, deep research, a sandboxed code interpreter, web search, and Actions/MCP to reach external tools. Think of it as a ChatGPT that already knows your organisation's living knowledge, with role-based access so people only see what they should. It is open source under the MIT license.

How much does Onyx cost? Is there a free tier?

Onyx's Community Edition is free and open source under the MIT license — you can self-host it at no license cost on your own Docker or Kubernetes, paying only for the infrastructure and any LLM API keys you add. The managed Onyx Cloud has a Business plan at about $20 per user per month (annual billing) with a free trial, which includes the chat and search UI, custom agents, 50+ connectors, web search, deep research and the code interpreter. The Enterprise plan adds OIDC/SAML SSO, on-premise and region-specific deployment, white-labeling and custom integrations at custom pricing. So you can run it entirely free by self-hosting, or pay per seat to let Onyx host it for you.

How is Onyx different from AnythingLLM?

Both are open-source, self-hostable 'private ChatGPT over your own knowledge' tools, but they start from different ends. AnythingLLM is workspace- and file-centric: you drop PDFs, docs or folders into a workspace and chat with them, ideal on a desktop app for one person or a small shared server. Onyx is connector- and team-centric: instead of uploading files, you connect living apps (Drive, Slack, GitHub, Confluence, Salesforce…) that Onyx keeps in sync, then search across all of them at once with citations, role-based access and SSO. Reach for AnythingLLM when you want to chat with a set of files, especially fully offline on a local model; reach for Onyx when you want a team-scale, always-current knowledge base spanning many apps.

Can I run Onyx without sending my data to the cloud?

Yes. You can self-host the Community Edition entirely on your own infrastructure with Docker or Kubernetes, and point it at a self-hosted model provider (Ollama, vLLM or LiteLLM) so that neither your documents nor your queries leave machines you control. Onyx supports role-based access controls and document-level permissions so each user only sees the sources they are allowed to. If you prefer, you can still bring your own key for a frontier provider (Anthropic, OpenAI, Gemini) — in that case your prompts go to that provider, so the fully private setup pairs self-hosting with a local model.

Which data sources and models does Onyx support?

Onyx ships 50+ indexing connectors out of the box — including Google Drive, Slack, GitHub, Confluence, Salesforce, Notion and many more — and you can add further sources via the Model Context Protocol (MCP). For language models it is provider-agnostic: it works with self-hosted options (Ollama, vLLM, LiteLLM) and proprietary ones (Anthropic, OpenAI, Gemini), and you choose which model powers chat and agents. For web results it can use providers such as Serper, Google PSE, Brave or SearXNG. This lets you match both your data-residency needs and your budget.

What are Onyx AI agents and deep research?

An Onyx AI agent is a custom assistant you configure with its own standing instructions, a scoped set of knowledge (which connectors it may read), and actions it is allowed to take — for example a 'policy' agent that answers only from the HR handbook and cites the clause, or a support agent scoped to your help centre. Deep research is a mode where an agent plans a multi-step investigation across your connected sources and the web, then writes a structured, cited brief — useful for questions too broad for a single lookup. Both build on the same agentic-RAG core, so their answers stay grounded in your sources with citations you can open and verify.

7Glossary 12 terms

Show the 12 terms
Onyx
connector
A plug-and-play integration that indexes and syncs one source (Google Drive, Slack, GitHub, Confluence, Salesforce…) into Onyx, so its content becomes searchable and citable. Onyx ships 50+.
agentic RAG
Onyx's retrieval approach: instead of one search, AI agents plan and run multiple retrieval steps over your connected sources, combining hybrid search and contextual retrieval for a more accurate, cited answer.
hybrid search
Searching with both keyword (exact-match) and vector (meaning-based) indexes at once, then merging the results — so you find a document whether you remember its wording or just its topic.
knowledge graph
An LLM-built map of the entities and relationships across your indexed documents, which Onyx uses to answer questions that span many sources rather than sitting in one file.
AI agent (Onyx)
A custom assistant you configure with its own instructions, a scoped set of knowledge (connectors), and actions it may take — e.g. a 'policy' agent that answers only from the HR handbook and cites the clause.
Actions
Onyx's mechanism for letting an agent call external applications (with flexible authentication), so a chat can do things — look up or update a record — not just retrieve documents.
MCP
Model Context Protocol — an open standard Onyx supports for connecting agents to external tools and data sources beyond its built-in connectors.
deep research
An Onyx mode where an agent plans a multi-step investigation across your sources and the web, then writes a structured, cited brief — for questions too broad for a single answer.
Onyx Cloud
The managed, hosted version of Onyx (cloud.onyx.app) — sign up and connect sources without running any infrastructure; billed per user.
Community Edition (CE)
The free, MIT-licensed build of Onyx you self-host yourself; covers chat, RAG, agents and actions. The Enterprise Edition adds SSO/SAML, granular access controls and white-labeling.
Onyx Lite
A lightweight, chat-only deployment of Onyx that runs in under 1GB of memory — for testing or simple chat use, versus the full stack with vector indexes and background workers.
docker compose up
The command that brings up a self-hosted Onyx stack (web app, indexes, workers, storage) from its official compose file on your own machine or server.

8See also

💬 Discuss this chapter

Ask, share, or report — over on the Heidelberg AI community forum.