cowork-to-code-bridge — let agents running in cloud/sandbox escalate tasks to Claude Code on local machine #1688
abhinaykrupa
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Anthropic SDK community!
Built something that might be useful for anyone building agents that need to bridge between a cloud/sandbox environment and Claude Code running locally.
The gap it fills
If you're using the Anthropic SDK to build agents, you'll hit this eventually: your agent is in a cloud environment (Cowork, a CI runner, a remote server), but the work needs to happen on a local machine — with access to the user's repos, shell, environment, installed tools.
cowork-to-code-bridge solves this with an async file-based bridge:
Architecture
MCP server interface
Also exposed as MCP tools for tool-use workflows:
escalate_to_claude— queue work, getoperation_idget_operation_status— idempotent polling with metricscancel_operation— graceful cancellationProduction safety
max_budget_usdper operationInstall
curl -fsSL https://raw.githubusercontent.com/abhinaykrupa/cowork-to-code-bridge/main/install.sh | bashRepo: https://github.com/abhinaykrupa/cowork-to-code-bridge
Would be curious if anyone here is building hybrid remote/local agent workflows and what patterns you're using for the local execution layer.
Beta Was this translation helpful? Give feedback.
All reactions