---
title: Omnigent quickstart
description: "Set up Omnigent against a Databricks workspace: choose a managed host or install the CLI on your own machine, then launch your first agent."
canonical_url: https://docs.databricks.com/aws/en/omnigent/quickstart
---

# Omnigent quickstart

> [!NOTE]
> **Beta**
>
> Omnigent is in [Beta](https://docs.databricks.com/aws/en/release-notes/release-types.md). For the open-source documentation, see the [Omnigent documentation](https://omnigent.ai/).

Omnigent on Databricks is a managed deployment of the server integrated with your workspace identity provider and Unity Gateway. This server coordinates your sessions and allows you to collaborate with others. This page covers the setup that is specific to Databricks. See the [open-source Omnigent documentation](https://omnigent.ai/) for more information about Omnigent features and capabilities.

## Prerequisites

You must have:

* The **Omnigent** preview enabled for your workspace. See [Manage workspace-level previews](https://docs.databricks.com/aws/en/admin/workspace-settings/manage-previews.md#workspace).
* A workspace in a region that supports Unity Gateway. See [Databricks feature availability by region](https://docs.databricks.com/aws/en/resources/feature-region-support.md).

To open Omnigent on a [Databricks Sandbox](https://docs.databricks.com/aws/en/compute/serverless/sandbox.md), you must also have:

* A workspace in a region that also supports Databricks Sandbox. See [Limitations](https://docs.databricks.com/aws/en/compute/serverless/sandbox.md#limitations).
* The **Sandbox** preview enabled for your workspace. See [Manage workspace-level previews](https://docs.databricks.com/aws/en/admin/workspace-settings/manage-previews.md#workspace).

To install Omnigent using the CLI, you must have:

* uv, for the install script and the **UV** tab. The install script offers to install uv if it is missing, and it provisions Python 3.12 for you.
* Python 3.12+, for the **UV** and **pip** tabs
* Node.js 22.10 or later with npm, for the Claude, Codex, and Pi harnesses
* tmux (macOS and Linux only)
* bubblewrap (Linux only)

## Choose a host or runner

Managed Omnigent runs the server on Databricks. What differs is the host or runner where your agent does its work:

* **[Databricks Sandbox](https://docs.databricks.com/aws/en/compute/serverless/sandbox.md) (managed):** Databricks provisions and runs the host in the cloud. It keeps running when your laptop is off, and your credentials never leave Databricks. Select this to get started quickly.
* **Your own machine:** You install the Omnigent CLI and register your laptop or a VM as a host. Your laptop or VM becomes the execution environment so agents can access local files, tools, or networks. This host is only available while the machine is powered on and the `omni host` process is running.

You sign in with your Databricks workspace identity either way, because both hosts run through the same managed server. Session visibility and sharing are the same for both: your sessions appear in the `<workspace-url>/omnigent` UI and can be shared with other workspace users regardless of which host runs them.

## Launch Omnigent on a Databricks Sandbox

The easiest way to run Omnigent is with a [Databricks Sandbox](https://docs.databricks.com/aws/en/compute/serverless/sandbox.md): a managed cloud host that Databricks provisions for you. Your agent runs in an isolated, reproducible environment that stays on even when your laptop is asleep. Models route through your workspace's [Foundation Model APIs](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/index.md) over [Unity Gateway](https://docs.databricks.com/aws/en/unity-gateway/index.md) automatically, so there are no API keys to manage and your model usage inherits Unity Gateway's governance and controls.

1. In your web browser, go to `<workspace-url>/omnigent`.
2. Select **New session**.
3. Open the host picker and select **Sandbox**.
4. Describe a task in the composer and send it to start the session.

![The Omnigent workspace UI host picker with Databricks Sandbox selected.](https://docs.databricks.com/aws/en/images/omnigent/omnigent-sandbox.png)

## Launch Omnigent on your own machine

Install the Omnigent CLI and register your laptop or a VM as a host. The machine you register becomes the execution environment for your agents, so choose the machine that has access to the tools, files, and network your agent needs. This host is only available while the machine is powered on and the `omni host` process is running.

1. Install Omnigent. The install script includes Databricks support and installs the Databricks CLI. The UV and pip commands install the `databricks` extra, which adds the managed-platform integration.

   > [!NOTE]
   >
   > On Windows, install with `uv tool install --python 3.12 "omnigent[databricks]"`, because the install script supports only macOS and Linux. The tmux-based terminal wrappers are not available on Windows, and agents run without file system or network isolation. See the Windows section of the [Omnigent README](https://github.com/omnigent-ai/omnigent#1-install).

   ### Install script

   ```bash
   curl -fsSL https://omnigent.ai/install.sh | sh
   ```

   ### UV

   ```bash
   uv tool install "omnigent[databricks]"
   ```

   You must also [install the Databricks CLI](https://docs.databricks.com/aws/en/dev-tools/cli/install.md).

   ### Pip

   ```bash
   pip install "omnigent[databricks]"
   ```

   You must also [install the Databricks CLI](https://docs.databricks.com/aws/en/dev-tools/cli/install.md).

   > [!NOTE]
   >
   > If your network blocks pypi.org, point uv at your organization's package mirror:
   >
   > ```bash
   > curl -fsSL https://omnigent.ai/install.sh | UV_DEFAULT_INDEX="<your-mirror-url>" sh
   > ```
   >
   > To keep using the mirror for upgrades, set it as uv's default index in `~/.config/uv/uv.toml` (`%APPDATA%\uv\uv.toml` on Windows):
   >
   > ```toml
   > [[index]]
   > url = "<your-mirror-url>"
   > default = true
   > ```
   >
   > For pip, set the `PIP_INDEX_URL` environment variable to your mirror.

2. Set up model credentials. Run `omni setup`:

   ```bash
   omni setup
   ```

   ![Running omni setup in the terminal to start adding harness credentials.](https://docs.databricks.com/aws/en/images/omnigent/omni-setup.png)

3. Credentials are scoped per harness, so you must select a harness, then choose how to provide its credentials.
   * To invoke your workspace's [Foundation Model APIs](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/index.md), choose **Databricks** and enter your workspace URL. This signs you into the workspace and routes that harness's model calls through Unity Gateway, so there are no API keys to manage and usage is governed and billed there.
   * Otherwise, provide your own API key, subscription, or gateway.

4. Sign in with your Databricks identity and register the machine as an Omnigent [host](https://omnigent.ai/docs/deploy/overview#runner):

   ```bash
   omni login <workspace-url>
   omni host --server <workspace-url>
   ```

5. In your web browser, go to `<workspace-url>/omnigent`.

6. Select **New session**.

7. Open the host picker and select the machine you registered. The host you select determines the execution environment the agent runs in, so pick the host that has access to the tools, files, and network your agent needs.

   ![The Omnigent workspace UI host picker with a registered local host selected.](https://docs.databricks.com/aws/en/images/omnigent/omnigent-local-host.png)

8. Describe a task in the composer and send it to start the session.

## Connect the desktop app or mobile app

The Omnigent desktop app is optional and available on macOS, Windows, and Linux. [Install the desktop app](https://omnigent.ai/docs/interact/desktop), then after you have created a host, select **Connect to new server** in the app and enter your workspace URL.

The Omnigent mobile app connects the same way. Install it from the App Store or use the mobile web UI in any phone browser, then enter your workspace URL. For install and setup details, see [the Omnigent mobile docs](https://omnigent.ai/docs/interact/mobile).

If your workspace restricts network access, an admin may need to allow mobile devices to reach the workspace before you can connect. See [Mobile network access](https://docs.databricks.com/aws/en/omnigent/identity-access.md#mobile-network-access).
