cowork-to-code-bridge — async bridge for Semantic Kernel agents to delegate work to Claude Code on the local machine #14102
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.
-
Show and Tell: cowork-to-code-bridge — give your SK agents a secure async tunnel to your local machine
Hey Semantic Kernel community,
One pattern I run into constantly: an SK agent or planner runs in a cloud container, but the tools it needs — running scripts, accessing local files, calling a GPU model — only exist on my developer machine. Rather than open a port or share credentials, I built cowork-to-code-bridge: an async, file-based RPC bridge that lets a sandboxed SK agent queue work for Claude Code running locally and collect results safely.
Wrapping it as a Semantic Kernel plugin
Register it with your kernel and any planner —
FunctionCallingStepwisePlanner,HandlebarsPlanner, etc. — will discover and call it automatically.What the bridge provides
queue_task/poll_task_resultWhy this matters for SK
Semantic Kernel's auto-planning is powerful, but it can call the same plugin dozens of times in a retry loop — that's exactly what the loop-detection and budget-cap features were designed for. And the idempotency key means a replanned step won't double-execute a side-effectful local operation.
Repo: https://github.com/abhinaykrupa/cowork-to-code-bridge
Question for the SK community: Are you running SK agents in environments where they can't directly reach your local tools? What's your current pattern for bridging that gap — native plugin with a REST endpoint, SSH tunnel, something else?
Beta Was this translation helpful? Give feedback.
All reactions