Skip to content
QwryAI
Documentation
Pages

AI Agent Management

Write your agent's instructions and choose its model

Write your agent's instructions, pick its model and temperature, and compare settings side by side before you save

Build is the part of QwryAI where you set up how your agent works: what it says, what it knows and what it can do. Build › Instructions holds your agent's written instructions, its AI model and its temperature, which together decide how it answers on every channel, from the Chat bubble to WhatsApp and email. It's for whoever owns the agent's behaviour, such as a support lead, a marketer or a developer.

Change the instructions when the agent's tone, scope or rules aren't what you want, for example when it answers off-topic questions or doesn't offer a handoff. Change the model when answers are right but too slow, too shallow or too costly in credits. If answers are wrong because information is missing, fix your Data sources instead.

This page covers Instructions: the instructions themselves, the model, the temperature, and Compare for testing changes. The other Build sections have their own pages:

Build sectionWhat it covers
InstructionsThis page
Data sourcesThe content your agent is trained on
Knowledge gapsQuestions your agent couldn't answer, ready for you to fill in
ActionsWhat your agent can do beyond answering
ProceduresMulti-step flows your agent follows
ApprovalsWho signs off before an Action runs, when you want a check
WidgetsInteractive cards and forms your agent can show
VoiceHow your agent sounds and behaves in voice conversations
GuardrailsRate limit, spam detection and country blocking

Instructions

Instructions set your agent's role, its behaviour and how it answers. Use them to give it context, set expectations and control how it replies.

Open Build › Instructions. The General and Guardrails editors fill the left of the page, and the Model configuration panel on the right holds the Model menu and the Temperature slider. Use Compare in the header to test changes side by side. Your edits save to your draft as you type.

Instructions, Guardrails and Model configuration.

General instructions

General holds your agent's main instructions. QwryAI drafts them from your website when you create the agent. Use them to set out:

  • Your business or product
  • The agent's role and what it's responsible for
  • Its tone and how long its answers should be
  • Its goals and what you expect it to do
  • Anything else it should keep in mind

These instructions are the foundation of every answer. The editor has bold, italic, underline and list buttons, and the expand button opens a larger editor. It holds up to 20,000 characters.

Guardrails instructions

Use Guardrails for rules your agent must always follow, such as:

  • Topics it must not discuss
  • Information it must never share
  • Safety or compliance requirements
  • What to do when it can't help
  • Limits on its role or what it offers

Guardrails are for non-negotiable rules that apply to every conversation. This editor also holds up to 20,000 characters.

Rules for every conversation.

Instruction examples by use case

Good instructions name the business, the agent's job, what it should and shouldn't do, and what to say when it doesn't know. Replace the sample details with your own.

General

Example conversation
You are the support assistant for Clearwave, a home internet provider.
Help customers with billing, setup, outages and plan changes.

- Answer from your sources. If the answer isn't there, say you can't confirm
  it and offer to create a support ticket.
- Ask one clarifying question when a request is unclear, such as which
  modem or plan the customer has.
- Give troubleshooting steps as a numbered list, one action per step.
- Reply in the language the customer writes in.

Guardrails

Example conversation
- Never ask for or repeat passwords or full card numbers.
- Don't promise credits, refunds or repair dates.
- If a customer reports a safety issue, tell them to contact emergency services.

Instructions only describe what the agent should do. To let it book a demo, look up an order or start a return, add the matching Actions, such as Calendly, Shopify Actions or Escalations. For flows with several ordered steps, such as returns, use a Procedure.

AI Model

The model writes your agent's replies. Each model has its own strengths, speed and credit cost per reply. Open Model under Model configuration to choose one: you can search by name, and filter by credits per message and by what the model accepts (text, images, voice).

Each model shows its credits per message.
OpenAI
  • GPT-6.1 Sol: 2 credits
  • GPT-6.1 Terra: 2 credits
  • GPT-6 Luna: 1 credit
  • GPT-5.6 Terra: 2 credits
  • GPT-5.5: 4 credits
  • GPT-5.2: 2 credits
  • GPT-OSS-120B: 1 credit
  • GPT-OSS-20B: 1 credit
Anthropic
  • Claude 5.5 Opus: 5 credits
  • Claude 5.5 Sonnet: 2 credits
  • Claude 5.5 Haiku: 1 credit
Google
  • Gemini 3.8 Flash: 2 credits
  • Gemini 3.6 Flash: 2 credits
  • Gemini 3.5 Flash Lite: 1 credit
  • Gemini 3.1 Pro: 2 credits
  • Gemini 3.1 Flash Lite: 1 credit
  • Gemini 3 Flash: 1 credit
  • Gemini 2.5 Pro: 2 credits
