Agents

Agents

Agents are AI assistants defined within blueprints. They have configurable identities, knowledge bases, and flows that power conversations and automated interactions.

An agent is an AI assistant defined within a blueprint. Each agent has an identity (name, avatar, description), a behavior model powered by flows and LLM interactions, and optionally a knowledge base for retrieval-augmented generation.

Agents are the primary way users interact with AI on the platform — through conversations, web widgets, or messaging channels.

How agents work

When a user sends a message to an agent, the following happens:

  1. The message is posted to a conversation where the agent is a participant.
  2. If the agent has autoRespond enabled, its default flow is triggered.
  3. The flow executes its steps — typically calling the assistant engine, which:
    • Retrieves relevant documents from the agent's knowledge base
    • Builds a prompt with conversation context and retrieved content
    • Calls the configured LLM to generate a response
    • Streams the response back to the conversation
  4. The user sees the agent's response in real time.
User message
  → Conversation
    → Agent's default flow triggered
      → Assistant step
        → Knowledge base retrieval (RAG)
        → LLM generation
        → Response streamed to conversation

Agent properties

PropertyDescription
NameDisplay name shown to users in conversations
DescriptionContext about the agent's role — used as system instructions for the LLM
AvatarVisual identity (image)
ColorAccent color for the agent in the UI
Default flowThe flow triggered when the agent participates in conversations
Knowledge baseA search index used for RAG retrieval
Query suggestionsPre-written prompts suggested to users at the start of a conversation
Service agentWhether this is a background agent (not user-facing)

Agent identity

Each agent has its own identity on the platform. When an app is installed, the platform creates a service account for each agent in the identity provider. This gives agents:

  • A persistent identity across conversations
  • The ability to post messages as themselves
  • Proper attribution in conversation history
  • Permission to execute operations on behalf of the app

In this section