cursor-sdk-e2e-dev
Skill11k starsChanged 59 days agoApache-2.0View on GitHub
Spin up a live local Omnigent server and exercise the Cursor SDK harness end-to-end — build cursor agents, run real turns, smoke-test, and bug-bash. Load when developing, testing, or debugging the cursor harness (omnigent/inner/cursor_executor.py, cursor_harness.py, cursor_auth.py) or its auth / model / tool-bridge behavior.
- Reads credentials
- Deletes or force-pushes
- Commits and pushes
Trending
Less talk lately.about the whole repository
Who's talking about omnigent-ai/omnigent
- @jonathanabend.bsky.social“Omnigent (open-sourced by Databricks) is a meta-harness which you can use as single interface to run …”Bluesky · Aug 12, 2026 · 5 likes
- A Hacker News story“Omnigent: Open-source meta harness for agents”Hacker News · Jun 24, 2026 · 5 points
- @laxima-tech.bsky.social“A meta-harness for all your AI agents. Omnigent provides a common layer over Claude Code, Codex, Pi, and …”Bluesky · Jun 14, 2026 · 5 likes
- @agentpalisade.bsky.social“Omnigent is an open-source meta-harness: one governed layer over Claude Code, Codex, Cursor, OpenCode and …”Bluesky · Jul 1, 2026 · 2 likes
- @beyondthecode.bsky.social“🧠 Omnigent provides a unified framework for evaluating and comparing different coding agents including …”Bluesky · Jun 17, 2026 · 2 likes
The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 53
Talked about on GitHub, Bluesky and Hacker News (53 times).
On GitHub · 43
- Oct 2, 2026Add managed MCP registry and gateway for dev validation — DataDog/omnigent1 reaction
- Jun 30, 2026Add this repo as a github submodule within MoonMind: https://github.com/omnigent-ai/omnigent — MoonLadderStudios/MoonMind1 reaction · 1 comment
- Jun 14, 2026Enable Persistent Session Hierarchies for Multi-Agent Orchestration and Coordination — agent-of-empires/agent-of-empires1 reaction · 4 comments
- Oct 6, 2026agent-skills.github.omnigent-ai.omnigent: 0.16.0 → 0.17.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.omnigent-ai.omnigent: 0.15.0 → 0.16.0 — sudosubin/agents.nix0 reactions
38 more on GitHub
- Sep 30, 2026kimi-native rejects long pasted prompts when the input editor scrolls — jan21deepak/omnigent0 reactions
- Sep 30, 2026Make subagent chats discoverable and hide Claude team delivery messages — jan21deepak/omnigent0 reactions
- Sep 30, 2026[Bug] Generic side chat remains available when managed session forks are disabled — jan21deepak/omnigent0 reactions
- Sep 30, 2026Nested child sessions and failed retries can lose parent host routing — jan21deepak/omnigent0 reactions
- Sep 28, 2026[Index] omnigent-ai/omnigent — zhiweiofli/github-kb0 reactions · 1 comment
- Sep 27, 2026Composer pre-send queue: edit, reorder and hold follow-ups while a turn runs — k-k1/agent-fleet0 reactions
- Sep 27, 2026Richer CLI signals: OpenCode cost/compaction, Kiro ACP recorder, Cursor stop-hook usage — k-k1/agent-fleet0 reactions · 1 comment
- Sep 27, 2026Drive agy through its structured RPC (measure on the pinned version first) — k-k1/agent-fleet0 reactions
- Sep 27, 2026Contract probes that check declared Caps against observed behaviour (DRIFT) — k-k1/agent-fleet0 reactions
- Sep 27, 2026Serve a kind catalog from the Agent and derive the CP/Console kind lists from it — k-k1/agent-fleet0 reactions
- Sep 27, 2026Per-agent OS sandbox (bubblewrap/seatbelt) is not viable in the Workspace — k-k1/agent-fleet0 reactions
- Sep 27, 2026Attach sessions running on the user's own machine to the Console — k-k1/agent-fleet0 reactions · 1 comment
- Sep 27, 2026Evaluate Agent Client Protocol (ACP) as a generic managed-driver path — k-k1/agent-fleet0 reactions · 1 comment
- Sep 27, 2026Kind-neutral agent definitions rendered into each CLI's native files — k-k1/agent-fleet0 reactions · 1 comment
- Sep 27, 2026Debate mode: ask two models, show side by side, let them critique each other — k-k1/agent-fleet0 reactions
- Sep 27, 2026Built-in plan → parallel worktree lanes → reviewer workflow — k-k1/agent-fleet0 reactions
- Sep 27, 2026Keep credentials out of agent shells: inject them in an egress proxy — k-k1/agent-fleet0 reactions · 1 comment
- Sep 27, 2026Stateful, session-aware tool policies (approval gates, tool-call caps, path scoping) — k-k1/agent-fleet0 reactions · 1 comment
- Sep 17, 2026Exploration: Omnigent as an agent adapter — raymondk/tendless0 reactions
- Sep 3, 2026chore(deps): bump omnigent from 0.1.0 to 0.3.0 in /sdks/python-client — coinmage777/omnigent0 reactions
- Aug 21, 2026[Argus] CVE-2026-62674: Omnigent: 공유 에이전트 번들 덮어쓰기를 통한 인증된 러너 RCE — LEEKIYOON-SEC/Argus-DEV0 reactions
- Aug 13, 2026[Bug] Red-dot session status indicator falsely shows "new / your turn" for idle sessions — jan21deepak/omnigent0 reactions · 2 comments
- Aug 13, 2026[Bug] Chat-mode stop button doesn't halt execution; agent loops tinkering/stopping — jan21deepak/omnigent0 reactions · 1 comment
- Aug 11, 2026Credential-injection egress proxy: tokens never enter model context or tool sandboxes — DadJokez/AI-workspace0 reactions · 1 comment
- Aug 10, 2026agy (antigravity-native) headless sub-agents hang indefinitely on native permission prompts — jan21deepak/omnigent0 reactions · 1 comment
- Aug 10, 2026[Bug] Automation-created sessions don't show the chat/terminal view toggle — jan21deepak/omnigent0 reactions · 2 comments
- Aug 10, 2026[Bug] Session graph view assigns all nested Claude Code subagents to the top-level session as parent — jan21deepak/omnigent0 reactions · 1 comment
- Aug 10, 2026[Feature] Allow defining harness settings (e.g. Claude settings.json) in a custom agent — jan21deepak/omnigent0 reactions · 1 comment
- Aug 10, 2026[Feature] Add ⌘N hotkey to create a new session — jan21deepak/omnigent0 reactions
- Aug 10, 2026[Bug] ⌘N in the macOS desktop app opens a new app window instead of a new session — jan21deepak/omnigent0 reactions · 1 comment
- Aug 10, 2026Custom Agent lifecycle: versions, sharing, catalog, updates, and eval-gated publishing — DadJokez/AI-workspace0 reactions
- Aug 5, 2026Add Blaxel as a sandbox provider — jan21deepak/omnigent0 reactions
- Aug 5, 2026[Feature] Delete button on desktop/web UI — jan21deepak/omnigent0 reactions
- Aug 5, 2026[Feature] Auto-discover repo-declared harnesses — jan21deepak/omnigent0 reactions
- Jul 19, 2026Upstream update available — professoryu06/omnigent-zh-cn0 reactions · 12 comments
- Jun 25, 2026VS5: cursor-cloud onboarding polish (readiness, install, CLI) — Praneeth16/omnigent0 reactions
- Jun 25, 2026VS3: cursor-cloud model resolution + /model override — Praneeth16/omnigent0 reactions
- Jun 24, 2026Further improvement on teams: omnigent — voitta-ai/skillz0 reactions · 1 comment
On Bluesky · 6
- Aug 12, 2026Omnigent (open-sourced by Databricks) is a meta-harness which you can use as single interface to run different harnesses like Claude Code,… — @jonathanabend.bsky.social5 likes and reposts · 2 replies
- Jun 14, 2026A meta-harness for all your AI agents. Omnigent provides a common layer over Claude Code, Codex, Pi, and the agents you write yourself:… — @laxima-tech.bsky.social5 likes and reposts · 2 replies
- Jul 1, 2026Omnigent is an open-source meta-harness: one governed layer over Claude Code, Codex, Cursor, OpenCode and custom agents. Mix vendors in a… — @agentpalisade.bsky.social2 likes and reposts
- Jun 17, 2026🧠 Omnigent provides a unified framework for evaluating and comparing different coding agents including Claude Code, Codex, Cursor, and Pi.… — @beyondthecode.bsky.social2 likes and reposts · 2 replies
- Jun 19, 2026Check it out here: github.com/omnigent-ai/omnigent — @terrytangyuan.xyz1 likes and repost
1 more on Bluesky
- Jun 14, 2026🔗 Omnigent repo: https://github.com/omnigent-ai/omnigent 🔗 Artículo MarkTechPost:… — @lluis154.bsky.social1 likes and repost
On Hacker News · 4
- Jun 24, 2026Omnigent: Open-source meta harness for agents5 points
- Jun 17, 2026Omnigent: Meta-Harness for Coding Agents (Claude Code, Codex, Cursor, Pi)2 points
- Jun 16, 2026Omnigent: A meta-harness for all your AI agents2 points
- Jun 14, 2026Meta-Harness by Databricks and Neon2 points
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/triage_v2/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/triage_v2/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- antigravity-native-e2e-devSkill
- antigravity-sdk-e2e-devSkill
- cli-setup-verifySkill
- copilot-sdk-e2e-devSkill
- harness-integration-guideSkill
- pi-native-e2e-devSkill
- polly-e2e-devSkill
- run-load-testSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
If both are False, run omni setup and register a Cursor key, or export CURSOR_API_KEY=crsr_….
- Very specific: line 42
Use the printed URL below as $SERVER.
- Very specific: line 81
Shell / file tools: add --tools coding.
- Very specific: line 82
Specific model: add --model gpt-5 (or composer-1, auto, databricks-claude-opus-4-8, …).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cursor SDK harness: end-to-end dev & testing
The cursor harness drives the Cursor Python SDK (cursor_sdk, an
AsyncAgent over a local bridge) and bridges Omnigent's sys_* tools into
Cursor as SDK custom_tools. This skill is the proven recipe for running it
for real against a live local server — not just the unit tests.
The harness runs as a local runner from your current checkout, so
omni run <bundle> --server <url>exercises exactly the code you're on.
Prerequisites (check these first)
- You're on the branch you want to test. The cursor harness merged to
main(#203/#204). Test onmainunless validating a specific branch. - A Cursor API key is configured. The SDK requires an API key
(
crsr_…); there is nocursor-agent loginpath. Verify (booleans only — never print the key):
If both are.venv/bin/python -c "from omnigent.onboarding.cursor_auth import cursor_api_key_configured; import os; print('config:', cursor_api_key_configured(), 'env:', bool(os.environ.get('CURSOR_API_KEY')))"False, runomni setupand register a Cursor key, orexport CURSOR_API_KEY=crsr_…. cursor-sdkis installed (a baseline dependency):.venv/bin/python -c "import cursor_sdk; print(cursor_sdk.__file__)".- Network egress to Cursor's backend. The bridge subprocess talks to Cursor's own API; a turn that hangs or fails to connect on a locked-down host is usually an egress problem, not a harness bug.
Step 1 — start a local server
cd /path/to/omnigent
.venv/bin/omni server --background # spawns a detached server on a free loopback port
.venv/bin/omni server status # prints the URL, e.g. http://127.0.0.1:6767Use the printed URL below as $SERVER. (You can also run a foreground
server on a fixed port with omnigent server --port 7777 --no-open.)
Step 2 — build a cursor agent bundle
A spec with spec_version must be a directory containing config.yaml —
not a single .yaml file. Minimal cursor agent:
mkdir -p /tmp/cursor-dev
cat > /tmp/cursor-dev/config.yaml <<'YAML'
spec_version: 1
name: cursor-dev
description: Cursor SDK dev/test agent.
executor:
type: omnigent
config:
harness: cursor
# model: gpt-5 # optional; omit for cursor "auto"
prompt: |
You are a terse test agent. Answer in as few words as possible.
YAMLFor sub-agents, tools, guardrails/policies, copy the field shapes from
examples/polly/config.yaml and examples/debby/config.yaml.
Step 3 — run a turn (and smoke-test)
SERVER=http://127.0.0.1:6767 # the URL from `omni server status`
timeout 280 .venv/bin/omni run /tmp/cursor-dev \
-p "Reply with exactly the single word: PONG" \
--server "$SERVER" 2>&1A healthy run prints connection lines then the assistant reply (PONG). If
that works, the full stack is good: key, egress, bridge, harness.
- Shell / file tools: add
--tools coding. - Specific model: add
--model gpt-5(orcomposer-1,auto,databricks-claude-opus-4-8, …).
Targeted scenarios
| Goal | How | |
| Native tools (shell/edit/read) | --tools coding, prompt to create→read→edit a file and run a shell command; confirm it actually touches disk | |
Bridged sys_* / sub-agent dispatch | declare a sub-agent (tools.agents/spawn), prompt the cursor agent to delegate — exercises the custom_tools daemon-thread bridge (run_coroutine_threadsafe) | |
| Model routing | run the same bundle with several --model values; note which actually runs | |
| Policy / guardrail | add a guardrail that denies a keyword; confirm PHASE_LLM_REQUEST/PHASE_LLM_RESPONSE blocks it | |
| Concurrency / leaks | fire several omni run … & at once; then `pgrep -af "cursor-sdk-bridge | cursor_sdk"` to check for orphaned bridge subprocesses |
Gotchas (these cost real time)
config.yaml'sserver:defaults to a remote server (e.g. a Databricks Apps URL). Omitting--serversends your turn to that remote deploy — which may be stale and reject the cursor harness withexecutor.config.harness: must be one of […], got 'cursor'. Always pass--server http://127.0.0.1:<port>for local testing. (That allowlist isomnigent/spec/_omnigent_compat.py; if a local server rejectscursor, it's running stale code — restart it from your checkout.)- A spec with
spec_versionmust be a directory +config.yaml, never a single.yamlfile. - Cursor needs a
crsr_API key (no CLI login). Resolution precedence: specexecutor.auth(api_key) > storedcursor:config block (omni setup) > ambientCURSOR_API_KEY. - No Databricks gateway. Cursor talks only to Cursor's backend, so a
databricks-*model is silently resolved to cursorauto— it will not route through the AI Gateway like claude-sdk/codex/pi. - Use a model id from the account's catalog. Bare
gpt-5is not valid; the SDK rejects unknown ids. Valid examples seen live:default,composer-2.5,claude-opus-4-8,gpt-5.5. Run with--modeland read the SDK'sAvailable models:list to discover the live set. - Turns take 30–90s — always wrap in
timeout 280. - Local-runner topology:
omni run <bundle> --server <url>runs the harness from your current checkout; the server only holds state. The managedomni server --backgroundserver runs from whatever venv launched it. - Never print/echo the Cursor key in logs or commands.
Code & tests
- Executor (SDK bridge):
omnigent/inner/cursor_executor.py - Wrap (HARNESS_CURSOR_ env → executor):*
omnigent/inner/cursor_harness.py - Auth / key resolution:
omnigent/onboarding/cursor_auth.py - Spawn env:
_build_cursor_spawn_envinomnigent/runtime/workflow.py
# Unit tests (use --frozen; the cwsandbox extra is unsatisfiable on public PyPI here)
uv run --frozen --group test python -m pytest \
tests/inner/test_cursor_executor.py \
tests/runtime/test_cursor_spawn_env.py \
tests/onboarding/test_cursor_auth.py -q
# Gated end-to-end harness test
uv run --frozen --group test python -m pytest tests/e2e/omnigent/test_per_harness_cursor.py -qBug-bash (fan out)
To stress the harness, run several scenario probes in parallel — each builds a
bundle and runs real turns against the same $SERVER, then reports what broke.
Highest-value targets: the custom_tools bridge (hangs / lost tool results /
errors reported as success), model routing, policy enforcement, streamed-output
rendering, and orphaned bridge processes after teardown.
Known sharp edges (found via live bug-bash — "as of this writing")
Live-observed cursor-harness behaviors to watch for while testing (some may be fixed by the time you read this — verify):
- Start failures are swallowed. An invalid/unavailable
--model(or any bridge start error) makesomni run -pexit 0 with empty output, while the server records afailedsession + aRuntimeErroritem the user never sees. If a turn returns nothing, check the session status / items (GET /v1/sessions/{id}/items) — don't assume success. (claude-sdk surfaces such errors; cursor doesn't yet.) - Built-in coding tools bypass
on:[tool_call]policies. Cursor's native shell/file tools (--tools coding) don't emittool_callevents, soon:[tool_call]guardrails (e.g.blast_radius) never see them — a built-in shell can rungit push --forceeven under a DENY policy. Bridgedsys_*tools are gated correctly. Don't rely onon:[tool_call]guardrails for cursor built-in tools. - Run-on assistant text. Adjacent assistant text blocks are concatenated with no separator, so pre-tool narration can glue onto the post-tool answer.
- Non-graceful exit orphans the bridge. Graceful teardown reaps it (the
#221
aclosefix works), but aSIGKILL/hard-exit leaves an orphanedcursor-sdk-bridge. After hard kills, sweeppgrep -af cursor-sdk-bridge.
Cleanup
.venv/bin/omni server stop # stop the managed background server
rm -rf /tmp/cursor-dev # remove scratch bundles
pgrep -af "cursor-sdk-bridge" # confirm no orphaned bridge subprocesses lingerDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

