Skip to content

[Phase 4] Agent role system with specialized prompts #310

@frankbria

Description

@frankbria

Summary

Implement specialized agent roles (Backend, Frontend, Test, Review) with role-specific system prompts and tool access.

Proposed Solution

Agent Roles

  • Backend Agent: Python/API focus, database access, server-side logic
  • Frontend Agent: React/TypeScript focus, UI components, styling
  • Test Agent: Test writing, coverage analysis, test execution
  • Review Agent: Code review, quality checks, security scanning

Role Configuration

  • Role-specific system prompts
  • Tool access restrictions per role
  • Automatic task-to-agent matching based on task content

Implementation

  • codeframe/core/agent_roles.py - Role definitions and prompts
  • codeframe/core/agent.py - Role-aware execution
  • Task metadata for role hints

Acceptance Criteria

  • 4+ specialized agent roles defined
  • Each role has tailored system prompt
  • Automatic role selection from task content
  • Role can be overridden via CLI flag

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestphase-4Phase 4: Multi-Agent Coordination

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions