Skip to content

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 ​

FieldDescriptionExample
NameGive your agent a nameCode Assistant, Translation Expert
DescriptionBrief description of purposeHelps review and optimize code
ModelSelect the AI model to useGPT-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.

  1. View available skills in the "Configure Skills" section
  2. Check the skills you need
  3. 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 ​

  1. When creating/editing an agent, find the "MCP Tool Calling" section
  2. Toggle the switch to enable
  3. 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 ​

ScenarioRequired MCP Server
Read/write project filesfilesystem
Query databasesqlite
Operate GitHubgithub

Permissions & Security Settings ​

For safety, you can restrict the agent's operational permissions.

File System Permissions ​

SettingDescription
Working DirectoryAgent's default working directory
Allowed PathsCan only access these directories
Denied PathsCannot 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 files
  • Bash(npm run *) - Allow npm commands
  • Bash(git *) - Allow git commands
  • WebSearch - Allow web search

Denied operations examples:

  • Bash(rm -rf *) - Deny delete commands
  • Bash(shutdown *) - Deny shutdown commands

Auto Approve ​

Certain operations can be set to execute automatically without confirmation:

OptionDescription
Auto approve read filesNo confirmation needed for reading files
Auto approve write filesNo confirmation needed for writing files
Auto approve command patternsMatching commands execute automatically

⚠️ Warning: Auto approve reduces security. Use with caution.

Execution Limits ​

SettingDescriptionDefault
Max Tool CallsMaximum tool calls per conversation50
Tool Call TimeoutTimeout for each tool call (seconds)30
Max File SizeMaximum file size to process (MB)10
Sandbox ModeExecute in isolated environmentOff

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 file
  • README.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 ​

  1. On the Agents page, click the "Install from Template" button
  2. Browse the available template list
  3. Click on the template you want to install
  4. Review the template details and confirm the configuration
  5. 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:

ComponentStatus IconDescription
Model🟢 GreenModel is configured and available
Model🟡 YellowModel is offline or unavailable
Model🔴 RedModel is not configured or deleted
Skills🟢 GreenAll skills are working
Skills🟡 YellowSome skills have been deleted
MCP🟢 GreenAll MCP servers are connected
MCP🟡 YellowSome MCP servers are not connected
MCP🔴 RedMCP 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:

  1. Create a new conversation
  2. Apply the agent's configuration
  3. 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 *
  • 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 ​

Released under the MIT License.