Join free
← All learning paths
AI Agents & Building · 12 MIN READ

Give an AI Agent a Clear Mission

Learn how an agent differs from a single chat request.

What you will learn

A chat request answers one question and stops. An agent keeps working across multiple steps: reading files, calling tools, checking its own output. That persistence makes agents powerful, and it makes them risky. A clear mission brief is the control panel. It defines what the agent may touch and when it must stop.

You will learn the five parts of a usable brief: a measurable goal, the tools and data the agent may use, what it may never do, how it should report back, and the condition that ends the run.

Consider a small shop owner who wants weekly price checks on five suppliers. A good brief turns that vague wish into a safe, repeatable task an agent can run every Monday morning.

See it in action

A bakery owner asked her agent to check flour prices each Monday from three supplier sites. Her first brief said only “check supplier prices.” The agent visited the sites, found prices, and kept going. It opened the supplier login pages and tried to guess credentials to see bulk rates. Nothing harmful happened, but it wasted time and crossed a line she never set.

She rewrote the brief with structure. Goal: “By 9 AM Monday, deliver a table of 50 lb flour prices from these three public URLs.” Allowed actions: “Read the three URLs listed. Do not log in, do not submit forms.” Stopping condition: “Stop after the three sites are read or after 10 minutes.” Report format: “A Markdown table with price, date seen, and the exact URL.”

The revised run finished in four minutes and produced a clean table with links. One site blocked automated reading. The agent reported that honestly instead of guessing. The fix took one iteration: adding explicit boundaries.

The lesson: agents do not know your intentions. Every behavior not forbidden is behavior they may attempt. Write the brief as if a capable stranger will follow it literally, because that is close to what happens.

Do it step by step

  1. Pick a low-risk task: read-only research, summarizing public pages, or organizing files you already own. Avoid anything that sends messages or spends money.
  2. Write the goal in one sentence with a measurable result. Include what “done” looks like: a file, a table, a summary.
  3. List exactly which tools and sources the agent may use. Name them. “Read these two URLs” beats “research the topic.”
  4. Write the “never” list: never log in, never publish, never change production, never contact anyone, never spend money.
  5. Set a stopping condition: a time limit, a maximum number of steps, or “stop when the report is complete.”
  6. Run it, read the report, and check one fact independently. Save the brief and reuse it weekly.

Try this in practice

Write a one-page agent assignment for a safe research task of your choosing. Example: “Summarize the opening hours and pickup policies of the three libraries nearest me from their public websites.”

Use the five-part structure: goal, allowed tools, never list, report format, stopping condition. Keep the whole brief under 200 words. Shorter briefs are easier to check.

Read it back as a skeptic. For each line, ask: “Could a literal-minded helper misread this?” Tighten anything ambiguous before you hand it to an agent.

What to watch for

The most common failure is over-permission. An agent with full mailbox access “to summarize invoices” can also read personal mail. Give the minimum access that still completes the task: a forwarded folder, not the whole inbox.

Vague stopping conditions burn money and time. “Keep looking until you are sure” has no end. Always set a step limit or a deadline. Agents do not get tired. You must be the one who decides when enough is enough.

Treat every agent output as a draft, not a result. Ask for evidence: links, file paths, quotes. If the agent cannot show where an answer came from, verify it yourself before acting on it.

Try this prompt

You are a careful research assistant. Your task: [describe the task in one sentence with a measurable result]. You may read only these sources: [list exact URLs, files, or folders]. You must never: log in anywhere, submit forms, contact anyone, spend money, or change any system. Work in at most [number] steps and stop when the report is complete or after [time limit]. Deliver a short report with: what you did, the findings, the exact sources used, and what you could not verify. Do not invent facts or claim certainty where you lack evidence.

Replace the bracketed examples with your own details. Never paste passwords or sensitive data.

PUT IT INTO PRACTICE

Your mini-challenge

Create a one-page agent assignment for a low-risk research task.

QUICK KNOWLEDGE CHECK

What belongs in an agent brief?

Create your free beta account to mark this lesson complete and save your progress.

Join free beta →

Was this lesson helpful?

Click the feedback button to tell us what to improve.