Description
Theparallel-tasks prompt provides instructions for executing multiple independent tasks concurrently using Contree’s async execution capabilities.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
tasks | string | Yes | - | Tasks to run (one per line) |
image | string | No | python:3.11-slim | Base image to use |
Generated Instructions
When invoked with:Example Usage
Parallel Tests
Multiple Experiments
Build Multiple Targets
Implementation Notes
The agent should:-
Ensure the image exists (check with
list_images, import if needed) -
Launch all tasks in parallel with
wait=false: -
Collect the returned
operation_idvalues -
Wait for all with
wait_operations: - Process and report results from each operation
See Also
- build-project - Sequential build workflow
- debug-failure - Debug failed operations
- Async Guide - Async execution patterns