@@ -4,28 +4,30 @@ description: "Build custom AI workflows with prompts, rules, and tools through t
44sidebarTitle : " Create & Edit"
55---
66
7- <Card title = " 🧱 Creating Custom Agents" icon = " wrench" >
7+ <Card title = " Creating Custom Agents" icon = " wrench" >
88 You can only create and edit Agents through Mission Control in the Continue Hub web interface.
99 This ensures proper validation, versioning, and team collaboration features.
1010</Card >
1111
1212## Creating an Agent
1313
14+ ![ Create an agent gif] ( /docs/images/hub/create-an-agent.gif )
15+
16+
1417<Steps >
1518 <Step title = " 🧭 Navigate to Create Agent" >
1619 From the Continue Hub top navigation bar, select ** "+"** → ** "New Agent"** .
1720
1821 This opens the ** Create an Agent (beta)** form with all required fields.
1922
20- ![ Create an agent screenshot] ( /docs/images/hub/create-an-agent.gif )
2123 </Step >
2224
2325 <Step title = " 🧩 Fill Out the Agent Form" >
2426 Configure your agent with the following fields:
2527
2628 | Field | What to Enter | Example |
2729 | -------| ---------------| ---------|
28- | ** Name** | Display name shown in the Hub | ` Open PR with Fix ` |
30+ | ** Name** | Display name shown in the Hub | ` GitHub PR Agent ` |
2931 | ** Prompt** | First instruction the agent receives | ` Open a GitHub PR to fix the specified issue. ` |
3032 | ** Description** | What the agent does | ` Creates a pull request and includes AI-generated summaries. ` |
3133 | ** Tools (MCPs)** | Select built-in or custom MCPs | ` GitHub, PostHog, Supabase ` |
@@ -45,7 +47,7 @@ sidebarTitle: "Create & Edit"
4547 ``` yaml
4648 name : Open PR with Fix
4749 description : Open a GitHub PR to fix the specified issue
48- tools : built_in
50+ tools : built_in, anthropic/github-mcp
4951 rules :
5052 - continuedev/gh-pr-commit-workflow
5153 - continuedev/summarization
@@ -62,7 +64,7 @@ sidebarTitle: "Create & Edit"
6264 Your agent is immediately available to run in:
6365 - Mission Control web interface
6466 - TUI mode: ` cn --agent your-org/your-agent-name`
65- - Headless mode : ` cn --agent your-org/your-agent-name "prompt" --auto`
67+ - Headless mode : ` cn --agent -p your-org/your-agent-name "prompt" --auto`
6668 </Step>
6769</Steps>
6870
@@ -132,230 +134,49 @@ You can edit any agent you own or that belongs to your organization.
132134 </Step >
133135</Steps >
134136
135- ## Agent Components Deep Dive
137+ <Warning >
138+ Test your agent thoroughly to ensure they interact as expected.
139+ </Warning >
136140
137- ### Writing Effective Prompts
141+ ## Example Agent Configurations
138142
139- Your prompt is the agent's primary instruction. Follow these patterns for best results :
143+ Here are proven agent patterns you can adapt :
140144
141- <AccordionGroup >
142- <Accordion title = " Task-Oriented Prompts" >
143- ** Good** : Clear, actionable instructions
144- ```
145- Analyze the Sentry errors from the past 24 hours and create GitHub issues
146- for any critical bugs with suggested fixes and reproduction steps.
147- ```
148-
149- ** Avoid** : Vague or open-ended requests
150- ```
151- Look at errors and do something about them.
152- ```
153- </Accordion >
145+ Here are proven agent configurations you can create or use as inspiration:
154146
155- <Accordion title = " Context-Aware Prompts" >
156- ** Good** : Include relevant context and constraints
157- ```
158- Review the React components in src/components/ for accessibility issues.
159- Focus on ARIA labels, keyboard navigation, and color contrast.
160- Create a summary report with specific file locations and fix suggestions.
161- ```
147+ <CardGroup cols = { 2 } >
148+ <Card title = " Security Scanner Agent" icon = " shield" href = " https://hub.continue.dev/continuedev/snyk-continuous-ai-agent" >
149+ ** Snyk Continuous AI Agent** - Comprehensive security scanning with Snyk MCP integration.
162150
163- ** Avoid** : Assumptions about available context
164- ```
165- Fix the accessibility problems.
166- ```
167- </Accordion >
151+ Automates dependency analysis, vulnerability scanning, and creates remediation PRs with AI-powered fix suggestions.
152+ </Card >
168153
169- <Accordion title = " Multi-Step Workflows" >
170- ** Good** : Break complex tasks into clear steps
171- ```
172- For the user authentication refactor:
173- 1. Audit current auth implementation for security issues
174- 2. Design improved architecture with proper session management
175- 3. Create migration plan with backwards compatibility
176- 4. Open PR with implementation and comprehensive tests
177- ```
154+ <Card title = " Performance Monitor" icon = " gauge" href = " https://hub.continue.dev/continuedev/netlify-continuous-ai-agent" >
155+ ** Netlify Continuous AI Agent** - Performance optimization with A/B testing and monitoring.
178156
179- ** Avoid** : Complex tasks without structure
180- ```
181- Refactor the authentication system to be better.
182- ```
183- </Accordion >
184- </AccordionGroup >
185-
186- ### Choosing Rules
187-
188- Rules enforce consistent behavior across all agent runs. Popular rule categories:
189-
190- | Rule Type | Purpose | Example |
191- | -----------| ---------| ---------|
192- | ** Code Quality** | Maintain standards | ` continuedev/test-coverage ` , ` continuedev/code-review-checklist ` |
193- | ** Security** | Apply security practices | ` continuedev/security-first ` , ` continuedev/vulnerability-scanning ` |
194- | ** Team Workflow** | Follow processes | ` continuedev/pr-template ` , ` continuedev/commit-conventions ` |
195- | ** Custom** | Organization-specific | ` my-org/deployment-rules ` , ` my-org/documentation-standards ` |
196-
197- ### Selecting Tools (MCPs)
198-
199- MCPs provide agents with external system access:
200-
201- <CardGroup cols = { 2 } >
202- <Card title = " Development Tools" icon = " code" >
203- - ** GitHub MCP** : Repository operations, PRs, issues
204- - ** GitLab MCP** : Similar to GitHub for GitLab users
205- - ** Linear MCP** : Issue tracking and project management
206- </Card >
207-
208- <Card title = " Analytics & Monitoring" icon = " chart-line" >
209- - ** PostHog MCP** : User analytics and feature flags
210- - ** Sentry MCP** : Error tracking and performance monitoring
211- - ** DataDog MCP** : Infrastructure and application monitoring
212- </Card >
213-
214- <Card title = " Security & Compliance" icon = " shield-check" >
215- - ** Snyk MCP** : Vulnerability scanning and dependency analysis
216- - ** SonarQube MCP** : Code quality and security analysis
217- - ** Aqua MCP** : Container security scanning
218- </Card >
219-
220- <Card title = " Data & Infrastructure" icon = " database" >
221- - ** Supabase MCP** : Database operations and schema management
222- - ** dlt MCP** : Data pipeline development and monitoring
223- - ** Terraform MCP** : Infrastructure as code management
157+ Tracks Core Web Vitals, identifies regressions, and provides optimization recommendations.
224158 </Card >
225- </CardGroup >
226-
227- ## Testing Your Agent
228-
229- Before deploying agents for team use, test thoroughly:
230159
231- <Steps >
232- <Step title = " 🧪 Local Testing" >
233- Use TUI mode to interact with your agent:
160+ <Card title = " Error Monitoring Agent" icon = " bug" href = " https://hub.continue.dev/continuedev/sentry-continuous-ai-agent" >
161+ ** Sentry Continuous AI Agent** - Automated error analysis and issue creation.
234162
235- ```bash
236- cn --agent your-org/new-agent
237- # Chat interactively to test behavior
238- # Verify tool integrations work correctly
239- # Check that rules are applied properly
240- ```
241- </Step >
163+ Monitors production errors, provides root cause analysis, and creates actionable GitHub issues.
164+ </Card >
242165
243- <Step title = " 🔍 Edge Case Testing" >
244- Test with various scenarios:
245-
246- ```bash
247- # Test with minimal input
248- cn --agent your-org/new-agent "Fix authentication"
249-
250- # Test with detailed context
251- cn --agent your-org/new-agent "Fix the authentication timeout issue in src/auth/session.js affecting mobile users"
166+ <Card title = " GitHub Management" icon = " github" href = " https://hub.continue.dev/continuedev/github-manager-ai-agent" >
167+ ** GitHub Manager AI Agent** - Comprehensive GitHub workflow automation.
252168
253- # Test error handling
254- cn --agent your-org/new-agent "Invalid request that should fail gracefully"
255- ```
256- </Step >
169+ Handles issue triage, PR reviews, and release note generation with natural language prompts.
170+ </Card >
257171
258- <Step title = " 🎯 Production Readiness " >
259- Verify production requirements:
172+ <Card title = " Database Management " icon = " database " href = " https://hub.continue.dev/continuedev/supabase-agent " >
173+ ** Supabase Continuous AI Agent ** - Database security and management workflows.
260174
261- - [ ] Agent completes tasks without manual intervention
262- - [ ] Error handling is robust and informative
263- - [ ] Output format meets team expectations
264- - [ ] Security and permissions are properly configured
265- - [ ] Performance is acceptable for intended use cases
266- </Step >
267- </Steps >
268-
269- ## Example Agent Configurations
270-
271- Here are proven agent patterns you can adapt:
272-
273- <AccordionGroup >
274- <Accordion title = " Security Scanner Agent" >
275- ``` yaml
276- name : Weekly Security Scan
277- description : Runs comprehensive security analysis and creates remediation PRs
278- prompt : |
279- Run a complete security scan including:
280- 1. Snyk dependency analysis
281- 2. Code vulnerability scanning
282- 3. Container image security check
283- 4. Create GitHub issues for critical findings with fix suggestions
284- tools :
285- - snyk-mcp
286- - github-mcp
287- rules :
288- - continuedev/security-first
289- - my-org/vulnerability-reporting
290- model : Claude Sonnet 4.5
291- visibility : organization
292- ` ` `
293- </Accordion>
294-
295- <Accordion title="Documentation Generator">
296- ` ` ` yaml
297- name : API Documentation Update
298- description : Generates and updates API documentation from code changes
299- prompt : |
300- Analyze recent API changes and update documentation:
301- 1. Scan for new or modified endpoints
302- 2. Generate OpenAPI specifications
303- 3. Update README and integration guides
304- 4. Create PR with comprehensive docs
305- tools :
306- - github-mcp
307- - openapi-mcp
308- rules :
309- - continuedev/documentation-standards
310- - my-org/api-guidelines
311- model : GPT-4
312- visibility : organization
313- ` ` `
314- </Accordion>
315-
316- <Accordion title="Performance Monitor">
317- ` ` ` yaml
318- name : Performance Regression Detector
319- description : Monitors performance metrics and alerts on regressions
320- prompt : |
321- Analyze recent performance data:
322- 1. Check Core Web Vitals trends
323- 2. Identify performance regressions
324- 3. Correlate with recent deployments
325- 4. Create detailed performance report with recommendations
326- tools :
327- - netlify-mcp
328- - datadog-mcp
329- - github-mcp
330- rules :
331- - continuedev/performance-monitoring
332- - my-org/sla-requirements
333- model : Claude Sonnet 4.5
334- visibility : private
335- ` ` `
336- </Accordion>
337- </AccordionGroup>
338-
339- ## Best Practices
340-
341- <CardGroup cols={2}>
342- <Card title="Start Simple" icon="play">
343- Begin with basic prompts and single tools. Add complexity gradually as you learn what works for your use cases.
344- </Card>
345-
346- <Card title="Use Descriptive Names" icon="tag">
347- Choose clear, specific names that indicate the agent's purpose: ` security-scanner-weekly` vs `scanner`.
348- </Card>
349-
350- <Card title="Version Control" icon="git-branch">
351- Make incremental changes and test thoroughly. Agent versioning helps track what works.
352- </Card>
353-
354- <Card title="Team Feedback" icon="users">
355- Involve your team in agent design. The best agents solve real workflow pain points.
175+ Audits Row Level Security, identifies vulnerabilities, and generates fixes automatically.
356176 </Card >
357177</CardGroup >
358178
179+
359180## Troubleshooting
360181
361182Common issues and solutions:
@@ -366,23 +187,3 @@ Common issues and solutions:
366187| ** Tools aren't working** | Check MCP configuration, verify API keys and permissions in Hub settings |
367188| ** Inconsistent behavior** | Add rules to enforce consistent patterns, test with various input scenarios |
368189| ** Performance issues** | Consider model choice, simplify complex multi-step workflows, optimize tool usage |
369-
370- # # Next Steps
371-
372- <CardGroup cols={2}>
373- <Card title="Deploy Your Agent" icon="rocket" href="/hub/agents/overview#ways-to-run-agents">
374- Learn to run your agent in TUI, headless, or Mission Control modes
375- </Card>
376-
377- <Card title="Webhook Integration" icon="webhook" href="/hub/agents/overview#webhook-integrations">
378- Set up automated triggers for CI/CD and monitoring systems
379- </Card>
380-
381- <Card title="Browse Examples" icon="book-open" href="/guides/overview#mcp-integration-cookbooks">
382- Explore cookbook agents for inspiration and best practices
383- </Card>
384-
385- <Card title="Team Management" icon="users-gear" href="/hub/sharing">
386- Configure team access and collaboration workflows
387- </Card>
388- </CardGroup>
0 commit comments