cowork-to-code-bridge — async local execution bridge for Haystack pipelines running in sandboxes #11696
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.
cowork-to-code-bridge — offload heavy work from a Haystack pipeline to your local machine
Hey Haystack community,
When I run Haystack pipelines in cloud sandboxes or containers, I keep running into the same friction: the pipeline can't easily reach local tools, files, or GPU resources on my development machine. I built cowork-to-code-bridge to solve this: an async, file-based RPC bridge that lets a sandboxed pipeline queue tasks for Claude Code on the local machine and collect results without opening any ports.
Integrating with a Haystack custom component
Wire this into any
Pipelinelike any other Haystack component — the rest of your pipeline doesn't need to know the work ran on a different machine.Key capabilities
queue_task/poll_task_resultThe real-world motivation
Haystack's RAG pipelines are great for composition, but embedding models and vector store writes often need local GPU or large-RAM machines. The bridge lets you keep the orchestration in the cloud and push the expensive ops down to the metal — with idempotency keys so a crashed pipeline can resume safely.
Repo: https://github.com/abhinaykrupa/cowork-to-code-bridge
Question for the Haystack community: Do you run your pipelines in restricted cloud environments today? How do you currently bridge the gap to local resources — and is async file-based delegation something you'd reach for?
All reactions