bootspring_agent

Invoke expert agents to get specialized guidance and assistance.

Overview#

The bootspring_agent tool allows you to invoke any of Bootspring's 12 expert agents. Each agent brings deep expertise in a specific domain.

Parameters#

ParameterTypeRequiredDescription
agentstringYesAgent identifier
contextstringYesContext or question for the agent
optionsobjectNoAdditional options

Available Agents#

IdentifierAgent Name
frontend-expertFrontend Expert
backend-expertBackend Expert
database-expertDatabase Expert
devops-expertDevOps Expert
security-expertSecurity Expert
testing-expertTesting Expert
performance-expertPerformance Expert
mobile-expertMobile Expert
api-expertAPI Expert
ui-ux-expertUI/UX Expert
software-architectSoftware Architect
debugging-detectiveDebugging Detective

Options Object#

OptionTypeDefaultDescription
formatstring"markdown"Response format: markdown, json, code
includeCodebooleantrueInclude code examples
verbositystring"normal"Detail level: brief, normal, detailed

Usage Examples#

Basic Agent Invocation#

Use the bootspring_agent tool with: - agent: "frontend-expert" - context: "Help me create an accessible dropdown menu"

Response:

1# Accessible Dropdown Menu 2 3Here's how to create an accessible dropdown menu component... 4 5## Implementation 6 7```tsx 8function Dropdown({ options, value, onChange }) { 9 // ... code 10}

Key Accessibility Features#

  • Keyboard navigation (Arrow keys, Enter, Escape)
  • ARIA attributes for screen readers
  • Focus management ...
### With Options

Use the bootspring_agent tool with:

  • agent: "database-expert"
  • context: "Design a schema for user roles and permissions"
  • options: { format: "code", verbosity: "detailed" }
### Chaining Agents For complex tasks, chain multiple agents:
  1. Use bootspring_agent with agent: "software-architect" context: "Plan a notification system architecture"

  2. Use bootspring_agent with agent: "database-expert" context: "Design the notification schema based on this architecture: [previous response]"

  3. Use bootspring_agent with agent: "backend-expert" context: "Implement the notification API endpoints"

## Agent Selection Guide | Scenario | Recommended Agent | |----------|------------------| | Building React components | frontend-expert | | Creating API endpoints | backend-expert | | Designing database schemas | database-expert | | Setting up CI/CD | devops-expert | | Security review | security-expert | | Writing tests | testing-expert | | Performance optimization | performance-expert | | React Native/Flutter | mobile-expert | | API design | api-expert | | Design systems | ui-ux-expert | | Architecture decisions | software-architect | | Debugging issues | debugging-detective | ## Response Format ### Markdown Format (Default) ```markdown # [Topic] ## Overview [Brief explanation] ## Implementation [Code and details] ## Best Practices [Recommendations] ## Related Resources [Links and references]

JSON Format#

1{ 2 "topic": "Accessible Dropdown Menu", 3 "overview": "...", 4 "implementation": { 5 "code": "...", 6 "explanation": "..." 7 }, 8 "bestPractices": ["..."], 9 "resources": ["..."] 10}

Code Format#

Returns primarily code with inline comments:

1// Accessible Dropdown Menu Component 2// Implements ARIA patterns for dropdown menus 3 4interface DropdownProps { 5 // ... 6} 7 8export function Dropdown({ options, value, onChange }: DropdownProps) { 9 // Implementation... 10}

Custom Instructions#

Configure agent behavior in your config:

1// bootspring.config.js 2module.exports = { 3 agents: { 4 customInstructions: { 5 'frontend-expert': ` 6 Always use TypeScript. 7 Use Tailwind CSS for styling. 8 Follow our component naming convention. 9 `, 10 }, 11 }, 12};

Error Handling#

Invalid Agent#

1{ 2 "success": false, 3 "error": { 4 "code": "INVALID_AGENT", 5 "message": "Unknown agent: 'invalid-agent'", 6 "availableAgents": ["frontend-expert", "backend-expert", ...] 7 } 8}

Missing Context#

1{ 2 "success": false, 3 "error": { 4 "code": "MISSING_CONTEXT", 5 "message": "Context is required for agent invocation" 6 } 7}

Best Practices#

Be Specific#

Instead of: "Help with the frontend" Try: "Help me create a form with email and password fields, validation, and error states"

Provide Context#

Include relevant information:

  • Current tech stack
  • Existing patterns
  • Constraints or requirements

Use the Right Agent#

Match your task to the agent's expertise for best results.