How to give AI agents clear instructions
Not every capability described on this wiki is available today.
Quick answer
Give an AI agent a clear goal, the constraints that matter, the format you want and a rule that it must ask before spending money or taking irreversible steps. Then check the result.
Summary
Agents do better with specific requests. This guide lists habits that make instructions clearer and safer. State the goal, add limits, say what to do when unsure, require approval for consequential actions and verify the output. It is general advice for any agent product.
Key takeaways
- State the goal and the outcome you want.
- Add constraints such as budget, dates and preferences.
- Say when the agent should stop and ask.
- Keep sensitive information out of requests.
- Verify the result against the original source.
Do
- State the goal in a sentence, then the details.
- Add limits: budget, dates, preferences and things to avoid.
- Say what good looks like, such as a short comparison table.
- Require approval for money, sensitive data and irreversible actions.
- Review the output against the original source.
Do not
- Do not include passwords, security codes or recovery phrases.
- Do not give open-ended permission to act.
- Do not assume the first answer is correct. See AI hallucination.
Why it matters
Clear instructions reduce rework and risk. They also make it easier to see when an agent has gone off track. Read what are AI agents, the AI agent safety checklist and AI agents vs chatbots for context.
Frequently asked questions
People also ask
- What is an AI agent in simple terms? (What are AI agents?)
- How is an AI agent different from a chatbot? (What are AI agents?)
- Are AI agents reliable? (What are AI agents?)
- Can an agent act without my approval? (What are AI agents?)
- How do I use an AI agent safely? (AI agent safety checklist)
Related topics
guide What are AI agents? A plain-language explanation of AI agents, how they work with models, tools and goals, where they help, where they fail and how to keep control of them. best practices AI agent safety checklist A practical checklist for using AI agents safely: permissions, approvals, verification, data sharing and records, plus how Mitra OS applies these ideas. glossary AI hallucination Glossary definition of AI hallucination, when a model produces confident but incorrect or invented content, and practical ways to reduce the risk. comparison AI agents vs chatbots Compare AI agents and chatbots on goals, steps, tools, autonomy, risk and best uses, so you can pick the right approach for a task.
Glossary terms on this page
- AI hallucination: An AI hallucination is output from a model that sounds confident but is wrong or invented, such as a false fact, a fake source or an incorrect figure.