DeepSeek
  • DeepSeek-V4.1 Flash: 1 credit
  • DeepSeek-V4 Flash: 1 credit
  • DeepSeek-V3.1: 1 credit
  • DeepSeek-R1: 1 credit
Grok
  • Grok 4.7: 2 credits
Mistral
  • Mistral Medium 3.5: 2 credits
  • Mistral Small 4: 1 credit

When you choose a Mistral model, the model call that writes your agent's reply runs on servers in the EU. Other steps in handling a conversation may still run outside the EU, so a Mistral model doesn't on its own keep all conversation data in the EU.

Moonshot AI
  • Kimi K2.6: 1 credit
Z.ai
  • GLM 5.3 Flash: 1 credit
  • GLM 5.2: 2 credits

The Free plan offers a smaller set of models. Voice conversations can use any model except Gemini 3.1 Pro and Gemini 2.5 Pro, which are too slow for spoken replies.

Temperature

Temperature sets how varied your agent's wording is. The slider runs from Reserved (0) to Creative (1) in steps of 0.1:

  • Lower temperature (close to 0): focused, consistent answers that stick closely to your sources
  • Higher temperature (close to 1): more varied, inventive wording that's harder to predict
Drag between Reserved and Creative.

How temperature changes answers

Temperature changes how an answer is worded, not what your agent knows. Say a customer asks "What are your opening hours?" and your sources say you're open 9 am to 6 pm, Monday to Friday:

  • At 0, the agent gives much the same answer every time: "We're open Monday to Friday, 9 am to 6 pm."
  • Near 1, the wording changes from one conversation to the next: "Happy to help! You'll find us open any weekday between 9 in the morning and 6 in the evening."

Keep temperature low for support, billing and policy questions, where customers should get the same answer each time. Raise it if replies feel repetitive in conversations where variety helps, such as product suggestions. To see the difference with your own content, open Compare and give two panes the same model at different temperatures.

Compare area

Select Compare in the Build › Instructions header to open the compare view. The same button appears in the Playground header.

Several versions of your agent, side by side.

Compare puts up to four versions of your agent side by side, each with its own settings, so you can see which settings suit you. A message you send goes to every synced pane, so you can judge each version's reply to the same question.

Per-pane controls

Each pane has its own controls:

ControlWhat it does
SyncTurn it off to keep this pane out of shared messages
SettingsChange this pane's instructions, the Actions it can use, temperature, top P, top K, frequency and presence penalties, maximum tokens and Show citations. Apply settings to all instances copies them to every pane
Save to global configMake this pane's settings your agent's main settings (saved to your draft)
Remove PaneClose this pane
Each pane has its own settings.

View controls

Above the panes you can also:

  • Add Model: add another pane, up to four
  • Clear All: clear every pane's conversation
  • Reset Settings: set every pane back to your agent's main settings
  • Exit: go back to the Instructions page

Troubleshooting

My agent has stopped replying

Possible cause: your workspace has run out of credits. Every reply uses the credits of the agent's model, and the sidebar's Credits available card shows what's left.

Solution: check Usage in your workspace sidebar, then upgrade or wait for your credits to reset. See Usage.

Frequently asked questions

What's the difference between instructions and Procedures?

Instructions apply to every conversation: your agent's role, tone, scope and rules. A Procedure applies only when a conversation matches its trigger, and gives your agent ordered steps to follow, including the Actions to call. Use instructions for how your agent behaves in general, and Procedures for situations such as refunds or order problems where you don't want it improvising.

How long can my agent's instructions be?

General and Guardrails each hold up to 20,000 characters. Shorter instructions are easier to maintain: put facts such as prices and policies in your Data sources, and keep instructions for behaviour.

Can each channel have different instructions?

Yes. In the Playground, each channel's Overview tab has Sync with global instructions. Leave it on to use the instructions from Build › Instructions, or turn it off to write instructions for that channel only.

Why don't my instruction changes show up for customers?

Your edits save to a draft. The Playground uses the draft straight away, but your live channels keep the published version until you select Publish. See Drafts and publishing.

Which AI model should I choose?

Start with a fast, 1-credit model such as Claude 5.5 Haiku or GPT-6 Luna for everyday support, and move up only if answers fall short. Send the same questions to a few models in Compare, and see Models comparison for each model's strengths.

Should I put rules in General or Guardrails?

Put context and everyday behaviour in General: your business and the agent's role, tone and goals. Put non-negotiable rules in Guardrails, such as topics to avoid, information never to share and compliance requirements. The Guardrails editor is different from the Guardrails page, which covers the rate limit, spam detection and country blocking.

Next steps

Explore the documentation