For the complete documentation index, see llms.txt. This page is also available as Markdown.

Agent (AI Assistant)

What Is This?

An Agent is an AI conversational persona you build on MaiAgent. Each Agent is an independent chatbot with its own identity, personality, knowledge, and capabilities.

Think of an Agent as a new employee — you need to tell it:

  • Who you are (System Prompt)

  • What you know (Knowledge Base, Database)

  • What you can do (Tools, Skills)

Once configured, the Agent can serve users across various conversation platforms.

Core Concepts

Large Language Model (LLM)

The Agent's comprehension and response capabilities come from the underlying Large Language Model (LLM). Think of the LLM as the Agent's "brainpower" — different models vary in comprehension, response quality, speed, and cost.

When creating an Agent, you can choose the model that best fits your scenario. MaiAgent supports multiple models, including Claude, GPT, and more — you don't need to manage the models yourself; the platform handles it for you.

Quick guide: For precise responses and complex reasoning, choose a more powerful model. For high-frequency simple Q&A or cost control, choose a faster and lighter model.

System Prompt

The system prompt defines how the Agent behaves. For example:

  • "You are a friendly customer service representative. Respond in Traditional Chinese with a professional yet approachable tone."

  • "You are a financial analysis assistant. Only answer finance-related questions. If data is uncertain, clearly state so."

A well-crafted system prompt significantly improves the Agent's response quality.

Response Mode

MaiAgent offers two response modes:

  • Chat Mode: Suitable for general Q&A, responds directly using Knowledge Base content

  • Agent Mode: Suitable for scenarios requiring multi-step reasoning, where the Agent decides what data to look up and which tools to use

Memory

Agents have memory capabilities:

  • Conversation Memory: Remembers what was discussed earlier within the same conversation

  • Long-Term Memory: Retains important information across conversations, so you don't need to reintroduce yourself every time

Advanced note: The memory feature allows the Agent to maintain contextual coherence across multiple conversation turns and recall past conversations through vector retrieval. You can adjust related parameters in the Agent's "Memory Settings."

What Do I Need to Do?

  1. Create an Agent — Give it a name and choose a language model

  2. Write a System Prompt — Define the Agent's role and response style

  3. Attach Capabilities — Connect a Knowledge Base, Tools, Skills (as needed)

  4. Test Conversations — Test the results in the built-in chat window

  5. Connect a Platform and Go Live — Deploy to Web Chat, LINE, or other conversation platforms

Further Reading

Last updated

Was this helpful?