AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified Apache-2.0 Self-run

Agent Bridge

mcp-xyva-yuangui-agent-bridge · by xyva-yuangui

Make the AI coding agents on your machine (Claude Code, Codex, Reasonix, ZCode) work as one team. Zero-dependency, local, MCP + CLI.

— No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add mcp-xyva-yuangui-agent-bridge

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-xyva-yuangui-agent-bridge)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 1mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Agent Bridge? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

agent-bridge

English | [简体中文](README.zh-CN.md)

Agent Bridge is a local-first task board for Codex, Claude Code, Reasonix, and ZCode. It uses Python's standard library, keeps data under ~/.agent-bridge, and has no resident daemon, network listener, cloud synchronization, or default telemetry.

Created and maintained by 圆规 (Yuangui) · @xyva-yuangui

[License](LICENSE) (Apache-2.0) · [Security](SECURITY.md) · [Contributing](CONTRIBUTING.md) · [Architecture](docs/architecture/v2.md) · [Windows](docs/installation/windows.md) · [macOS](docs/installation/macos.md) · [Migration](docs/installation/migration-v1.md) · [Release checklist](docs/release/checklist.md)

Requirements and support boundary

  • Python 3.9+ (release CI covers Python 3.9–3.13)
  • Windows 10/11 with PowerShell 5.1+, or macOS/Linux with Bash
  • A local filesystem; network shares and cloud-sync folders are unsupported

The packaged Windows notification helper targets x86-64. Windows on ARM is not currently a native release target; macOS ships a universal2 helper for Intel and Apple Silicon inside the portable ZIP.

The four integrations ship as versioned session-card templates. bridge setup status reports the actual capability for Codex, Claude Code, Reasonix, or ZCode; when a host is unavailable, use the terminal fallback. Windows source and CI checks exist. macOS source/CI checks do not prove notification permission, actions, signing, Gatekeeper, notarization, or Intel/Apple Silicon behavior: those remain real-machine release requirements.

Supported agents

| Agent | Desktop | CLI | How it checks in | |---|:---:|:---:|---| | Codex | ✅ | ✅ | AGENTS.md directive + MCP | | Claude Code | ✅ | ✅ | UserPromptSubmit hook (automatic) | | ZCode | ✅ | — | Plugin hook (automatic) | | Reasonix | ✅ | ✅ | system_prompt + MCP, or --wake |


How it works

flowchart TB
    subgraph Agents["Your AI Agents — one machine"]
        C["CodexAGENTS.md + MCP"]
        L["Claude CodeUserPromptSubmit hook"]
        Z["ZCodeplugin hook"]
        R["Reasonixsystem_prompt + MCP"]
    end

    subgraph Transport["Transport Layer"]
        CLI["bridge CLIterminal agents"]
        MCP["bridge_mcpMCP server · desktop apps"]
    end

    subgraph Board["Shared State — ~/.agent-bridge/"]
        BJ["board.jsontask state"]
        AJ["activity.jsonlaudit log"]
        AR["archive.jsonold tasks"]
    end

    C --> CLI
    L --> CLI
    Z --> CLI
    C -.-> MCP
    L -.-> MCP
    R -.-> MCP
    CLI --> BJ
    MCP --> BJ
    BJ --> AJ
    BJ --> AR
    Agents -.->|"notify + wake"| Agents

Delivery state machine

stateDiagram-v2
    [*] --> queued: bridge send
    queued --> wake_launched: wake process started
    queued --> unavailable: no wake channel
    wake_launched --> acknowledged: target checks in
    wake_launched --> failed: delivery error
    unavailable --> [*]
    failed --> [*]
    acknowledged --> [*]

Task lifecycle

stateDiagram-v2
    [*] --> pending: bridge send
    pending --> working: bridge claim
    working --> completed: bridge done
    working --> input_required: bridge question
    input_required --> working: bridge answer
    working --> review_requested: bridge review
    review_requested --> completed: bridge review --verdict approve
    review_requested --> changes_requested: bridge review --verdict changes
    changes_requested --> working: bridge claim
    completed --> [*]

