Core prompt files
IDENTITY, SOUL, AGENTS and USER — the four files that define how an agent behaves, and how to write each one.
An agent's behaviour is defined by four Markdown files, edited in the Core Files card on the agent's Identity tab. Each has a distinct job. Keeping them separate is what makes an agent's behaviour predictable and easy to change.
All four are optional, but an agent with none of them written will behave generically.
The four files
| File | Answers the question | Typical length |
|---|---|---|
| IDENTITY | Who is this agent? | 10–30 lines |
| SOUL | How does it speak? | 5–20 lines |
| AGENTS | What can it do, and what can it not do? | 10–30 lines |
| USER | Who is it talking to? | 5–15 lines |
Editing the files
Open an agent, go to the Identity tab, and scroll to Core Files. Each file has its own tab: IDENTITY.md, SOUL.md, AGENTS.md and USER.md.
The editor shows formatted text rather than raw Markdown. Formatting applies as you type, and the file is still saved as Markdown.
| To get | Type at the start of a line, or around text |
|---|---|
| A heading | #, ## or ###, then a space |
| A bulleted list | - then a space |
| A numbered list | 1. then a space |
| A quote | > then a space |
| A code block | ``` then Enter |
| Bold / italic | **text** / *text* |
Inline code | `text` |
Standard shortcuts also work: Cmd/Ctrl + B for bold, Cmd/Ctrl + I for italic, and Cmd/Ctrl + Z to undo.
Tables. Click Insert table above the editor to add a 3 × 3 table with a header row. While your cursor is inside a table, the toolbar also shows + Row, + Col, - Row, - Col and Delete table.
Saving. You can switch between the four file tabs without losing what you typed. Save files saves all four at once, and Cancel discards unsaved changes in all four. Saving does not publish a versioned agent: it changes the draft, which you publish as usual.
Regenerating. Agents created from an advanced prompt in the creation wizard have a Regenerate button. It rewrites the open file from your original prompt and replaces everything in it, including your manual edits.
Built-in system agents show Read-only · system agent and cannot be edited.
Tagging tools and resources
Type @ anywhere in a file to tag something the agent should use. Keep typing to filter the
list, then press Enter or click a match. Names with spaces work, so @Business Info finds a
knowledge source called Business Info. Each row in the list says what kind of thing it is.
| You can tag | What the agent gets | When you save |
|---|---|---|
| A tool | The tool's name | The tool is added to the agent |
| A knowledge source | The source's ID | The source is added to the agent |
| A data table | The table's slug, which its tools look up | Nothing changes. The agent needs table permissions |
| An asset | The asset's ID | Nothing changes. The agent needs asset permissions |
A tagged knowledge source, table or asset appears as a chip showing its name. Behind the chip, the file stores the name together with the exact identifier, so the agent can use the resource straight away instead of searching for it first:
When a customer asks about opening hours, check @[Business Info](knowledge:01a02a29-…).
Record every enquiry in @[Enquiries](table:enquiries).
Send @[2026 Price List.pdf](asset:019f6196-…) when someone asks for prices.The agent is told what these tags mean. It refers to each resource by name when talking to customers and never shows the identifier.
Giving the agent access
Tagging a table or an asset does not give the agent access to it. Below the editor, the Tagged row lists everything tagged in the open file. A table or asset the agent cannot read yet shows in amber. Give it access in the table's permissions or the asset's agent permissions, then reload the page. A tagged knowledge source needs no extra step, because saving adds it to the agent.
Renaming, deleting and removing tags
- Renaming a resource leaves the old name on the chip, but the tag still points to the right resource. Tag it again if you want the new name shown.
- Deleting a resource leaves its tag in place, but the agent can no longer use it. Remove the tag.
- Removing a tag does not detach the tool or knowledge source it added. Remove a tool on the Capabilities tab. To remove a knowledge source, see granting access.
IDENTITY
Role, purpose and core capabilities. This is the agent's job description.
Write:
- Who the agent works for, by name
- What it is for, in one sentence
- The boundaries of its role
- What it should do when a request falls outside that role
Avoid putting tone here — that belongs in SOUL.
# Identity
You are the support assistant for Northwind Coffee, an online coffee subscription service.
Your role is to answer customer questions about orders, subscriptions, delivery and returns
using the Northwind knowledge base.
You do not give advice on payment disputes, and you never process refunds yourself — you
collect the details and hand off to a human.SOUL
Personality, tone and interaction style. Nothing about capability.
# Soul
Warm, brief and practical. Write like a knowledgeable colleague, not a brochure.
Prefer short paragraphs. Use the customer's name if you know it. Never use exclamation marks
more than once in a reply. When you have to deliver bad news, lead with what you can do.Tone belongs in SOUL, not in a skill. Adding a skill to adjust tone makes behaviour harder to predict because skill instructions compose with everything else.
SOUL written by the creation wizard includes a ## Your Point of View section for
customer-facing agents, stating the voice in the agent's own words:
## Your Point of View
You speak as part of the practice, not about it. Our packages, our therapists, our availability.This is ordinary SOUL content — edit or remove it like anything else. It is separate from the point of view setting on the Communication Style card, which applies its own instruction at every turn. Setting both is fine; they say the same thing.
AGENTS
An explicit list of what the agent can and cannot do. This is what stops it inventing capabilities.
# Capabilities
You can:
- Look up order status using the order lookup tool
- Explain delivery timelines and the returns policy from @[Returns Policy](knowledge:…)
- Capture a callback request into @[Support Requests](table:support_requests)
You cannot:
- Change or cancel an order
- Issue a refund
- Access payment card detailsBe concrete. "You cannot access payment details" prevents a class of bad answers that "be careful with sensitive data" does not.
USER
Who the agent is talking to, so it can pitch its answers correctly.
# Audience
Existing subscribers, mostly non-technical, usually on a phone. Many are mid-purchase and
impatient.
Assume no knowledge of internal terminology. Do not use words like "SKU" or "fulfilment
partner" — say "product" and "delivery company".How they combine
At runtime the four files are composed into the agent's instructions, alongside any attached skills, the guardrail rules, and retrieved knowledge. Keeping each file to its own concern means you can change tone without touching capability, and vice versa.
Writing well
- Be specific. Vague instructions produce inconsistent behaviour.
- Write rules, not essays. The agent follows short, clear statements more reliably.
- Say what to do, not only what to avoid. "Hand off to a human" beats "don't answer".
- Test after each change. Use the agent's Sandbox tab, or evaluations to catch regressions automatically.