> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getsmartalex.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.
> For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.
> Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.
> Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.
> If a feature or screen is not described in these docs, say that you could not find it rather than guessing.
> Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.
> The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview.

# Instructions and guardrails

> Your SmartAlex agent works from its Instructions: an objective, sample phrases, business rules, pronunciation and up to 20 guardrails it never breaks.

The **Instructions** sheet holds everything your agent works from. It has the **Objective** (the one goal), **Sample phrases** (how it should sound) and **Business rules** (your rules and policies). It also has **Pronunciation** and **Guardrails** (rules it must never break). You can edit it directly, or ask Alex on Home and approve the change.

> [!NOTE]
>
> In the app: **+ → Edit instructions** on Home (/home), and Guardrails also open from **+ → Guardrails**.

## The five parts

![The Instructions sheet with its five parts](https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/agents-studio/instructions-sheet.webp?fit=max\&auto=format\&n=1aJfW-RE1YMT8lGO\&q=85\&s=a0dfad006e85813169f15c16fbc33aff)

The Instructions sheet

| Part | What goes in it | Suggested size |
| - | - | - |
| **Objective** | "The goal and any steps the agent should follow." | 600 characters |
| **Sample phrases** | "A few lines that show how the agent should sound. It uses them as a pattern, not a script." | 400 characters |
| **Business rules** | "Your own rules. They are added to everything else the agent follows." Prices, policies, hours, what it may promise | 4,000 characters |
| **Pronunciation** | "Words the agent says a particular way, such as your company name." | |
| **Guardrails** | "Rules the agent never breaks, such as topics it must not discuss." Up to 20 rules of 300 characters | |

Each section shows its length, which turns amber over the suggested size. Over that, "every call costs more and the agent can miss parts of it." The suggestions are not hard limits.

```mermaid theme={null}
flowchart LR
    O["Objective<br/>the one goal"] --> Agent["Your agent on a call"]
    SP["Sample phrases<br/>how it sounds"] --> Agent
    BR["Business rules<br/>your policies"] --> Agent
    PR["Pronunciation<br/>how to say names"] --> Agent
    GR["Guardrails<br/>never do"] --> Agent
    KB["Knowledge<br/>facts to answer from"] --> Agent
```

