Every agent-training paper rebuilds the same plumbing: a sandbox to run the model in, a dataset of trajectories, and an eval harness — then throws all three away when the paper ships. Microsoft's answer is Orchard, an open-source (MIT) "agentic modeling framework" built around one reusable substrate, Orchard Env, that every training recipe shares for trajectory distillation, on-policy RL rollouts, and evaluation. It lands alongside a growing body of 2026 work on agent sandboxing and SWE-bench-grade coding evals, but Orchard's specific pitch is infrastructure reuse, not a new benchmark or a new model.
TL;DR
| Question | Direct answer |
|---|---|
| What is it? | Shared Kubernetes-native sandbox + training substrate for agent research |
| License? | MIT (Microsoft Corporation) |
| Sandbox latency? | 0.28s average command execution |
| Parallel scale? | 1,000 sandboxes, 100% launch success in 26 seconds |
| Cost vs. managed services? | 0.47× on-demand, 0.10× on spot instances |
| Best benchmark result? | 73.0% on SWE-bench Verified (Orchard-SWE recipe) |
| Pre-installed harnesses? | codex, claude, pi, opencode, hermes |
| Dataset? | microsoft/Orchard on Hugging Face — 107,185 SWE trajectories, 3,070 GUI rollouts |
| Paper? | arXiv:2605.15040 — Peng et al., 2026 |
The problem: every agent paper rebuilds its own environment
Microsoft frames the core issue plainly: "every recipe reuses the same substrate for trajectory distillation, on-policy RL rollouts, and evaluation" — meaning datasets, training loops, and eval protocols get duplicated across labs studying software engineering agents, browser-navigation agents, and computer-use agents, even though the underlying need (isolated, observable, resettable execution environments) is identical.
That is the same fragmentation problem explainx.ai has tracked across the agent harness landscape — codex, claude, opencode, hermes, pi each ship their own execution model, making cross-harness generalization studies expensive to run from scratch.
Orchard Env: the foundation layer
Orchard Env is a Kubernetes-native sandbox service exposed over REST, with a Python SDK offering both async and sync clients, automatic cleanup, and context-manager ergonomics:
with SandboxClient() as client:
with client.create_sandbox("python:3.11-slim") as sandbox:
result = sandbox.exec("echo 'Hello, Orchard!'")
Key operational properties:
- Multi-turn interaction — command execution, file I/O, and git patches inside the sandbox
- Pre-installed harnesses —
codex,claude,pi,opencode,hermesship ready to invoke - Network isolation — Calico NetworkPolicy scopes what each sandbox can reach
- Resource limits — per-sandbox CPU, memory, and timeout caps
The performance numbers are the part worth taking seriously for anyone evaluating build-vs-buy on agent sandboxing: 0.28-second average command latency, and 1,000 sandboxes launched in parallel with 100% success in 26 seconds. Microsoft reports this comes in at 0.47× the cost of on-demand managed sandbox services, dropping to 0.10× on spot instances — a meaningful line item at the scale agent RL training requires.
That puts Orchard Env in the same conversation as Cloudflare's Computer agent runtime, which optimizes isolate/container tradeoffs for a different point on the latency-vs-isolation curve. Where Cloudflare targets production agent execution, Orchard Env targets research-scale RL rollout throughput — thousands of short-lived sandboxes cycling through training steps rather than long-lived production sessions.
Three-layer architecture
Orchard organizes into:
- Recipes — domain-specific research implementations (SWE, GUI, computer use)
- Orchard Env — the stable environment service described above
- Trainer — an RL training stack, a vendored fork of slime
This separation is the actual reuse story: swap recipes without touching the environment layer, and swap trainers without touching either.
Benchmark results across three recipes
| Recipe | Backbone model | Headline result |
|---|---|---|
| Orchard-SWE | Qwen3.5-35B-A3B | 73.0% on SWE-bench Verified |
| Orchard-GUI | Qwen3-VL-4B | 68.4% average (74.1 / 67.0 / 64.0 across three benchmarks) |
| Orchard-Claw | Qwen3-30B-A3B | 59.6% pass@3, 73.9% under ZeroClaw evaluation |
Orchard-SWE's 73.0% sits in a competitive range against other 2026 coding-agent evals explainx.ai has covered, including Senior SWE-bench's harder task pool and the contamination concerns raised around SWE-bench eval methodology more broadly — worth keeping in mind before treating any single SWE-bench number as a ceiling.
The generalization result is the real headline
Microsoft's own framing: "the common thread is generalization, not just peak score." Orchard-SWE holds 51.0% on multilingual repository tasks and 45.0% on unseen agent harnesses — configurations it was never trained against. Comparison models, by contrast, collapse to 3.6%–0.0% under the same distribution shift.
That gap is the paper's actual contribution: a model trained on Orchard's substrate degrades gracefully outside its training distribution, where narrower recipes fail outright. It is the kind of robustness claim worth checking against your own harness mix before assuming it transfers — the same caution explainx.ai applies to any vendor-reported benchmark, including Mind Lab's recent Macaron-V1 continual-learning claims.
Dataset and how to try it
The companion dataset, microsoft/Orchard on Hugging Face, ships two configs:
swe— 107,185 multi-turn trajectories across 19,287 task instances, averaging 47.5 turns per trajectorygui— 3,070 multimodal browser-navigation rollouts with rendered screenshots
Installation:
pip install -e "orchard_env[dev]"
Requires SANDBOX_BASE_URL and SANDBOX_API_KEY environment variables pointed at a deployed Orchard Env instance. Microsoft ships four deployment scripts that automate Azure AKS setup in roughly 20 minutes.
Related work and where Orchard sits
Two follow-on projects extend the same substrate:
- OpenWebRL (June 2026) — extends Orchard-GUI to live-website multi-turn RL, reaching 67.0% on Online-Mind2Web
- OpenForge RL (July 2026) — trains agents inside real deployment harnesses, reaching 37.7 on OSWorld-Verified
That pattern — one substrate, multiple downstream recipes — is the thing Orchard is actually selling: a Kubernetes-native environment layer built for reproducible RL research, closer to shared infrastructure than to a single-purpose coding-agent release like OpenCode or a benchmark like Senior SWE-bench.
Limitations and open questions
- Young repository. GitHub shows 361 stars, 31 forks, and only 2 commits on main as of publication — this is a fresh release, not a battle-tested platform.
- Azure-centric deployment path. The documented fast path targets Azure AKS; other Kubernetes environments will need manual adaptation of the deployment scripts.
- Vendor-reported cost multipliers. The 0.47×/0.10× cost claims versus "managed services" are Microsoft's own comparison — the baseline services and pricing snapshot used aren't fully specified in the README.
- Sandbox escape risk is universal. Any system spinning up thousands of agent-controlled containers inherits the same threat model covered in Claude Cowork's sandbox escape CVE and OpenAI's long-horizon sandbox escape via GitHub PR — Orchard's Calico network policies help, but isolation guarantees deserve independent audit before production use.
How to try it
git clone https://github.com/microsoft/Orchard.git
cd Orchard
pip install -e "orchard_env[dev]"
# set SANDBOX_BASE_URL and SANDBOX_API_KEY, then run a recipe under recipes/
Paper: arXiv:2605.15040 — "Orchard: An Open-Source Agentic Modeling Framework," Peng, Yao, Wu, and collaborators, 2026.
Related reading
- Cloudflare Computer — agent runtime, isolates vs. containers
- Senior SWE-bench — a harder coding-agent benchmark
- SWE-bench reward hacking and eval contamination
- What is an agent harness? Complete guide
- Claude Cowork sandbox escape CVE-2026-46331
- OpenAI long-horizon sandbox escape via GitHub PR
- Mind Lab Macaron-V1 — LoRA continual learning
- OpenCode — open-source AI coding agent guide
Primary sources
Repository stats, benchmark numbers, and cost claims reflect the microsoft/Orchard README and arXiv:2605.15040 as of August 5, 2026. The repository is early-stage (2 commits on main) — verify current state on GitHub before citing specifics in production planning.
