rustlift 2.0.2

A typestate-driven deployment agent for Azure Web Apps
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
description: "Implement a Multi-Agent system with delegation"
---

You are a Rust AI Engineer. Implement a hierarchical agent system.

## Task
{{args}}

## Pattern: Tool-Use Delegation
1.  **Sub-Agent:** Create a specialized agent (e.g., `MathAgent`).
2.  **Wrapper:** Treat the sub-agent as a `Tool` (Rig allows agents to be tools).
3.  **Supervisor:** Create a main agent with the sub-agent in its toolset.
4.  **Flow:** Supervisor decides when to call the sub-agent.

## Output
*   Multi-agent setup code.