Omnigent 多智能体编排框架
Omnigent
The open-source meta-harness for all your AI agents.
Omnigent is an open-source meta-harness that gives you a common orchestration layer over Claude Code, Codex, Cursor, OpenCode, Goose, Antigravity, GitHub Copilot, Devin, Kiro, Qwen Code, Kimi Code, Grok Build, Jcode, Hermes, Pi, OpenAI Agents / Open Responses, and the agents you write yourself: swap or combine harnesses without rewriting, enforce policies and sandboxing, and collaborate in real time from any device — terminal, browser, phone, or the native desktop app.
<img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9weXBpL3Yvb21uaWdlbnQuc3Zn&amp;sig=5d91d05830117c6eba89" alt="PyPI version" loading="lazy" referrerpolicy="no-referrer"> <img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9iYWRnZS9MaWNlbnNlLUFwYWNoZV8yLjAtYmx1ZS5zdmc&amp;sig=4c2218012fba619c26ae" alt="License: Apache 2.0" loading="lazy" referrerpolicy="no-referrer"> <img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9iYWRnZS9EaXNjb3JkLWpvaW4tNTg2NUYyP2xvZ289ZGlzY29yZCZsb2dvQ29sb3I9d2hpdGU&amp;sig=0482bcdf9fe258a35bfb" alt="Discord" loading="lazy" referrerpolicy="no-referrer">
omnigent.ai · **⬇️ Download the macOS desktop app**
Why Omnigent?
Omnigent lets you:
- 📱 Work with agents from any device, including your phone. Sessions
follow you: start in your terminal, continue in the browser, pick it up on your phone. Messages, sub-agents, terminals, and files stay in sync.
- 🤖 Supervise multiple agents. Mix Claude Code, Codex, Cursor, OpenCode,
Goose, Antigravity, GitHub Copilot, Devin, Kiro, Qwen Code, Kimi Code, Grok Build, Jcode, Hermes, Pi, OpenAI Agents / Open Responses, and custom agents (defined in YAML) together in the same session. Ask one agent to review another's work, or split a task across agents that are each good at different things.
- 🔌 Use any model. A first-party API key, a Claude/ChatGPT subscription,
or any compatible gateway. All first-class.
- 🤝 Collaborate. Share a session so teammates can chat with your agent
and watch it work live, co-drive it on your machine, or fork the conversation to continue on their own.
- ☁️ Run agents in cloud sandboxes. No laptop required: run sessions in
disposable Modal, Daytona, Blaxel, Islo, E2B, Gensee, CoreWeave, Kubernetes, OpenShell, Boxlite, microsandbox, or Databricks sandboxes, launched from the CLI or provisioned by the server per session (managed hosts).
- 🛡️ Govern your agents. Create
policies to pause for your approval before risky actions, cap spend, or limit which tools an agent reaches. They apply to the whole server, one agent, or a single chat.
Quick start
1. Install
One command installs Omnigent and everything it needs:
curl -fsSL https://raw.githubusercontent.com/omnigent-ai/omnigent/main/scripts/install_oss.sh | sh
The installer includes Databricks support and installs the Databricks CLI alongside Omnigent, or reuses an existing CLI that supports workspace login. Pass --no-databricks to omit them.
Need an optional integration? Pass one or more extras to the installer:
curl -fsSL https://raw.githubusercontent.com/omnigent-ai/omnigent/main/scripts/install_oss.sh | sh -s -- --extra modal,e2b
The Antigravity SDK extra conflicts with Databricks dependencies. Install it with --no-databricks --extra antigravity.
Available user-facing extras include:
- Model providers:
databricks(included by default),bedrock,vertex - Sandbox providers:
modal,daytona,blaxel,boxlite,microsandbox,
cwsandbox, e2b, openshell, kubernetes
- SDK harnesses:
antigravity,copilot,cursor,agents-sdk - Storage and memory:
s3,hindsight
Omnigent needs Python 3.12+. Install the omnigent package:
uv tool install omnigent # or: pip install "omnigent"
Manual installs use the same extras syntax, for example:
uv tool install "omnigent[databricks,modal]"
Or with Homebrew:
brew install omnigent-ai/tap/omnigent
For source builds on networks that require package mirrors, replace these example URLs with your mirrors:
HOMEBREW_PIP_INDEX_URL='https://pypi.example.com/simple' \
HOMEBREW_CARGO_INDEX_URL='https://cargo.example.com/index/' \
brew install --build-from-source omnigent-ai/tap/omnigent
The PyPI setting also routes pip's isolated build dependencies through the mirror. The Cargo setting takes a sparse registry index URL ending in /, without the sparse+ prefix. Both overrides are optional and do not affect prebuilt-bottle installs.
Or install straight from the repo:
uv tool install -q --python 3.12 git+https://github.com/omnigent-ai/omnigent.git
- **
uv** (required). https://docs.astral.sh/uv/getting-started/installation/
The installer offers to set this up for you.
- **
git** (required). - Node.js 22 LTS or newer with **
npm** (for the coding-harness CLIs
installed by omnigent run) and **pnpm** (for the web UI). You can get both from a single Node install; pnpm is available via corepack enable or npm install -g pnpm.
- Devin CLI (optional), for
omnigent devin: install with
curl -fsSL https://cli.devin.ai/install.sh | bash, then sign in with devin auth login. Devin tool approvals appear as Chat approval cards (its PermissionRequest hook is mirrored to the web UI) and stay answerable in the embedded Terminal. See docs/devin-native.md.
- Kiro CLI (optional), for
omnigent kiro: install with
curl -fsSL https://cli.kiro.dev/install | bash, then sign in with Kiro. Kiro tool approvals stay answerable in the embedded Terminal; supported one-time approvals also appear as Chat cards. See docs/kiro-native-elicitation.md.
- **
tmux**, required by the nativeomnigent <harness>terminal wrappers
(claude, codex, cursor, devin, hermes, kiro, pi) (brew install tmux / apt install tmux; the installer offers to install it for you).
- **
bubblewrap** (bwrap), Linux only. The nativeomnigent <harness>
terminal wrappers and the pi harness wrap each agent terminal in a bwrap OS-sandbox; on Linux that isolation is mandatory, so a missing bwrap binary makes those terminals fail to start (apt install bubblewrap; the installer offers to install it for you). macOS uses the built-in seatbelt sandbox and needs nothing extra.
- Databricks. The bootstrap installer includes the
databricksextra
and the Databricks CLI. If installing with uv directly, use uv tool install "omnigent[databricks]" and install the Databricks CLI separately. Sign in to a workspace-hosted server with omnigent login <workspace-url>/omnigent.
Omnigent runs natively on Windows in a degraded mode. The install_oss.sh bootstrap is POSIX-only, so install with uv directly:
uv tool install --python 3.12 omnigent
# or from the repo:
uv tool install --python 3.12 git+https://github.com/omnigent-ai/omnigent.git
What works on Windows: omnigent server, the web UI, and the SDK-based harnesses (omnigent run <agent.yaml> with the claude-sdk / cursor / codex harnesses). Agents run under a Windows Job Object for process-tree containment.
What is not available on Windows (use Linux/macOS, or WSL, for these):
- the native
omnigent claude/omnigent codex/omnigent cursor
tmux/PTY terminal wrappers (run an SDK harness or the web UI instead);
bwrap/seatbeltfilesystem & network sandboxing and the L7 egress proxy
— the Job Object backend contains the process tree and enforces resource limits but does not isolate the filesystem or network.
When a newer release is on PyPI, Omnigent shows a one-line notice (once per release) pointing here. To update:
omni upgrade # detects how you installed, drains & stops the local
# server, then runs the matching upgrade command
omni upgrade --check # just report whether a newer release is available
omni upgrade waits for in-flight agent sessions to finish before stopping the local server (pass --force to stop them immediately); the next omni command brings the server back up on the new version. Source checkouts update with git pull instead. Silence the notice with OMNIGENT_NO_UPDATE_CHECK=1.
If a uv tool install fails to start a sandbox with a mutable hard-link alias error, reinstall its dependencies as copies. The check depends on the installed runtime layout, including installations made by older releases:
uv tool upgrade --reinstall --link-mode copy omnigent
The check queries your configured package index — honoring UV_INDEX_URL / PIP_INDEX_URL and your uv.toml / pip.conf (default PyPI), so private mirrors work out of the box; override with OMNIGENT_INDEX_URL if needed.
Nightly builds. Every night (about 04:30 UTC) the newest commit on main with green CI is tagged as a vX.Y.Z.devYYYYMMDD prerelease. Nightlies are git tags, not PyPI releases, so installing one builds from source and needs git, Node.js 22+, and pnpm:
omni upgrade --nightly # move onto the newest nightly
omni upgrade --nightly --check # report whether a newer nightly is out
A nightly install shows no release notice, and plain omni upgrade keeps it on its current tag, so rerun omni upgrade --nightly (or schedule scripts/update_nightly.sh) to stay current. When the desktop app starts a local server it uses your installed omni, so it serves the nightly web UI; the desktop app itself updates only with stable releases. To return to the latest stable release, rerun the install script above (with the same --extra flags, if any).
Preview the CLI/profile cleanup that would run by default:
omnigent uninstall
Remove the CLI and installer-managed PATH entries while keeping your local history, credentials, and projects:
omnigent uninstall --yes
To also remove Omnigent state under ~/.omnigent, pass --purge; Omnigent backs it up outside the target before deletion. Your ~/omnigent workspace is kept unless you explicitly add --purge-workspace.
omnigent uninstall --purge --yes
If the installed wheel is broken or omnigent is not on PATH, run the standalone script instead:
curl -fsSL https://raw.githubusercontent.com/omnigent-ai/omnigent/main/scripts/uninstall_oss.sh | sh
Add --yes to the standalone script to perform the previewed CLI cleanup.
2. Start your first agent
omnigent picks a model with you and starts a session in your terminal. It also launches a local web UI at http://localhost:6767 that shows the same session in the browser, or on a phone on your network (step 4). The desktop app wraps that same UI in a native window and adds OS notifications (with a configurable sound) and a dock badge — download it for macOS.
[!NOTE]
The install puts two names for the same CLI on your PATH:
omnigentand
the shorter
omni. They're interchangeable.
[!TIP]
On first run, Omnigent picks up model credentials already in your
environment (an
ANTHROPIC_API_KEY/OPENAI_API_KEY, or aclaude/
codexCLI you're logged into) and offers one as the default.
omnigent
Or launch a specific agent runtime:
omnigent claude # Claude Code, in a session your team can join
omnigent codex # Codex
omnigent cursor # Cursor
omnigent agy # Antigravity
omnigent opencode # OpenCode
omnigent goose # Goose
omnigent kiro # Kiro
omnigent qwen # Qwen Code
omnigent kimi # Kimi Code
omnigent devin # Devin
omnigent hermes # Hermes Agent (Nous Research)
omnigent pi # Pi
omnigent copilot # GitHub Copilot (SDK harness, via `omnigent run`)
Sessions run under the host daemon, which may have started from a different shell, so your terminal's variables don't reach the agent by default. To forward specific ones to the session you're launching, list their names:
OMNIGENT_SESSION_ENV_PASSTHROUGH=TERMINAL_PANE_SOCKET,TOOL_TOKEN omnigent claude
The values go only to the runner this command launches, through an owner-only file the local daemon deletes at launch. They aren't sent to the server or stored. They become part of that runner's environment, so the agent and any stdio MCP server that declares env inherit them too. A session whose runner is already running keeps its original values, and a runner the server relaunches later (for example, after an idle timeout) starts without them. Names starting with OMNIGENT and RUNNER_SERVER_URL are rejected. Forwarding isn't available on Windows yet.
omnigent agy requires agy 1.1.13 or newer. When GEMINI_API_KEY is set, direct Gemini API authentication takes precedence over agy's saved OAuth login.
To configure native agy credentials, run omni setup → Antigravity → Configure native agy API key / gateway → Add a credential and choose the option matching your connection:
- Gemini — API key for a Google AI Studio key.
- Gemini API gateway — URL + key for an external gateway implementing native
Gemini requests and x-goog-api-key authentication. Supply its API root, such as https://gateway.example/gemini, without /v1beta or a model operation.
- Databricks — profile for a Databricks workspace with native Gemini API
access. Omnigent manages profile authentication and model-name mapping; no workspace URL or token needs to be pasted into the gateway form.
OpenAI Responses and Chat Completions endpoints are not supported by native agy, even when they serve Gemini models. A separate protocol adapter would be required. The first Gemini credential becomes the default; select Make default for Gemini when switching, then start a fresh omni agy session.
See the native agy gateway guide for compatibility requirements, model and authentication behavior, troubleshooting, and smoke steps. These settings configure native agy; the Antigravity Python SDK retains its separate key/Vertex setup. omnigent opencode requires OpenCode 2.0.x (npm i -g @opencode/[email protected]). Its free models need no sign-in; run opencode auth login to add your own providers. See the OpenCode harness guide.
Using OpenClaw? See the OpenClaw integration guide to import its coding agents or drive a live OpenClaw Gateway session over ACP.
Two more coding agents are built in but have no omnigent <name> launcher of their own, because each ships a CLI that owns its own login or provider config. Install the vendor CLI, set it up, then name the harness:
# Grok Build (xAI)
curl -fsSL https://x.ai/cli/install.sh | bash
grok login --device-auth # xAI OAuth
omnigent run --harness grok # 'grok-build' also works
# Jcode (https://jcode.sh)
curl -fsSL https://jcode.sh/install | bash
# configure a provider in ~/.jcode/config.toml
omnigent run --harness jcode
Both speak the Agent Client Protocol over stdio, and Omnigent stores no credential for either — each CLI reads back the login or config it wrote to disk. That also means --model is refused rather than silently dropped: each runs its own default model. To pin one, configure an acp: agent whose command passes the vendor's own model flag. The exception is Jcode bound to an OpenAI-compatible Chat Completions provider in Omnigent's inference config: Omnigent then writes a session-private Jcode config and forwards the agent's model. Jcode's ACP server ignores session-scoped MCP servers, so Omnigent's MCP tools are not offered to it.
Use the vendor login or explicitly forward an API key. The builtin Grok row declares XAI_API_KEY for runner-to-Grok forwarding. Host-to-runner forwarding still requires OMNIGENT_RUNNER_ENV_PASSTHROUGH=XAI_API_KEY; exporting the key in your host shell alone does not reach a host-managed runner. Custom acp: agents can declare their own passthrough variables.
🐙 Polly and 🟠🔵 Debby
Two example agents ship with the repo, and they make good first sessions:
omnigent run examples/polly/
omnigent run examples/debby/
omnigent run examples/deep-research/
# ...or on a different harness (sub-agents keep their own):
omnigent run examples/polly/ --harness <harness>
omnigent run examples/debby/ --harness <harness>
Add -p "your prompt" to run headlessly. The CLI waits up to 30 minutes for first-turn recovery or additional asynchronous turns. Set OMNIGENT_HEADLESS_TIMEOUT_S to a positive finite number of seconds for that invocation to change this wait budget; separate process or job deadlines still apply.
🐙 Polly is a multi-agent coding orchestrator who writes no code herself. She's the tech lead: she plans, delegates the work to coding sub-agents (Claude Code, Codex, or Pi) in parallel git worktrees, then routes each diff to a reviewer from a different vendor than the one that wrote it. You merge.
🟠🔵 Debby is a brainstorming partner with two heads, one Claude and one GPT. Every question you ask goes to both heads, and she lays the two answers out side by side. Type /debate and the heads critique each other for a few rounds before converging. (She needs both a Claude and an OpenAI credential; see step 3.)
🔎 Deep Research is a single agent that answers a question with a cited, cross-checked report. It plans sub-queries, searches the live web and reads full pages through an MCP search server, and verifies each claim across independent sources. It's also the simplest example to copy from: one agent plus one tools/mcp/*.yaml server, no sub-agents.
Prefer the browser? One command starts the local server and registers this machine as a host:
omnigent start # starts the local server and registers this machine as a host
Open the server URL it prints, hit New Chat, pick your machine, and go. Check status with omnigent server status; stop everything with omnigent stop.
Integrations can open the new-chat composer with text already filled in using /?prompt=Explain%20this%20code. Build links with URLSearchParams to preserve newlines, Unicode, and characters such as & and +. For a deployment under /tools/omnigent, use /tools/omnigent/?prompt=Explain%20this%20code.
The text is an editable draft: the user chooses a host and agent and presses Send to start the session. The prompt parameter is removed from the current URL after loading, while other query parameters and the fragment are retained.
To suppress the automatic browser tab, use omni host --no-open or set OMNIGENT_HOST_NO_OPEN=1 in your shell. Both also apply to omni host --background and omni start. Sign-in may still open a browser; use --non-interactive in scripts to fail if sign-in is required.
To open it in the Omnigent desktop app instead, use --open-in-desktop or set OMNIGENT_HOST_OPEN_IN_DESKTOP=1; it falls back to the browser if the app is not installed, too old to accept the request, or does not respond within five seconds. URLs with base paths or query/fragment selectors stay in the browser to preserve their destination.
A session can also start itself: the Automations page runs an agent on a recurring schedule. See the automations guide for the schedule format, the REST API, and the current limits.
Set additional natural-language requirements for the isolated title generator:
omnigent config set --global \
'session_title_instructions=Prefix titles with the current date as lowercase mon-dd. Use PR-number-short-name for pull requests, issue-number-short-description for issues, and a short snake_case activity otherwise.'
The title generator receives the current date as YYYY-MM-DD, then applies these requirements to the first user message. The setting is server-owned and does not alter an agent's portable instructions. Default generated titles are limited to 100 characters; custom title requirements may use up to 200. Default titles over 100 characters are rejected, leaving the first-message fallback title in place. Custom titles over 200 characters are truncated with a trailing ellipsis. Manually assigned titles are also limited to 200 characters. The setting applies after the local Omnigent server restarts, both to new sessions and to later agent-initiated renames through sys_session_rename. Agent proposals are formatted using the same title requirements; if formatting fails, the existing title is preserved. Manual renames remain unchanged. For longer instructions, edit ~/.omnigent/config.yaml directly and use a YAML block scalar:
session_title_instructions: |
Prefix every title with the current date as lowercase mon-dd.
For pull requests use mon-dd-PR-number-short-name.
For issues use mon-dd-issue-number-short-description.
For other work use mon-dd-short_snake_case_activity.
Server operators can set the same key in the YAML passed to omnigent server --config.
Each user can also add personal requirements under Settings → General → Title instructions in the web UI, up to 4,000 characters. The server stores them per user and adds them after the server's session_title_instructions when titling that user's sessions; where the two conflict, the personal ones win. Leave the field blank to use only the server setting or the default prompt. Runners older than this server accept at most 4,000 characters, so for them the server shortens longer guidance: it drops the language rule first, then the server's instructions, and keeps the personal ones.
Claude Code sessions generate titles with the haiku model alias. If that model answers the message instead of returning a title, set OMNIGENT_BACKGROUND_TITLE_CLAUDE_MODEL to another Claude model alias, such as sonnet, in the environment of the omnigent or omnigent host process that runs the session.
By default, Claude Code and Codex sessions that Omnigent launches load the same MCP servers as the CLI on its own. To restrict inherited file-configured servers to Omnigent's tools plus servers you name (within the limits below), add this to ~/.omnigent/config.yaml:
mcp:
inherit: false
allow: [github] # optional; Omnigent's own `omnigent` server is always kept
harness:
codex-native:
mcp:
inherit: true # optional per-harness override
This applies to omnigent claude, omnigent codex, and Claude/Codex SDK sessions started on this machine, including new sessions and cold resumes. Claude receives an allowedMcpServers setting, plus a deniedMcpServers entry for each other entry in the allowedMcpServers lists of your user, project, local and managed Claude settings (project and local files are read from the launch directory, its Git root and, for a linked worktree, the main checkout); Claude would otherwise combine those lists with Omnigent's. Servers other than allowed ones in managed-mcp.json are denied by name, since Claude does not apply the allowlist to them. This also covers managedMcpServers in managed settings and their drop-ins. A serverUrl entry stops the launch when an allowed server uses HTTP or SSE, even if the URL pattern differs: Claude then admits remote servers by URL alone and ignores their names. Any serverCommand entry also stops the launch: Claude admits stdio servers by command alone, which would bypass the names or reject Omnigent's relay. Codex receives -c mcp_servers.<name>.enabled=false for every other server it would load from the system, user, trusted project, command-line, and managed config layers; a managed enabled = true for any other server stops the launch, since that layer outranks the override. For host-launched native Claude sessions, Claude's settings are read for the launched CLI's working directory and environment, including a configured env -C or CLAUDE_CONFIG_DIR wrapper. Strict mode refuses env wrapper forms whose launch environment cannot be resolved. Arbitrary Claude launcher scripts can change that context or discard injected settings; strict discovery does not inspect them. Use Claude directly or a supported env wrapper when relying on the allowlist. A file-managed allowManagedMcpServersOnly: true also stops strict launches, because Claude can ignore the invocation allowlist. These checks inspect managed settings files and their drop-ins. Claude remote, MDM and Windows registry managed-policy sources are not inspected. If one of those Claude settings or Codex config files exists but cannot be read or parsed, or a -c mcp_servers override is not a TOML table, the launch stops with an error naming it. A malformed inherit or allow value is ignored with a warning, so inherit: false with an invalid allow allows only omnigent; an unreadable config.yaml inherits everything. Your own Claude and Codex configuration files are not modified, and project .omnigent/config.yaml files cannot change this setting. Per-harness keys are claude-native, claude-sdk (or claude), codex-native, and codex. Claude plugin MCP servers cannot be allowlisted by name, so strict mode blocks them. Codex plugin MCP servers are not discovered, so strict mode does not disable them.
3. Choose & switch models
omnigent setup
Add a credential, set a default, or remove one, grouped by agent. Omnigent works with four kinds of credentials:
| | Kind | What it is | |---|---|---| | 🔑 | API key | A first-party vendor key for Anthropic, OpenAI, and similar providers | | 🎟️ | Subscription | A Claude Pro/Max or ChatGPT plan, via the official claude / codex CLIs | | 🌐 | Gateway | Any OpenAI- or Anthropic-compatible base_url and key (OpenRouter, LiteLLM, Ollama, vLLM, Azure) | | 🧱 | Databricks | A Databricks workspace profile (requires the databricks extra) |
Defaults are per agent, so a Claude default and a Codex default coexist. You can also switch models in the middle of a session with the /model command.
When you add a Gateway credential, omnigent setup asks for a base URL and a key. The base URL depends on which agent you point it at:
| Provider | For | Base URL | Key | |---|---|---|---| | OpenRouter | Claude Code | https://openrouter.ai/api | your OpenRouter key (sk-or-…) | | OpenRouter | Codex / OpenAI agents | https://openrouter.ai/api/v1 | your OpenRouter key (sk-or-…) | | Ollama (local) | Codex / OpenAI agents | http://localhost:11434/v1 | any value (Ollama ignores it) |
For Claude Code, point at OpenRouter's Anthropic-compatible endpoint (…/api, not …/api/v1). For Codex and the OpenAI-agents harness, use the OpenAI-compatible …/api/v1.
4. Deploy a server (and use it from your phone📱)
Run Omnigent on a server with a stable URL (deploy/README.md is the full guide) and your sessions become reachable from anywhere, including your phone. The web UI is built for mobile, so you get the same chat, sub-agents, terminals, and files, in sync with your laptop.
One docker compose up runs the server on any host you have (a VPS, a home server); Render and Railway deploy with one click; Fly.io, Hugging Face Spaces, Modal, Cloudflare (serverless, scale-to-zero), and Databricks Apps (backed by Lakebase Postgres and Unity Catalog Volumes) are covered too — and a Cloudflare quick tunnel (public) or Tailscale (private) reaches a server running on your own laptop without a deploy. The server can also provision a cloud sandbox per session (managed hosts), so no laptop has to stay online. The full menu of targets, the database options, the sandbox setup, and branding/white-labeling live in deploy/README.md.
Once the server is up, sign in and register your laptop as a host:
omnigent login https://your-host # sign in once; run / attach / host reuse the token
omnigent host https://your-host # new sessions can now run on this machine
[!TIP]
On your own network you don't need a deploy. Open your machine's LAN
address on your phone (e.g.
http://192.168.x.x:6767).
5. Collaborate with your team
Omnigent supports multi-user accounts, controlled by one environment variable:
OMNIGENT_AUTH_ENABLED=1 omnigent server --background
The Docker deploy in step 4 turns it on for you (OMNIGENT_AUTH_ENABLED defaults to 1 there).
Invite your teammates
Open the web UI (http://localhost:6767 locally, or your host's URL) and sign in as admin; first run prints the password and saves it locally. Then open Admin → Members → Invite to create a single-use invite link, no email server needed. Send it over; your teammate opens it, sets a password, and they're in. Signup is invite-only.
[!NOTE]
Teammates need to be able to reach the server. A local server is only
reachable on your network; for anyone off it, deploy an always-on host
(see step 4).
Code together
- Share a live session. Hit Share in the web UI and send the link;
teammates watch your agent work and chat with it in real time.
- Share with everyone who can sign in. Admins can allow public Edit in
Settings > Sharing > Maximum public permission. Owners then choose Share > General access > Edit. The default stays Read.
- Leave a shared session. Done with a session someone shared with you?
Pick Leave session from its sidebar row menu to drop it from your sidebar. Nothing is deleted — the owner keeps it and can share it again.
- Co-drive. A teammate co-attaches to your running session; their
messages execute on your machine. Great for pairing or handing the keyboard to a domain expert mid-investigation.
omnigent attach <session_id>
- Fork. Clone a conversation onto your own machine and continue
independently from the fork point.
omnigent run --fork <session_id>
[!TIP]
Want your team to sign in with the logins they already have (**Google,
GitHub, Okta, Microsoft**)? Set
OMNIGENT_OIDC_ISSUERplus a client ID
and secret on your deployed server and restart. The full walkthrough,
domain allowlists, and the proxy-only
headerauth mode are covered in
6. Govern your agents with policies
Policies decide what an agent may do: run shell commands, edit files, spend tokens. They check every action and either allow it, block it, or pause to ask you first.
- In the web UI: open a session's info panel to browse the available
policies and toggle them on or off.
- In chat: ask. *"Add a policy that asks me before running shell
commands."* The agent sets it up for you.
Want defaults that apply to everyone, or to a specific agent? Define them in your server config or an agent's YAML:
policies:
approve_shell:
type: function
handler: omnigent.policies.builtins.safety.ask_on_os_tools # ask before shell / file writes
cap_calls:
type: function
handler: omnigent.policies.builtins.safety.max_tool_calls_per_session
factory_params:
limit: 50 # cap how many tools one session can call
budget:
type: function
handler: omnigent.policies.builtins.cost.cost_budget
factory_params:
max_cost_usd: 5.00 # hard spend cap...
ask_thresholds_usd: [3.00] # ...with a soft warning on the way
Policies stack across three levels, server-wide (admin), per-agent (developer), and per-session (you), with the stricter session rules checked first. Spend caps and access limits ship as builtins.
See the policy guide for the full catalog and trust model.
Write your own agent
For centrally managed remote tools, reusable account connections, and a gateway with session policies around built-in or external backends, see the MCP registry and gateway prototype. Direct MCP requests use the caller's connected account. A shared session's runner uses its authenticated account (normally the owner), while policies evaluate the turn's initiating user. Databricks connections ask for a workspace URL before OAuth. KMS limits serialized grants to 4096 bytes; use Vault for larger grants.
An agent is a short YAML file: your prompt, your tools — local Python functions, MCP servers, and sub-agents a supervisor can delegate to. You don't have to write it by hand: agents can build agents, so describe the agent you want in any Omnigent chat and it authors the file for you.
name: my_agent
prompt: You are a helpful data analyst.
executor:
harness: claude-sdk # or: claude-native, codex, codex-native, cursor,
# cursor-native, opencode-native, goose,
# goose-native, kiro-native, antigravity,
# antigravity-native, copilot, devin-native,
# qwen, qwen-native, kimi, kimi-native, hermes,
# hermes-native, pi, pi-native, grok, jcode,
# openai-agents, open-responses, acp:<slug>
tools:
# A local Python function (schema auto-generated from the signature)
word_count:
type: function
callable: mypackage.mymodule.word_count
# Tools from an MCP server (a local command, or a remote URL)
docs:
type: mcp
url: https://example.com/mcp
# A sub-agent the supervisor can delegate to
researcher:
type: agent
prompt: Search for relevant information and summarize it.
tools:
word_count: inherit
Run it with:
omnigent run path/to/my_agent.yaml
The same file can declare sub-agents and reviewers. For a fuller example, see Polly at examples/polly/, and the Agent YAML spec for the full schema.
Telemetry
Omnigent collects anonymized usage data (telemetry) by default. This data contains no sensitive or personally identifiable information. If you're using Omnigent through a managed service or distribution, please consult your managed service agreement to determine any data collection that may impact your use of the service. To opt out, follow our instructions in Usage Telemetry.
Contributing
Contributions are welcome. See CONTRIBUTING.md for how to set up your environment, run the checks, and open a pull request.
Adding or changing support for a harness (Claude, Codex, Cursor, OpenCode, Hermes, Pi, ...)? Run the harness test bench to check its capability matrix against observed behavior.
Contributors
Thanks to all of our amazing contributors!