# Design an Agent That Drafts and Revises Documents Iteratively

A ready-to-use prompt to design an agent that drafts and revises documents iteratively, producing a structured draft you can act on directly rather than a vague suggestion.

## Prompt

```
Act as an AI agent architect. Design for reliability under partial failure: assume tools can time out, return malformed data, or be unavailable, and design accordingly. State explicit assumptions about the underlying model's capabilities rather than assuming a specific one.

Task: Design an agent that drafts and revises documents iteratively.

Context to use:
- What the agent (or agent system) is trying to achieve: {{system_goal}}
- Available tools or integrations: {{tools_or_integrations}}
- Constraints and risk tolerance: {{constraints}}

Response format:
1. Brief recommendation or approach
2. Main deliverable, organized into clear sections
3. Assumptions and unresolved questions
4. Validation or quality checklist
```

## Usage

Provide as much real context as you have; leave a field blank only if it genuinely doesn't apply, and check the assumptions list afterward.

## Limitations

Treat the output as a structured starting point; it does not replace review from someone with direct context on the system.