Workflow
Design an AI workflow you can audit
A multi-step AI setup: system prompt, conversation shape, context budget, tool choice and evaluation data, with a human check.
Inputs
- Task
- What the workflow does end to end.
- Users
- Who runs it and who reads the output.
- Tools and models
- What you have access to.
- Data
- What it may read, and what it must never see.
Context
A chain of prompts is still software. Give it inputs, checks and a person who can stop it.
Constraints
- Write the system prompt with role, rules, output shape and refusal cases.
- If you define an AI persona, keep it separate from any customer persona and say it is a bot.
- Budget the context: what goes in, what is summarized, what is dropped.
- Compare tools on your own task, not on vendor claims.
- Fine-tuning or eval data must be data you have the right to use.
Output
- Step diagram (input, step, output, check)
- System prompt
- Context budget
- Tool comparison on your task
- Evaluation set (10 or more cases with expected results)
- Human checkpoint and failure handling
How to judge it
Run the evaluation set. Does every step pass its check, and does a person review anything that leaves the system?
Worked example
TASK: draft replies to support emails. USERS: one support person who approves each reply. TOOLS: one chat model with an API. DATA: past tickets, no payment details.
Steps: classify ticket, retrieve 3 similar answered tickets, draft reply, human approves. System prompt: you draft support replies for review; never promise refunds; return subject and body. Eval: 12 past tickets with the reply that was actually sent. Checkpoint: nothing sends without approval.
What it will not do
- Doesn't host or run the workflow.
- Model behavior changes; rerun the eval after any model update.
The prompt
Task: Design an AI workflow you can audit. Context: A chain of prompts is still software. Give it inputs, checks and a person who can stop it. Inputs: - Task: [TASK] - Users: [USERS] - Tools and models: [TOOLS AND MODELS] - Data: [DATA] Constraints: - Write the system prompt with role, rules, output shape and refusal cases. - If you define an AI persona, keep it separate from any customer persona and say it is a bot. - Budget the context: what goes in, what is summarized, what is dropped. - Compare tools on your own task, not on vendor claims. - Fine-tuning or eval data must be data you have the right to use. Return, in this order: 1. Step diagram (input, step, output, check) 2. System prompt 3. Context budget 4. Tool comparison on your task 5. Evaluation set (10 or more cases with expected results) 6. Human checkpoint and failure handling Before you answer, check: Run the evaluation set. Does every step pass its check, and does a person review anything that leaves the system?