Mitra OS Wiki
Browse the wiki

How to give AI agents clear instructions

AI Guides · best practices · Updated

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

How detailed should a request be?

Detailed enough to remove ambiguity about the goal and limits, without burying the main point.

Should I tell an agent when to ask me?

Yes. Say it should ask before spending, sharing data or doing anything hard to undo.

What should I leave out of a request?

Passwords, one-time codes and full card numbers.

Why check the answer?

Agents can state wrong information with confidence. See AI hallucination.

People also ask

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.

Last updated . Last reviewed .