> For the complete documentation index, see [llms.txt](https://docs.avis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avis.net/integrations/chat-and-rag/onyx.md). Agents can also search and read this documentation through its [MCP server](https://docs.avis.net/~gitbook/mcp).

# Onyx

### Overview <a href="#overview" id="overview"></a>

[Onyx](http://onyx.app/) is a self-hostable Chat UI that integrates with all AVIS models. Features include:

* Creating custom Agents
* Web search
* Deep Research
* RAG over uploaded documents and connected apps
* Connectors to applications like Google Drive, Email, Slack, etc.
* MCP and OpenAPI Actions support
* Image generation
* User/Groups management, RBAC, SSO, etc.

Onyx can be deployed for single users or large organizations.

### [​](https://docs.ollama.com/integrations/onyx#install-onyx)Install Onyx <a href="#install-onyx" id="install-onyx"></a>

Deploy Onyx with the [quickstart guide](https://docs.onyx.app/deployment/getting_started/quickstart).

{% hint style="info" %}
Resourcing/scaling docs [here](https://docs.onyx.app/deployment/getting_started/resourcing).
{% endhint %}

### [​](https://docs.ollama.com/integrations/onyx#usage-with-ollama)Usage with AVIS <a href="#usage-with-ollama" id="usage-with-ollama"></a>

1. Login to your Onyx deployment (create an account first).

<figure><img src="https://3712251980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd1iOtdhEqFbDy8JzwAnH%2Fuploads%2FrRMoQkUtAtIaMeatOgTW%2Fimage.png?alt=media&amp;token=11a6dbb5-f1dc-4bdb-b567-07fc4b3c262c" alt="" width="563"><figcaption></figcaption></figure>

2. In the set-up process select `avis` as the LLM provider.

<figure><img src="https://3712251980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd1iOtdhEqFbDy8JzwAnH%2Fuploads%2FFJ4f70thWudA037LMxV6%2Fimage.png?alt=media&amp;token=06c77335-f088-48d0-85b7-fcffa2e981a7" alt="" width="563"><figcaption></figcaption></figure>

3. Provide your **AVlS API URL** and select your models.

{% hint style="info" %}
If you’re running Onyx in Docker, to access your computer’s local network use `http://host.docker.internal` instead of `http://127.0.0.1`.
{% endhint %}

<figure><img src="https://3712251980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd1iOtdhEqFbDy8JzwAnH%2Fuploads%2FCZCdIKJqPEMIpIEctJl2%2Fimage.png?alt=media&amp;token=681e65bd-4d87-4559-80c2-20ba25bc411b" alt="" width="563"><figcaption></figcaption></figure>

You can also easily connect up Onyx Cloud with the `AVIS Cloud` tab of the setup.

### [​](https://docs.ollama.com/integrations/onyx#send-your-first-query)Send your first query <a href="#send-your-first-query" id="send-your-first-query"></a>

<figure><img src="https://3712251980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd1iOtdhEqFbDy8JzwAnH%2Fuploads%2FRnhPWVfapgCizICmTUyU%2Fimage.png?alt=media&amp;token=741ac44d-01dc-4480-ac78-f2847e6ea791" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avis.net/integrations/chat-and-rag/onyx.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
