feat(sdk): add orchestration API for multi-box messaging#206
Merged
DorianZheng merged 2 commits intomainfrom Feb 4, 2026
Merged
feat(sdk): add orchestration API for multi-box messaging#206DorianZheng merged 2 commits intomainfrom
DorianZheng merged 2 commits intomainfrom
Conversation
Add BoxRuntime orchestration API with: - Ray-style decorator API (@box.task, @box.on_message, @box.on_event) - Cloudpickle serialization for closures (auto-installed via pip) - Auto-detected Python version for image selection - Point-to-point messaging and pub/sub events between boxes - Minimal implementation (~400 lines total) Also includes: - Guest boot logging improvements (info level default) - RUST_BACKTRACE forwarding to guest - Two comprehensive examples (ai_pipeline, multi_agent)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BoxRuntimeorchestration API with decorator syntaximageparam needed)send_message) and pub/sub events (publish_event)Key Features
Changes
sdks/python/boxlite/orchestration/guest/src/main.rsboxlite/src/vmm/examples/python/ai_pipeline/examples/python/multi_agent/Test plan
python examples/python/multi_agent/host.py- passespython examples/python/ai_pipeline/host.py- passes