create_agent
Create an AI agent with custom personality traits, specializations, and update prompts to handle specific tasks.
Instructions
Create a new agent with personality traits and specializations.
Usage Examples: // Basic agent create_agent({ name: "Code Reviewer" })
// Agent with personality create_agent({ name: "Frontend Expert", personalityTraits: ["detail-oriented", "creative", "user-focused"], specializations: ["React", "TypeScript", "CSS", "UX"] })
// Agent with custom prompts create_agent({ name: "Test Engineer", personalityTraits: ["thorough", "systematic"], specializations: ["Jest", "Cypress", "TDD"], updatePrompts: [ "Always consider edge cases", "Write tests before implementing fixes" ] })
Pre-configured Agents (from migration):
code-reviewer: Analytical, detail-oriented reviewer
backend-dev: Systems thinker for backend development
frontend-dev: Creative UI/UX focused developer
test-engineer: Quality-focused testing specialist
project-manager: Organized project coordinator
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Agent name | |
| personalityTraits | No | Personality traits like curious, analytical, creative | |
| specializations | No | Areas of expertise like frontend, backend, testing | |
| updatePrompts | No | Custom prompts for agent updates | |
| id | No | Optional agent ID (if not provided, will be auto-generated) | |
| initialLearningRate | No | Initial learning rate (0.0-1.0, default: 0.5) |