Docs/Sandbox mode

Sandbox mode

Sandbox mode runs multi-agent workflows with zero real API spend. It switches agents to MeshFlow's sandbox provider while keeping the same Workflow, Team, policy, result, and ledger flow.

python
from meshflow import Workflow, Agent, CostCap

wf = Workflow(cost_cap=CostCap(usd=5.00), mode="sandbox")
wf.add(Agent(name="researcher", role="researcher"))
result = wf.run("any task")
# $0.00 spent. Full trace. All guards active.