docs/usage/getting-started/agent.mdx
Every Agent in LobeHub is a persistent teammate — not a one-off conversation. Build a translation Agent that remembers your terminology, a coding Agent tuned to your stack, or a writing Agent that matches your voice. Configure the role, model, Skills, and knowledge base once; let it get smarter from there.
This guide walks you through creating and configuring your first Agent.
Every Agent is built from six components:
| Component | Purpose |
|---|---|
| System Role | The Agent's personality, expertise, and behavioral guidelines |
| AI Model | The LLM powering the Agent — GPT-4o, Claude, Gemini, and more |
| Skills | Capabilities like web search, code execution, and image generation |
| Integrations | MCP connections and integrations with external services |
| Knowledge Base | Documents and data the Agent can search and reference |
| Memory | Personal context the Agent learns and retains across sessions |
Start simple — a System Role and a model is all you need. Layer in Skills, Integrations, and a Knowledge Base as your work demands.
Three paths to your first Agent: smart creation with Agent Builder, building one from scratch, or adding one from the Community. All three let you fine-tune every detail afterward.
Click Create Agent in the left sidebar, or use the Create Agent option below the chat input.
On the Agent Profile page, chat with Agent Builder on the right panel. Describe what you need in plain language — Agent Builder generates the role settings, system prompt, and Skill configuration automatically.
Review the generated configuration and adjust anything that doesn't fit. </Steps>
For full control: set the avatar, name, system prompt, model, and Integrations yourself on the Agent Profile page. Start with the system prompt — everything else follows.
The Community has thousands of ready-to-use Agents — design experts, coding helpers, copywriters, academic tutors, and more.
After creating an Agent, expand its capabilities by adding Skills and linking external services.
Go to Agent Profile → + Add Skill in the left sidebar.
Your Agent should evolve as your work does. Open a conversation, click Agent Profile in the left sidebar, and update anything — name, role, model, or Skills — at any time.
Attach a knowledge base so your Agent answers from your own data — docs, specs, or research — not just from general training.
In the chat interface, use the Knowledge Base button to select and attach a knowledge base.
<Callout type="info"> For more on knowledge bases, see [Resource Library](/docs/usage/getting-started/resource). </Callout>The system prompt is the most important part of your Agent. It defines the Agent's expertise, behavior, and communication style. A well-written system prompt produces consistent, high-quality results.
Example structure:
You are an expert [ROLE] specializing in [DOMAIN].
Your expertise includes:
- [Specific area 1]
- [Specific area 2]
- [Specific area 3]
When responding:
- [Communication guideline 1]
- [Communication guideline 2]
- [Format preference]
Tips for writing good prompts:
Different models have different strengths:
| Model | Best For |
|---|---|
| GPT-4o, Claude Sonnet | Balanced performance, coding, analysis |
| Claude Opus, GPT-o1 | Complex reasoning, nuanced tasks |
| Gemini | Multi-modal tasks, long context |
| GPT-4o-mini, Claude Haiku | Fast responses, simple tasks, cost efficiency |
| Ollama (local) | Privacy-sensitive tasks, offline use |
Match the model to the task complexity and your budget. For Agents that handle routine tasks, a smaller model is often sufficient and faster.
When you have many Agents and Group Chats, organizing them into Groups keeps the sidebar clean and makes switching easier.
On the LobeHub homepage, open the Agent list menu and select Add New Group.
Select an existing Agent or Group Chat, then click Move to Group. You can also create new Agents or Group Chats directly inside a Group.
Go to the Agent list or Group menu and select Manage Groups to rename or reorder them.
Pin an Agent to the top of the list for quicker access. Select the Agent and choose Pin from the menu. Pinned Agents stay at the top.
Duplicate an Agent to explore different configurations without modifying the original. Select the Agent and choose Create Copy from the menu.
Select the Agent, choose Delete from the menu, and confirm. The Agent will be removed.
<Cards> <Card href={'/docs/usage/agent/agent-team'} title={'Agent Groups'} /><Card href={'/docs/usage/agent/scheduled-task'} title={'Scheduled Tasks'} />
<Card href={'/docs/usage/getting-started/memory'} title={'Memory'} />
<Card href={'/docs/usage/community/publish-agent'} title={'Publish an Agent'} /> </Cards>