Suede AI Agent StudioDocsStart buildingOpen workspace
Navigation menu

Agents & workflows4 min readUpdated

Write prompts that make your AI agent reliable

Quick answer

Great Agent Studio prompts give each Claude step a role in the System prompt, a precise task in the Prompt, the input through {{in}}, and an exact output shape such as strict JSON. Add your own facts, tell the model what to do when the answer is missing, and test on real examples before you launch.

What you'll have

  • A prompt pattern you reuse in every Claude step
  • Output that downstream steps read the same way on every run
  • A short test routine that catches weak prompts before customers do
On this page
  1. Where do I write an agent's prompt in Agent Studio?
  2. What makes a good AI agent prompt?
  3. How do I write prompts for a multi-step agent?
  4. How do I test a prompt before going live?
  5. Questions

Where do I write an agent's prompt in Agent Studio?#

In the LLM (Claude) step. Click it on the canvas and you get three fields that matter: Prompt, System prompt and Model. Use {{in}} inside the prompt to drop in whatever the step before it produced.

The fields on every Claude step
FieldWhat goes in itExample from the templates
System promptWho the model is and the rules it never breaksYou are a B2B sales qualifier. Be direct and concrete.
PromptThe task, the output shape and {{in}}Score this lead 1 to 10 on fit and intent. Output JSON.
ModelThe cost and speed tier for this stepLeave on the platform default until you need more
Draft safeguardsOptional checks for SEO titles and contact copy against your approved business factsSEO titles and descriptions

What makes a good AI agent prompt?#

A good agent prompt reads like a brief to a sharp new hire: who they are, what to do, what to hand back, and what to do when they are stuck.

  1. Give a role. "You are a customer-experience manager" sets vocabulary and judgment in one line.
  2. Name the task in one sentence. Put the action verb first: score, draft, summarize, extract.
  3. Show the exact output. Paste the JSON shape with every key, or set a word limit for prose.
  4. Supply the facts. Paste your prices, service area and policies, or wire in Knowledge Search.
  5. Say what to do when the answer is missing. The FAQ Concierge template tells the model to say so plainly and never invent information.
  6. Ban the phrases you hate. The Review Responder system prompt forbids "I apologize for the inconvenience".
A reusable prompt pattern for any Claude steptext
SYSTEM PROMPT
You are the intake coordinator for {business}. Be direct and specific.
Use only the facts provided. If a fact is missing, write "unknown".

PROMPT
Read the message below and return STRICT JSON only:
{ "intent": "quote | booking | support | other",
  "urgency": "today | this_week | later",
  "summary": "one sentence",
  "reply": "under 60 words, in our voice" }

Message:
{{in}}

How do I write prompts for a multi-step agent?#

Give each step one job and make every step carry the earlier findings forward. The AI Visibility Growth Team template chains five Claude steps: a brand strategist, a demand analyst, a competitive analyst, a growth lead and a content lead. Each one adds its own JSON key and returns everything it received unchanged, so the last step assembles the full plan.

How do I test a prompt before going live?#

Wire it with a free dry run, then judge the words on real examples. Run test checks every step and branch without spending credit; model steps return simulated results there, so switch on Run for real when you want to read Claude's actual output.

Test a prompt in five minutes

0 of 5 done

  1. Step 1: Open a template close to your job

    Start from a working prompt instead of a blank one. Lead Qualifier, Review Responder and FAQ Concierge are strong starting points.
    Browse templates
  2. Step 2: Collect five real inputs

    Pick an easy case, a hard case, a messy one, one missing key facts, and one the agent should refuse.
  3. Step 3: Run each one for real

    Turn on Run for real and read every output against what your best employee would have written.
  4. Step 4: Fix the prompt, then save a version

    Tighten the rule that failed, rerun the five, and press Save version once all five pass.
  5. Step 5: Review live runs weekly

    Open Runs, read a handful of results, and add any new failure to your test set.
    Open Runs

Questions buyers ask#

What is the difference between a system prompt and a prompt?

The System prompt sets who the model is and the rules it keeps on every run. The Prompt holds the task, the output shape and {{in}}, the data for this run.

How do I make an AI agent return JSON every time?

Paste the exact JSON shape into the prompt, say "return strict JSON only, no prose", and keep key names short and fixed. Agent Studio templates such as Lead Qualifier use this pattern.

How do I stop my agent from making things up?

Give it the facts and a rule for missing ones. Tell the step to use only the context provided and to say plainly when the answer is not there, as the FAQ Concierge template does.

Which model should my agent use?

Start on the platform default in the Model field. Move a step to a higher tier when your test set shows it needs deeper reasoning, and keep routine steps on the faster tier.

Can I write prompts without writing code?

Yes. Prompts are plain text in the step panel. Describe your agent on Start and Agent Studio builds the steps and drafts each prompt for you to edit.

Was this page helpful?

Good work starts with a clear flow.

Give an agent a job. Connect the steps. See how the work becomes a service someone else can call.

Input
Reason
Output

A workflow you can inspect

Make the steps visible.

Start with a template or describe the job. Connect inputs, reasoning, and output on the canvas.

Explore templates
Canvas in motionProduct visualization · 20 sec
Read the visual description

A stylized organization chart opens into a workflow canvas. Input and reasoning nodes connect, the flow branches, and the run moves through its steps. The film ends with Suede AI Agent Studio. Music only; no spoken narration.