Tasks & sandboxes
Many tasks in parallel. Each executor in its own sandbox.
A task is a piece of agent work: inspect an input, use the permitted tools and models, and return a result for the next stage. Model calls happen inside that work. Loom coordinates the tasks around them: when they start, what context they receive, what they may access, how much they can spend, and what happens when they fail.
Think of a batch of agent traces. Tasks inspect individual runs in parallel; a later stage compares the findings. Each executor works within its sandbox, using the context and capabilities granted to its current task. The scheduler and result store connect the work across those boundaries.
Today, agent work is expressed as declared pipelines, executed inline or by leased workers in other processes. Task envelopes already carry permissions and a sandbox profile. Container and WASM execution backends are still planned; the diagram shows the intended isolation model.
- Unit of scale
- Tasks carrying agent work
- Per task
- Input, context, permissions, budget
- Shared
- Scheduling, quotas, results
- Planned isolation
- Container or WASM sandbox per executor