Skip to main content

Create your own agents

Create your own agents when a recurring loyalty or promo job needs a specialist that Loyal Guru’s purpose-built agents do not cover — the limit is your imagination: coupon inspectors, seasonal promo desks, CPG playbooks, or a personal copilot with your brand context.

Same agentic engine as purpose-built agents, pointed at the Company’s context, campaigns, and rules. You define the context it reasons with, the loyalty and promo tools it may use, and the boundaries it must respect.

An Owner user creates it in the Owner AI chat panel when they have Create permission on the Agents entity. After it becomes Active, you chat with it like any other agent. Create, edit, and delete follow permissions on that entity.

This is the custom half of the Agentic layer. Purpose-built catalog: Purpose Built agents.

Custom agents

Custom agents: the limit is your imagination

How you create one

  1. Instructions — what it does and what it refuses.
  2. Tools — what it uses from the platform.
Manual processes

Coupon Inspector reviews active discounts and flags overlaps.

Tailored analysis

An analyst dedicated to one concrete question for your business.

Personal copilot

With one person’s context: their brand, campaigns, and KPIs.

Rule guardian

Checks every campaign against your policy before it goes live.

What you can configure​

FieldRequiredWhat it does
Name✓Display name. It must contain at least one letter or number. Example: “Summer promo desk”.
DescriptionShort text shown in the agent list. Example: “Answers only with summer promo rules”.
Instructions✓How the agent should behave: what it does, what it refuses, and tone. Be concrete.
ToolsPresets the agent may call (grouped in the form: list campaigns, discounts, and so on). Search is on when presets exist. If the list is empty, leave tools unmarked.
Conversation startersSuggested first messages when you open the chat. Example: “List active promos”, “Draft 10% off fruit in store X”. Add or remove rows; empty rows are ignored.

How to create a custom agent​

  1. Open the AI chat panel from the Owner header.
  2. Open the agent list.
  3. Choose Create (needs Create on the Agents entity).
  4. Fill the form — at least Name and Instructions. Add description, tools, and starters if you need them.
  5. Choose Save as draft (save without activating) or Save and activate (save and start publishing). Both save the agent. Chat stays closed until status is Active.
  6. Wait until the list shows Active. Until then you cannot chat.
  7. Open the agent and Start chat.

If templates fail to load, the panel shows that configuration is missing. Ask an administrator — the form cannot save without those templates.

Edit, chat, and delete​

From the list, open an agent to see instructions and selected tools.

ActionPermission on the Agents entityNotes
Start chatChat-session permission (separate entity)Only when status is Active.
CreateCreateName, instructions, tools, starters.
EditUpdateSame form as create. Saving can republish the agent (status goes back to Processing for a moment).
DeleteDeleteConfirm by typing the agent name. Status becomes Deleting, then the row is removed.

Search the list by name, description, or creator.

The header dropdown shows up to five Active agents. After you start chat with a custom agent, its conversation starters replace the default prompts.

Statuses you will see​

StatusMeaning
Processing / PendingPublishing in progress — wait. Chat is closed.
ActiveReady to chat.
FailedPublishing failed — edit and retry, or contact Loyal Guru.
DeletingDelete in progress.

Examples​

Simple. Create “Promo desk”, instructions “Answer only from Loyal Guru promotion rules. Do not invent discounts. If a store, dates, or % is missing, ask.”, no extra tools. Save and activate. Chat when Active.

Combined. Same agent plus tool presets for campaign and discount APIs, and two starters: “List active discount campaigns” and “Draft 10% off fruit in store X”.

Edge. Name is only symbols. Save stops with “Name must include at least one letter or number.”

Best practices​

  1. Be specific in instructions: product or category, stores, dates, %, points — and what the agent must refuse.
  2. Always review drafts before you save or activate campaigns in Owner.
  3. If the agent asks for confirmation before a change, read it and confirm only when it is correct.
  4. If you do not know which purpose-built agent to use first, start with Guru Agent, then create a custom agent for the recurring desk job.
  5. Keep conversation starters short and action-oriented so the team opens the right flow every time.

For published system agents, see Purpose Built agents. To connect external AI tools, see Connect Your agents.