Cowork to Code Bridge

Cowork to Code Bridge is an open-source orchestration harness developed by Abhinay Krupa. It connects Claude interfaces (such as Claude Cowork or desktop-based Claude workflows) with local developer execution environments running Claude Code. The bridge enables remote or sandboxed Claude environments to dispatch coding tasks and command executions directly to a local development machine. Operationally, the harness runs a local background daemon that accepts execution requests through a client library (`bridge_client.py`) and a Claude plugin integration (`.claude-plugin`). It supports synchronous execution via remote calls as well as an asynchronous queue mechanism (`queue_task` and `poll_task_result`). This async pattern allows web or sandbox sessions with short command timeouts (such as 45-second bash execution limits) to trigger long-running Claude Code sessions locally and poll for completed results incrementally. What differentiates Cowork to Code Bridge is its focus on bridging context boundaries between Anthropic's interactive environments and local CLI agent execution. Rather than reinventing agentic coding logic, it provides the bridge daemon, task queue, and client interfaces needed to let conversational Claude instances securely delegate filesystem and terminal tasks to local Claude Code instances. The project is open-source on GitHub and distributed as a Python package on PyPI, making it free to use alongside user-provided Anthropic Claude API credentials or Claude Code subscriptions.

Tags: ai agent, cli, coding agent, developer tools, OpenSource

Visit Cowork to Code Bridge