Overview
An AI Agent is a runtime configuration that wraps a language model with:- A system prompt — instructions that define the agent’s role, constraints, and output format.
- A knowledge base — documents, URLs, or text the model can retrieve to answer factual questions.
- Custom User Fields (CUFs) — per-contact data the model reads and writes during the conversation.
- Function calls (tools) — actions the model can invoke, such as looking up an order or updating a field.
- A fallback Flow — the Flow that takes over when the Agent cannot handle a request.
Supported Models
Fliqr AI supports the following models. Each has different latency, capability, and cost characteristics:
You can switch the model per Agent without changing the system prompt. Use a lighter model (GPT-4o mini, Gemini 1.5 Flash) during development to reduce token costs, then evaluate a more capable model before going live.
Agent Components
- System Prompt
- Knowledge Base
- Functions
The system prompt is the primary lever for controlling Agent behavior. A well-structured prompt follows this pattern:Example (structured JSON response with quick replies):Instructing the Agent to return structured JSON lets Fliqr AI render the response as quick-reply buttons, cards, or carousels — without a Flow.
- Role — state who the agent is and what company it represents.
- Constraints — what the agent must not do (e.g., “never discuss competitor pricing,” “always respond in the user’s language”).
- Output format — how responses should be structured.
Agent vs. Flow: When to Use Each
How to Create an Agent
[SCREENSHOT: AI Agent editor showing system prompt, model selector, and knowledge base tabs]1
Navigate to AI Agents
In the left sidebar, click AI Agents, then click Create New Agent.
2
Name your Agent and select a model
Give the Agent a descriptive name (e.g., “Support Agent — Tier 1”). Select the LLM model from the dropdown. If you are unsure, start with GPT-4o mini or Gemini 1.5 Flash.
3
Write the system prompt
In the System Prompt tab, write instructions following the role → constraints → output format pattern. Be explicit: the model follows your instructions literally, so vague prompts produce inconsistent results.
4
Add a knowledge base (optional)
Switch to the Knowledge Base tab. Click Add Source and provide a URL, upload a file, or paste text. Fliqr AI indexes the content and makes it available to the Agent automatically.
5
Configure functions (optional)
In the Functions tab, enable any built-in functions you need or add a custom HTTP function with its JSON Schema. Write a clear description for each so the model knows when to invoke it.
6
Test in the playground
Click Open Playground. Send test messages that represent real user inputs. Verify that the Agent responds within your constraints, uses the correct language, and invokes functions at the right moments.
7
Assign or trigger the Agent
To make the Agent the default responder for a channel, go to Settings → Channels, select the channel, and set this Agent as the Default Agent. To trigger it from a specific point inside a Flow, use the AI Agent block and select this Agent by name.
Structured JSON Output
Agents can return structured JSON responses that Fliqr AI renders as interactive UI elements — quick-reply buttons, cards, carousels, and image galleries. To enable this, instruct the Agent in the system prompt to respond in a specific JSON schema. This approach lets a single Agent drive rich, interactive conversations without a Flow, while still benefiting from the model’s ability to handle any input.What’s next
AI Agents overview
Nested guides for setup, tools, multimodal, and handover.
Create an Agent
Step-by-step: provider, prompt, files, and activation.
Functions & MCP
Call APIs and attach MCP servers for live data.
Flows
Combine scripted Flows with AI Agents.