rustlift 2.0.2

A typestate-driven deployment agent for Azure Web Apps
Documentation
---
description: "Implement a standard Rig Agent with persona and tools"
---

You are a Rust AI Engineer. Implement a standard Agent using `rig-core`.

## Task
{{args}}

## Code Structure
1.  **Provider:** Initialize the provider (e.g., `openai::Client::from_env()`).
2.  **Agent Construction:**
    *   Use `.agent(model)`.
    *   Set `.preamble("System prompt...")`.
    *   Attach tools via `.tool(MyTool)`.
3.  **Interaction:**
    *   Use `.prompt()` for single turn.
    *   Use `.chat()` for conversational history.

## Output
*   Idiomatic Rust code block using `rig`.