Agents
Agents are one of the core features of MobausStudio, allowing you to create personalized AI assistants with specific behaviors and capabilities.
What is an Agent?
Agent = AI Model + System Prompt + Skills + MCP Tools + Permission Settings
Simply put, an Agent is a "customized AI assistant". You can:
- Give it a name and description
- Choose which AI model to use
- Define its role and behavior rules (system prompt)
- Assign specific skills
- Enable MCP tools (like reading/writing files, querying databases)
- Configure permission restrictions for safety
Creating an Agent
Step 1: Go to Agents Page
Click the "Agents" icon (workflow icon) in the sidebar.
Step 2: Click Create
Click the "Create Agent" button in the top right, or click the dashed card with the + icon.
Step 3: Fill in Basic Information
| Field | Description | Example |
|---|---|---|
| Name | Give your agent a name | Code Assistant, Translation Expert |
| Description | Brief description of purpose | Helps review and optimize code |
| Model | Select the AI model to use | GPT-4o, Claude 3.5 Sonnet |
Step 4: Configure System Prompt
The system prompt defines the agent's "persona" and behavior rules. For example:
You are a professional code review assistant.
- Carefully analyze the code provided by the user
- Point out potential bugs and security issues
- Provide optimization suggestions
- Reply in English💡 Tip: A good system prompt helps the agent better understand your needs.
Step 5: Select Skills (Optional)
Skills are preset prompt templates. When selected, their prompts are automatically injected into the system prompt.
- View available skills in the "Configure Skills" section
- Check the skills you need
- Preview the skill's prompt content
Step 6: Save
Click the "Create Agent" button to complete creation.
Advanced Settings
Temperature
Controls the randomness of responses:
- 0: Most deterministic, suitable for code and factual Q&A
- 0.7: Balanced (default)
- 1+: More creative, suitable for creative writing
Max Tokens
Limits the maximum length of responses:
- Short answers: 500-1000
- Detailed explanations: 2000-4000
- Long-form content: 4000+
MCP Tool Configuration
Enable your agent to use external tools like reading/writing files, executing commands, etc.
Enable MCP Tools
- When creating/editing an agent, find the "MCP Tool Calling" section
- Toggle the switch to enable
- Select the MCP servers to use
Prerequisites
- You need to add and connect MCP servers in the MCP page first
- Only connected servers will appear in the list
Use Cases
| Scenario | Required MCP Server |
|---|---|
| Read/write project files | filesystem |
| Query database | sqlite |
| Operate GitHub | github |
Permissions & Security Settings
For safety, you can restrict the agent's operational permissions.
File System Permissions
| Setting | Description |
|---|---|
| Working Directory | Agent's default working directory |
| Allowed Paths | Can only access these directories |
| Denied Paths | Cannot access these directories |
💡 Tip: Desktop version allows clicking the folder icon to select directories directly.
Tool Permission Rules
Use rule patterns to control what operations the agent can perform:
Allowed operations examples:
Read- Allow reading filesBash(npm run *)- Allow npm commandsBash(git *)- Allow git commandsWebSearch- Allow web search
Denied operations examples:
Bash(rm -rf *)- Deny delete commandsBash(shutdown *)- Deny shutdown commands
Auto Approve
Certain operations can be set to execute automatically without confirmation:
| Option | Description |
|---|---|
| Auto approve read files | No confirmation needed for reading files |
| Auto approve write files | No confirmation needed for writing files |
| Auto approve command patterns | Matching commands execute automatically |
⚠️ Warning: Auto approve reduces security. Use with caution.
Execution Limits
| Setting | Description | Default |
|---|---|---|
| Max Tool Calls | Maximum tool calls per conversation | 50 |
| Tool Call Timeout | Timeout for each tool call (seconds) | 30 |
| Max File Size | Maximum file size to process (MB) | 10 |
| Sandbox Mode | Execute in isolated environment | Off |
Context Configuration
Have the agent automatically load specific context information on startup.
Auto-load Files
Specify files the agent automatically reads on startup, such as:
CLAUDE.md- Project specification fileREADME.md- Project documentation
Auto-fetch URLs
Specify web pages the agent automatically fetches on startup, such as:
- API documentation URLs
- Reference material links
Additional Instructions
Extra instructions appended after the system prompt.
Install from Templates
Besides creating manually, you can also install pre-configured agents from the template library with one click.
What are Agent Templates?
Agent templates are pre-configured agent solutions that include:
- Complete system prompts
- Recommended skill configurations
- MCP tool configurations
- Permission settings
Installation Steps
- On the Agents page, click the "Install from Template" button
- Browse the available template list
- Click on the template you want to install
- Review the template details and confirm the configuration
- Click "Install"
After Installation
Once installed, the agent will automatically appear in your agent list. You can:
- Use it directly
- Modify the configuration as needed
- Adjust permission settings
💡 Tip: During template installation, the system will automatically check for required skills and MCP servers. If any are missing, you'll be prompted to install them first.
Managing Agents
View Agent List
On the Agents page, you can see all created agent cards showing:
- Name and description
- Model used and its status
- Number of bound skills and their status
- Number of MCP tools and connection status
- Overall health status indicator
Status Indicators
Agent cards display the status of each component, helping you quickly understand if the agent can work properly:
| Component | Status Icon | Description |
|---|---|---|
| Model | 🟢 Green | Model is configured and available |
| Model | 🟡 Yellow | Model is offline or unavailable |
| Model | 🔴 Red | Model is not configured or deleted |
| Skills | 🟢 Green | All skills are working |
| Skills | 🟡 Yellow | Some skills have been deleted |
| MCP | 🟢 Green | All MCP servers are connected |
| MCP | 🟡 Yellow | Some MCP servers are not connected |
| MCP | 🔴 Red | MCP server connection error |
💡 Tip: If you see yellow or red status, click edit agent to view details and fix the issues.
Search and Filter
- Use the search box to search by name or description
- Use the status filter to view enabled/disabled agents
Edit Agent
Click the "Edit" button on the agent card, modify settings, and save.
Delete Agent
Click the "Delete" button on the agent card and confirm deletion.
⚠️ Deletion cannot be undone. Please proceed with caution.
Enable/Disable
Click the toggle switch on the agent card to temporarily disable an agent.
Running an Agent
Start Conversation
Click the "Run" button on the agent card, which will automatically:
- Create a new conversation
- Apply the agent's configuration
- Navigate to the chat page
Using in Conversation
After running an agent, the conversation will automatically use:
- The agent's configured model
- The agent's system prompt
- The agent's bound skills
- The agent's MCP tools
Usage Examples
Example 1: Code Review Assistant
Configuration:
- Name: Code Review Assistant
- Model: GPT-4o
- System Prompt:
You are a professional code review expert. Please carefully analyze the code provided and give suggestions on: 1. Code quality and readability 2. Potential bugs and security issues 3. Performance optimization suggestions 4. Best practice recommendations - Skills: Code Review, Code Optimization
Example 2: Project Development Assistant
Configuration:
- Name: Project Dev Assistant
- Model: Claude 3.5 Sonnet
- MCP Tools: filesystem (project directory)
- Permissions:
- Working Directory:
/Users/xxx/projects/myapp - Allow reading files
- Allow executing
npm run *,git *
- Working Directory:
- Context Files:
CLAUDE.md,README.md
Example 3: Translation Expert
Configuration:
- Name: Translation Expert
- Model: GPT-4o
- System Prompt:
You are a professional translation expert, fluent in Chinese-English translation. When translating, please note: 1. Maintain the tone and style of the original text 2. Use accurate professional terminology 3. Ensure the translation is natural and fluent - Skills: Translation
FAQ
What's the difference between an Agent and direct chat?
Direct chat uses default settings, while Agents can:
- Preset system prompts to define AI's role
- Bind skills to auto-inject prompt templates
- Use MCP tools to extend AI capabilities
- Configure permissions for safety
Why is the MCP server list empty?
You need to add and connect MCP servers in the MCP page first. Only connected servers will appear.
Are permission settings required?
No, they're not required. Permission settings are optional advanced features used to restrict the agent's operational scope and improve security.
Next Steps
- Skills System - Learn how to use and create skills
- MCP Services - Learn how to configure MCP tools
- Chat Features - Learn more about chat features