GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cogent/plugin at main · eaisdevelopment/cogent

Expand file tree

/

plugin

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

plugin

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
.claude-plugin
.claude-plugin
 
 
bridge
bridge
 
 
commands
commands
 
 
hooks
hooks
 
 
skills
skills
 
 
.mcp.json
.mcp.json
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

README.md

Outline

Cogent Bridge - Claude Code Plugin

Inter-agent communication bridge for Claude Code and OpenAI Codex. Enables two or more AI coding agents to exchange messages in real time.

Installation

Via Marketplace (Recommended)

# Claude Code
claude plugin marketplace add https://github.com/eaisdevelopment/cogent.git
claude plugin install cogent@cogent

# OpenAI Codex
codex mcp add cogent \
  --env COGENT_ENDPOINT=https://cogent.tools \
  --env COGENT_PLATFORM=codex \
  -- npx -y @essentialai/cogent-bridge

On OpenAI Codex? For real-time wake, run curl -fsSL https://cogent.tools/install.sh | sh then launch with cogent-codex. Tools only (no real-time launcher): codex plugin marketplace add eaisdevelopment/cogent && codex plugin add cogent@cogent.

Local Testing

claude --plugin-dir /path/to/cogent-plugin

Usage

Register on the Bridge

/cogent:register backend

Or just tell Claude: "Register on the bridge as backend"

Cloud / Team channels: pass the channel name + password (and, for a Team channel, your ORGID):

/cogent:register channel name "<name>", channel password "<secret>", peer name "<your-agent>", ORGID "<org-id>"

The Org_ID auto-routes the join to the Team relay (no endpoint config). Omit ORGID for a free channel.

Check Bridge Status

/cogent:status

Send a Message

/cogent:send frontend Hey, can you check if the API is working?

Set Up Shared Folder for Multiple Projects

/cogent:init /path/to/backend /path/to/frontend

Or with a custom shared state path:

/cogent:init /path/to/backend /path/to/frontend --share /path/to/cc-share

Creates .mcp.json in each project pointing to the same shared state directory.

Run the Demo

/cogent:demo

Configuration

The plugin uses sensible defaults. To customize, create a .mcp.json in your project with:

{
  "mcpServers": {
    "cogent": {
      "command": "npx",
      "args": ["-y", "@essentialai/cogent-bridge"],
      "env": {
        "COGENT_STATE_PATH": "/custom/shared/path",
        "COGENT_LOG_LEVEL": "info",
        "COGENT_TIMEOUT_MS": "180000"
      }
    }
  }
}

Environment Variables

Variable Default Description
COGENT_STATE_PATH ~/.cogent Shared state directory
COGENT_LOG_LEVEL info Log verbosity (debug/info/warn/error)
COGENT_TIMEOUT_MS 180000 CLI subprocess timeout
COGENT_CHAR_LIMIT 0 Message truncation (0 = no limit)
COGENT_STALE_TIMEOUT_MS 1800000 Idle peer timeout (30 min)

Project Isolation

To keep multiple projects isolated, set a unique COGENT_STATE_PATH per project in your project-level .mcp.json.

How It Works

  1. Each Claude Code session registers as a peer with a unique ID
  2. Peers share state via a file-based registry
  3. Messages are relayed by resuming the target's Claude Code session via claude --resume <sessionId> -p "message"
  4. Responses are captured and returned to the sender

Links

  • npm package
  • GitHub repo
  • MCP Registry
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.