Skip to main content

Creating Custom Agents

You can only create and edit Agents through Mission Control in the Continue Mission Control web interface. This ensures proper validation, versioning, and team collaboration features.

Creating an Agent

Create an agent gif
1

🧭 Navigate to Create Agent

From the Continue Mission Control top navigation bar, select ”+”“New Agent”.This opens the Create an Agent (beta) form with all required fields.
2

🧩 Fill Out the Agent Form

Configure your agent with the following fields:
FieldWhat to EnterExample
NameDisplay name shown in Mission ControlGitHub PR Agent
PromptFirst instruction the agent receivesOpen a GitHub PR to fix the specified issue.
DescriptionWhat the agent doesCreates a pull request and includes AI-generated summaries.
Tools (MCPs)Select built-in or custom MCPsGitHub, PostHog, Supabase
RulesAdd any organizational rulescontinuedev/gh-pr-commit-workflow, continuedev/summarization
ModelChoose a default LLMClaude Sonnet 4.5
Owner + SlugDetermines namespacemy-org/github-pr-agent
VisibilityAccess levelPublic, Organization, or Private
Tip: Start with a simple prompt and add complexity through rules and tools. The prompt should be a clear, single instruction that defines the agent’s primary goal.
3

💡 Preview the Configuration

As you fill in the fields, the right-hand panel shows a live preview of your agent’s YAML configuration:
name: Open PR with Fix
description: Open a GitHub PR to fix the specified issue
tools: built_in, anthropic/github-mcp
rules:
  - continuedev/gh-pr-commit-workflow
  - continuedev/summarization
model: Claude Sonnet 4.5
visibility: public
This preview helps you verify the configuration before creating the agent.
4

✅ Create and Test

Click “Create Agent” to save and publish it.Your agent is immediately available to run in:
  • Mission Control web interface
  • TUI mode: cn --agent your-org/your-agent-name
  • Headless mode: cn --agent -p your-org/your-agent-name "prompt" --auto

Editing an Agent

You can edit any agent you own or that belongs to your organization.
1

🧭 Access the Agent

From the Agents page or Mission Control view, click your agent’s name, then select “Edit Agent”.
2

🔧 Update Configuration

You can modify any of these components:
  • Prompt
  • Rules
  • Tools (MCPs)
  • Model & Visibility
Refine task behavior
# Before
Fix the bug in the authentication system

# After  
Fix the authentication bug by:
1. Identifying the root cause
2. Implementing a secure solution
3. Adding appropriate tests
4. Opening a PR with detailed explanation
3

💾 Save Changes

Click “Update Agent” when finished.The updated version is instantly available to your team with automatic versioning for change tracking.
Test your agent thoroughly to ensure they interact as expected.

Example Agent Configurations

Here are proven agent configurations you can create or use as inspiration:

Troubleshooting

Common issues and solutions:
ProblemSolution
Agent doesn’t complete tasksSimplify the prompt, add more specific instructions, verify tool permissions
Tools aren’t workingCheck MCP configuration, verify API keys and permissions in Hub settings
Inconsistent behaviorAdd rules to enforce consistent patterns, test with various input scenarios
Performance issuesConsider model choice, simplify complex multi-step workflows, optimize tool usage