The Agentic Post
Breaking
What a Democratic Congress Means for AI Rules in 2027  ·  Grok Bot Tips: How to Get More Done and Make Your Usage Last  ·  How to Automate a Boring Computer Task With an AI Agent (Safely)  ·  Character.AI Bankruptcy: What Happens to Your Private Chats, and How to Delete Them  ·  What’s New in Claude: Install Artifacts as Apps, Computer Use for Teams, Meetings and More  ·  What’s New in ChatGPT: GPT-6.2 in Chat, ChatGPT Space for Plus, and Live Dictation  ·  
Home/Guides/Beginner Guides
How to Write Prompts for AI Agents: A Simple 2026 Guide

How to Write Prompts for AI Agents: A Simple 2026 Guide

Beginner Guides

How to prompt AI agents that act on their own: set the goal, define done, add context, set limits and check-in points. With a before and after example.

To write a good prompt for an AI agent, describe the goal and what “done” looks like, give it the context it cannot guess, set clear limits on what it may and may not do, and tell it when to stop and ask you. Agents act on their own for many steps, so a vague prompt does not just give a weak answer, it can send the agent down the wrong path for an hour.

How is prompting an agent different from prompting a chatbot?

A chatbot answers once and waits. An agent plans, uses tools, clicks buttons and makes decisions on its own. Think of the difference between asking a friend a question and handing a new assistant a job for the afternoon. The assistant needs a brief, not a question. If you are new to the basics, start with why your AI prompts are not working.

What should an agent prompt include?

  • The goal: one sentence on what you want achieved, for example “find three venues for a 40-person dinner in Boston on December 12”
  • What done looks like: the exact output, such as “a table with name, price per head, link and availability”
  • Context: facts it cannot know, like budget, preferences and which files or sites to use
  • Limits: what it must never do, such as “do not book or pay for anything”
  • Check-in points: when to pause and ask, for example “ask before sending any email”

Can you show a before and after example?

Weak: “Clean up my inbox.”

Strong: “Go through unread emails from the last 7 days. Archive newsletters and receipts. Star anything from clients. Draft, but do not send, replies to questions you can answer from our FAQ document. At the end, give me a list of emails that need my decision.”

The strong version tells the agent the scope, the rules, the one thing it must not do, and the report it should hand back.

Should I tell the agent how to do the task?

Usually not step by step. Describe the outcome and the rules, and let the agent plan. Add steps only where there is one right way, like a company process. If a task keeps going wrong, show it an example of a good result; this is the same idea as few-shot prompting. For tricky reasoning, asking it to plan first and share the plan before acting works like chain-of-thought prompting.

How do I keep an agent safe with my prompt?

Give it the least access it needs, say clearly which actions need your approval, and never paste passwords into a prompt. Be careful about telling an agent to “follow the instructions” in emails or web pages, since attackers hide instructions there, as our agent security guide explains.

What is the simplest habit that improves agent results?

Ask the agent to repeat the task back in its own words before starting. If its summary is wrong, your prompt was unclear, and you fix it in ten seconds instead of after an hour of wasted work. For more ready-made patterns, see our prompt examples that work.

Up Next
Veo 3.1 vs Kling 3.0 vs Runway vs MiniMax H3: Best AI Video Generator After Sora

Veo 3.1 vs Kling 3.0 vs Runway vs MiniMax H3: Best AI Video Generator After Sora

Comparisons

Google Veo 3.1, Kling 3.0, Runway Gen-4.5 and open-source MiniMax H3 compared on clip length, audio, price per second and best use, now that Sora is gone.

With OpenAI’s Sora shut down, the best AI video generators in late 2026 are Google Veo 3.1 for sound and polish, Kling 3.0 for longer clips with dialogue at a low price, Runway Gen-4.5 for editing real footage, and MiniMax H3 if you want open weights you can run yourself. Here is how they compare, in plain English.

What happened to Sora?

OpenAI closed the Sora app and website on April 26, 2026, and the API on September 24. Reports said it cost far more to run than it earned, and OpenAI moved the computing power to coding and enterprise work. Our Sora shutdown timeline has the full story.

How do Veo, Kling, Runway and MiniMax compare?

Key facts from an October roundup by OCDevel and Digital Applied; prices are approximate API rates per second of video and change often:

  • Google Veo 3.1: clips of 4, 6 or 8 seconds, extendable in 7-second steps; native sound, effects and dialogue; three speed tiers from about 0.05 dollars a second (Lite) to about 0.40 (Quality). In the Gemini app it has been replaced by Gemini Omni, which allows chat-style video editing
  • Kling 3.0 (Kuaishou): up to 15 seconds per shot, multi-shot scenes with consistent characters, lip-synced dialogue in five languages; about 0.08 dollars a second silent and 0.13 with audio on fal
  • Runway Gen-4.5: about 0.12 dollars a second, no native dialogue; its strength is Aleph, which relights, re-angles and edits existing footage, plus Act-Two for moving a filmed performance onto a character
  • MiniMax H3: open weights, 33 billion parameters, stereo audio, up to 2K and 15 seconds; free to run if you have about four GPUs, with a commercial licence that some countries must apply for

Which AI video generator should I use?

  • Short social clips with sound: Veo 3.1 Fast or Lite
  • Story scenes with talking characters: Kling 3.0
  • Editing video you already filmed: Runway Aleph
  • Privacy, control or high volume on your own hardware: MiniMax H3
  • Marketing teams on a budget: compare our AI video pricing guide

Which one has the best quality?

It depends on the clip. On blind-vote video leaderboards the top spots change every few weeks, and a hosted, fine-tuned version of MiniMax H3 has ranked among the top five. Run the same prompt through two or three tools before committing, since most offer free credits.

Are AI videos labelled?

Google stamps all Veo and Omni output with an invisible SynthID watermark. Others vary. With realistic AI video now cheap, read our guide to AI video and deepfakes before publishing anything showing real people.