A practical framework for creating an agent that understands its job, follows clear rules, and produces reliable results.
01. Define the Job
Start With What the Agent Must Do
Do not begin with a vague instruction such as “You are an expert.” First explain who the agent helps, what task it completes, what information it uses, and what it must deliver.
“Help [USER] complete [TASK] using [INFORMATION / TOOLS], then deliver [RESULT].”
Know Who Will Use It
Is the user a beginner, specialist, or mixed audience?
What questions will they ask most often?
How much detail and guidance will they need?
Define a Successful Result
State what the agent must create, answer, or decide.
Describe what a useful final result includes.
Set the success criteria before adding features.
02. Set the Boundaries
Decide What the Agent Can and Cannot Do
Write Clear Limits
It should: List the tasks it is responsible for.
It should not: List tasks it must refuse or avoid.
When unsure: Ask for information or say what is missing.
Create a Repeatable Process
Give the agent the same clear sequence to follow every time:
UNDERSTAND➔DRAFT➔EDIT➔FORMAT
03. Organize the Logic
Keep Each Thinking Step Separate
Answers become less reliable when facts, opinions, and actions are mixed together. Make the agent move through each stage in order:
1. FACTS➔2. MEANING➔3. DECISION➔4. ACTION➔5. RESULT
Decide Which Rules Come First
Put instructions in priority order so the agent knows which rule to follow when two rules conflict:
1. Safety Rules2. Main Instructions3. Core Process4. Special Task Rules5. User Information
04. Choose the Setup
Use the Simplest Setup That Can Do the Job
Level 1: Simple
Use for writing, formatting, summaries, and basic questions.
Instructions + Format
Level 2: Specialized
Use for specialized analysis and repeatable workflows.
Instructions + Rules + Format
Level 3: Advanced
Use for multi-step research, live tools, and complex checks.
Modules + Verification + Tools
05. Manage Information
Separate Stable Rules From Current Information
Stable Instructions
Definitions and scoring rules
The process the agent must follow
The required format for every answer
Current Information
Prices, inventory, news, and live metrics
Search results and user-provided data
Information that must be checked for date and accuracy
Allow the Agent to Say “Unknown”
Require the agent to label how reliable the information is instead of filling gaps with a guess:
CONFIRMEDPRELIMINARYNOT VERIFIEDUNKNOWN
06. Check the Work
Verify the Input Before Giving an Answer
Check Before Starting
Before making a recommendation, confirm that:
The agent has enough information and context.
All exclusions and limits have been checked.
The evidence meets the required standard.
Check Before Answering
Before sending the final answer, confirm that:
Facts are separated from assumptions.
Missing or uncertain information is clearly labeled.
The answer follows the required structure.
07. Improve the Agent
Update the System When a Pattern Repeats
Do not change the agent because of one good or bad result. Look for a repeated pattern, test the cause, and then update the system.