> [!TIP]
>
> Rules go in **Business rules**. Facts, such as your price list or parking details, go in [Knowledge](https://docs.getsmartalex.com/essentials/knowledge-base.md). The opening words go in [Greeting](https://docs.getsmartalex.com/agents/greeting-and-opening-line.md).

## Objective

The objective is the agent's **North Star**: its one goal. It might be "book a free consultation", or "answer support questions and hand off anything it cannot resolve". It starts as the main goal you gave when you created the agent, and Alex checks every later change against it. To see it, ask Alex "What is my North Star?".

* **Goal**: "What should this agent achieve?" Up to 2,000 characters.
* **Optional steps**: click **Add step** for each step the agent should follow, in order.
* Click **Save to draft**, test the draft, then publish it. Objective edits always go to a draft.

## Sample phrases and business rules

Click **Add sample phrase** or **Add business rule**, then type or paste. Paste several at once and each gets its own box to check before you save. Click **Save**.

A good business rule is specific:

```text theme={null}
We are open Monday to Friday, 9am to 5pm. We are closed on public holidays.
Never quote a price for a crown over the phone. Offer a free consultation instead.
For dental emergencies, transfer to the practice manager.
```

Avoid vague rules like "be helpful and answer questions".

## Guardrails

Guardrails are the rules your agent never breaks, on every call, and our own safety rules always apply as well.

**1. Open Guardrails**

On Home, click **+ → Guardrails**. The message box turns red and reads **The agent must never…**

![The message box in guardrail mode](https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/agents-studio/guardrails-input.webp?fit=max\&auto=format\&n=1aJfW-RE1YMT8lGO\&q=85\&s=00005afd3422f14f0cdea76395b68949)

Add a rule the agent never breaks

**2. Add a rule**

Type one rule, such as "discuss a competitor's prices", and press Enter.

**3. Check it**

SmartAlex checks the rule against the instructions and tools, and warns you if it may conflict. Click **View all** to see every rule.

**4. Finish**

Click **Done**.

Each agent can have up to 20 rules of 300 characters each. Guardrails save straight to the live agent, so they are hidden while a draft is open.

## Pronunciation

Add a **Word** and how to **Say it as**, then press **Hear word** for three takes in the agent's voice. See [Voices and languages](https://docs.getsmartalex.com/agents/voices-and-languages.md#pronunciation).

## Price and length

The price a minute includes 2,000 characters of your own instructions: objective, sample phrases, business rules, pronunciation and guardrails together. The foot of the sheet shows how many you use, such as "1,840 of 2,000 characters", and the price. Longer instructions add to the price, so open **+ → Call price** and click **Shorten** to have Alex trim them. See [Home](https://docs.getsmartalex.com/agents/home.md#call-price).

## Questions people ask

> [accordion] Why can't I edit some sections?
>
> While a draft is open, the objective, sample phrases and business rules save to the draft. Pronunciation and guardrails wait until you publish or discard it. See [Versions and drafts](https://docs.getsmartalex.com/agents/versions.md).

> [accordion] It removed my accent wording
>
> Accents are set in **Voice and greeting**, so SmartAlex takes accent wording out of the instructions and tells you what it removed. Click **Save** again to keep the rest.

> [accordion] The agent ignores a rule
>
> Make it a guardrail if it is something the agent must never do. Keep business rules short and specific, and under the suggested size, so nothing gets missed. Then run a **Quick check** on Home.

> [accordion] Should I put my FAQ in the instructions?
>
> No. Put facts and answers in [Knowledge](https://docs.getsmartalex.com/essentials/knowledge-base.md). The agent searches it when a caller asks, and it does not count towards the 2,000 characters of instructions.

> [accordion] Can the agent offer the same document or link on every call?
>
> Yes. Add a business rule in plain words, such as "Offer to send the fact sheet on every call", one rule per line. Save the file under **Knowledge → Documents** or the link under **Knowledge → Links**. Then switch on **Send a Saved Document** or **Send a Saved Link**.

> [accordion] Can the agent speak as one of our team?
>
> Yes. Add a business rule such as "Speak as part of the team: say we and our, not they." It still says it is an AI assistant when asked.

> [accordion] Where are the tool instructions?
>
> Each tool has its own setup under **Agent Settings → Tools**. Use business rules for when to use a tool, such as "Only offer a booking link after the caller agrees a date."

> [accordion] What is my North Star, and what is it set to?
>
> Your North Star is your agent's **Objective**: the one goal it works toward on every call, such as "book a free consultation". To see it, ask Alex "What is my North Star?", or on **Sidebar → Home** click **+ → Edit instructions** and read **Goal** under **Objective**.

> [accordion] How do I change my North Star, for example to a support agent?
>
> Tell Alex on Home, such as "Change my North Star to answering support questions and handing off anything you cannot solve". Click **Review** on the card, check the goal and save it; it goes into a draft, so test it and then click **Publish**. You can also edit **Goal** under **+ → Edit instructions → Objective**.

> [accordion] Can my messaging and voice agent have different North Stars?
>
> Each agent has its own North Star, used on its calls and in its messages. One agent cannot have one goal for calls and another for messages. To change only how it writes, switch the message box to **Messaging** and click **+ → Edit instructions**. Those adjustments apply only to messages, and "your main instructions carry through automatically."

> [accordion] Does a change I ask for go against my North Star?
>
> Alex checks for you. If a change would work against your North Star, Alex asks you one short question before it suggests anything. A campaign's own objective never overrides it either.

> [accordion] What are guardrails?
>
> Rules your agent never breaks, on every call, such as "never discuss a competitor's prices" or "never give medical advice". They sit on top of our own safety rules, and each agent can have up to 20, of 300 characters each.

> [accordion] Which guardrails does my agent have?
>
> On **Sidebar → Home**, click **+ → Guardrails**, then **View all**. You can also read them under **+ → Edit instructions → Guardrails**. Guardrails are hidden while a draft is open, so publish or discard it first.

> [accordion] How do I add a guardrail and test that it works?
>
> Click **+ → Guardrails**, type the rule after **The agent must never…**, press Enter, then click **Done**. To test it, run a browser test and try to make the agent break it. Or ask Alex to "check you never discuss competitor prices" for a quick check with several callers. See [Test your agent](https://docs.getsmartalex.com/agents/test-your-agent.md).

## Related

> [card] [Change your agent](https://docs.getsmartalex.com/agents/change-your-agent.md)
>
> Let Alex write the change for you.

> [card] [Test your agent](https://docs.getsmartalex.com/agents/test-your-agent.md)
>
> Check the agent follows its rules.

> [card] [Start free](https://getsmartalex.com/instant)
>
> Build an agent and talk to it in your browser in about a minute. No card needed.

> [card] [Visit getsmartalex.com](https://getsmartalex.com)
>
> See what SmartAlex does for your business, hear real agents and compare plans.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.