Key features

Cross-platform file locking

Uses fcntl.flock on Unix, O_CREAT|O_EXCL portable locks on Windows. Stale lock detection with PID validation prevents deadlocks. 40-process concurrent writes tested and verified.

Smart routing

Each agent advertises its strengths (bridge agents). The coordinator reads the team profile and decides who gets what — no rigid routing tables. Use --skill as a routing hint.

Auto-push: send wakes the target

Every bridge send auto-wakes the target agent. Desktop notification + headless execution — no manual terminal switching. Use --no-wake for non-urgent tasks.

Delivery tracking

Every notification attempt is observable in task.delivery.status:

| Status | Meaning | |---|---| | queued | Stored, waiting for delivery attempt | | wake_launched | Wake process started (not proof of receipt) | | acknowledged | Target checked in via status, inbox, or claim | | unavailable | No usable notification or wake channel | | failed | Delivery attempt itself failed |

bridge send never reports a launched process as an acknowledgment.

Auto-cleanup

The board maintains itself: completed tasks older than 7 days are silently cleaned, working tasks stuck >24h are auto-failed, and overflow completed tasks are archived to archive.json.

100% local, 100% private

No cloud, no server, no account. Everything lives in ~/.agent-bridge/. One machine = one team. Sync via Syncthing, Dropbox, or git for multi-machine.


Install

Windows (PowerShell):

.\install.ps1 -Auto
.\install.ps1 -Agent codex -As codex -Python C:\path\to\python.exe
bridge setup status

macOS / Linux:

./install.sh --auto
./install.sh --agent codex --as codex --python /usr/bin/python3
bridge setup status

The installers configure detected hosts conservatively. They create a receipted launcher and only their own PATH entry/configuration. Restart hosts after setup, then run bridge doctor --strict.

Workflow

send -> pending -> claim -> working -> done -> completed
                         -> question -> input_required
input_required -> answer -> pending
working -> request review -> review_requested
review_requested -> approve -> completed
review_requested -> changes -> changes_requested -> claim -> working
bridge send --to reasonix --subject "Review the patch" --body "Run tests"
bridge inbox
bridge claim 
bridge question  --body "Which target?"
bridge answer  --body "Python 3.9+"
bridge review 
bridge review  --verdict approve --body "Accepted"
bridge done  --result "Implemented and tested"

Only the assignee can claim, ask, request review, or finish a task; only the sender can answer or give a review verdict.

Delivery honesty

Each delivery attempt has one observable status:

  • queued, dispatching, os_posted, plugin_delivered, viewed
  • launch_started, agent_acknowledged, claimed, retry_wait, failed

os_posted, plugin_delivered, and launch_started are not acknowledgements. An acknowledgement requires the target to use status or inbox; claiming is stronger evidence. Notification failure does not erase a stored task.

Operations

bridge --version
bridge --help
bridge status --oneliner
bridge doctor --strict
bridge setup --repair
bridge setup --dry-run
bridge tui
bridge migrate path/to/v1-board.json
bridge export backup.json
bridge uninstall
bridge uninstall --purge-data

bridge uninstall preserves task data unless --purge-data is explicitly requested and the command first prints the exact data root. When recovery is needed, run bridge setup status, bridge doctor, and bridge inbox; there is no daemon to restart.

Development and release verification

python -m unittest discover -s tests -v
python -m compileall -q src scripts tests
python -m build

The primary release download is one cross-platform agent-bridge--portable.zip. It contains the offline bootstrap wheel, both native helpers (the macOS app is an internal component), both install scripts, host integration manifests, docs, checksums, and an inventory. Wheels and the sdist remain supplementary verification artifacts. See the [release checklist](docs/release/checklist.md) for real-machine native-helper, signing, notarization, and portable-ZIP installation verification.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.