by omagents
Agent toolkit for OpenCode, Codex, and DeepSeek Harness: skills, MCP, background agents, and durable job tracking
# Add to your Claude Code skills
git clone https://github.com/omagents/omagentsomagents is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by omagents. Agent toolkit for OpenCode, Codex, and DeepSeek Harness: skills, MCP, background agents, and durable job tracking. It has 361 GitHub stars.
omagents's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/omagents/omagents" and add it to your Claude Code skills directory (see the Installation section above).
omagents is primarily written in JavaScript. It is open-source under omagents on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh omagents against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
English | 简体中文 | 日本語 | 한국어 | Türkçe
OmAgents is a multi-host agent toolkit for OpenCode, Codex, and DeepSeek Harness (DSH). It bundles 19 OmAgents skills, 15 Superpowers skills, MCP servers, native background-agent integration, deep research, and Python tooling. A shared Core package keeps state and host-neutral behavior consistent.
Choose the package for your host. The installer takes no host positional argument.
# OpenCode
npx @omagents/omagents
# Codex
npx @omagents/omagents-codex
# DeepSeek Harness
dsh plugin --profile web add @omagents/omagents-dsh
Restart the host after installation. @omagents/core is installed automatically as a dependency; do not install it separately as a plugin. The current release candidate aligns all four packages at 0.18.0.
Python 3.11+ must be available on PATH for Python-backed skills. DSH requires Node.js 24.9 or newer and a DSH version in the package's tested compatibility range.
export OMAGENTS_SEARCH_PROVIDER="auto" # default; use "exa", "keenable", or "youcom" for a direct-only provider
export EXA_API_KEY="your-exa-key"
export KEENABLE_API_KEY="your-keenable-key" # optional
export YDC_API_KEY="your-youcom-key" # optional
export CONTEXT7_API_KEY="your-context7-key"
export GITHUB_TOKEN="your-github-token"
OMAGENTS_SEARCH_PROVIDER: supports auto, exa, keenable, and youcom; auto is the default when unset or empty. Credentials never switch the provider, and unsupported values fail explicitly.EXA_API_KEY: authenticates hosted Exa through x-api-key; without it, the same endpoint works anonymously. This applies to the automatic Proxy and to explicit direct Exa registration.KEENABLE_API_KEY: optional for automatic fallback and explicit keenable. With a key, Keenable uses https://api.keenable.ai/mcp through X-API-Key; without one, it uses the keyless https://api.keenable.ai/mcp-public. The public tier allows 1,000 requests/hour and 10 requests/second per IP and logs search queries or fetched URLs and prompts, plus IP, user agent, and X-Keenable-Title. For Codex, a configured key is written to .mcp.json like Exa's.YDC_API_KEY: optional for automatic fallback and explicit youcom, whose direct registration is named youdotcom. With a key, You.com uses https://api.you.com/mcp through Authorization: Bearer <YDC_API_KEY>; without one, it uses keyless https://api.you.com/mcp/free with no Authorization header or OAuth flow. The official You.com MCP documentation advertises 100 queries/day for the keyless endpoint. Keyless means no account credential, not anonymous network traffic or an absence of provider logging.CONTEXT7_API_KEY: optional rate-limit credentials for the local @upstash/context7-mcp server.GITHUB_TOKEN: enables the GitHub Copilot MCP. Without it, OmAgents uses mcp.grep.app for public code search.In auto, one local websearch Search MCP Proxy initially follows Exa → Keenable → You.com: it tries Exa first and makes at most one Keenable attempt after a fallback-eligible Exa failure, then at most one You.com attempt after a fallback-eligible Keenable failure. After a fallback-eligible Exa failure, the same Proxy process uses Keenable → You.com → Exa for every later call, including calls from other sessions sharing that process. Recreating the Proxy (normally by restarting the host service) restores the initial order; this state is memory-only and has no cooldown. Successful empty results, authentication or permission failures, invalid parameters, explicit non-retryable failures, and caller cancellation never fall back or change the order. Each provider receives at most one attempt per call, bounded at 30 seconds per backend attempt, including lazy initialization and the tool call. A full three-attempt call therefore has an approximate 90-second backend upper bound, excluding small local processing time.
The Proxy exposes generic search and fetch tools; fetch accepts exactly one http or https URL. OpenCode 1.x names them websearch_search and websearch_fetch; OpenCode 2.x exposes MCP tools through Code Mode as tools.<server>.<tool>, so they appear as tools.websearch.search and tools.websearch.fetch; Codex and DSH name them mcp__websearch__search and mcp__websearch__fetch. Explicit exa, keenable, and youcom retain their direct registrations and native provider tool names; direct You.com uses youdotcom with you-search and you-extract, which become tools.youdotcom.you-search and tools.youdotcom.you-extract under OpenCode 2.x Code Mode.
On a You.com attempt, generic search maps to you-search: it forwards query unchanged and maps maxResults to count (default 10, range 1–50). Generic fetch passes only url to you-extract, using the common keyed/keyless subset. You.com has no direct equivalent for objective or maxCharacters; the Proxy omits them only for that attempt, without local query rewriting or response truncation. Exa and Keenable success metadata remains unchanged. A You.com success after two eligible failures reports provider: "youcom", retains fallback for the first failure, and adds ordered fallbacks metadata plus one readable Fallback line per prior eligible failure.
Built-in OpenCode websearch: OpenCode 2.x also ships its own websearch tool, whose name resembles the Proxy's routed tools (websearch_search and websearch_fetch on OpenCode 1.x, tools.websearch.search and tools.websearch.fetch on OpenCode 2.x); agents can pick the wrong one, and the built-in tool has no OmAgents failover. The installer therefore writes "websearch": false into the resolved opencode.json whenever that key is absent, removing the built-in tool so the Proxy's routed tools are the only websearch. An explicit websearch value is never overwritten, --keep-websearch skips this default, and deleting the key (or setting it back yourself) restores the built-in tool after a restart. OpenCode 1.x has no built-in websearch tool, so the setting is inert there. OpenCode's webfetch is unaffected.
Privacy and opt-out: automatic fallback can disclose the same search query, optional objective, or target URL to Exa, Keenable, and You.com. In particular, a fallback-eligible Exa failure can send the same search query or URL to Keenable, including its public-tier logging when no Keenable key is configured; an eligible Keenable failure can then send the query or URL to You.com. You.com does not receive objective as a native argument, but earlier providers may have received it. Select explicit exa to retain direct Exa behavior and prevent automatic fallback; explicit keenable and youcom are also single-provider opt-outs that bypass the Proxy. Only calls through the built-in Proxy have this failover guarantee: native host web tools are outside it (the plugin cannot disable them at runtime; for OpenCode, the installer instead removes the built-in websearch tool from the toolset as described above), and a user-defined websearch or youdotcom MCP remains user-owned, takes precedence, and is not wrapped.
Codex install timing: Codex snapshots provider and credential configuration when the installer runs. Set the environment before installation. After changing the provider or keys, including YDC_API_KEY, rerun the installer—for example, OMAGENTS_SEARCH_PROVIDER="keenable" npx @omagents/omagents-codex—then restart Codex with that environment. Reinstallation refreshes the copied Proxy and replaces stale provider entries and credentials.
For Codex, Bearer environment indirection is scoped by MCP server owner: github uses bearer_token_env_var = "GITHUB_TOKEN", while direct youdotcom uses bearer_token_env_var = "YDC_API_KEY" instead of serializing the Bearer secret. For the automatic local Proxy, configured YDC_API_KEY remains a stdio env value in .mcp.json. The Codex plugin .mcp.json contract has no equivalent indirection for Exa's x-api-key, Keenable's X-API-Key, or Context7's stdio env, so configured Exa, Keenable, and Context7 values are written to that file. On platforms that honor POSIX modes, the installer creates private directories with mode 0700 and writes or rewrites .mcp.json with mode 0600.
OmAgents for OpenCode follows OpenCode's plugin update rules.
The installer records the plugin by its bare package name (@omagents/omagents). A bare name stays on the version OpenCode installed; it never updates itself, and rerunning npx @omagents/omagents only refreshes configuration (including the websearch default), not the installed plugin.
Check and install updates manually at any time:
opencode plugin check # report available updates
opencode plugin update @omagents/omagents # install the latest published version
To update automatically — checked at startup and every 24 hours, reloaded in place, with the previous version kept running if a new one fails to load — follow a version in opencode.json:
{ "plugins": ["@omagents/omagents@latest"] }
A version