agentful Agents
agentful uses a multi-agent system where each agent has specialized responsibilities. The agents work together autonomously to build, test, and validate production-ready applications.
Agent Architecture
agentful follows a hierarchical agent architecture with clear separation of concerns:
Orchestrator (Coordinator)
├── Architect (Tech Stack Analyzer)
├── Backend (Server-Side Implementation)
├── Frontend (Client-Side Implementation)
├── Tester (Quality Assurance)
├── Reviewer (Code Quality Validator)
└── Fixer (Issue Resolution)Core Agents
Orchestrator Agent
The central coordinator that manages the entire development lifecycle.
Responsibilities:- Reads and tracks project state
- Delegates work to specialist agents
- Manages completion tracking
- Handles user decisions and blockers
- Never writes code directly
- Automatically invoked by
/agentful-startor/ralph-loop - Coordinates all other agents
- Should not be manually invoked
.agentful/state.json- Current work state.agentful/completion.json- Feature completion tracking.agentful/decisions.json- Pending user decisions
Architect Agent
Analyzes the tech stack and generates framework-specific agents dynamically.
Responsibilities:- Reads
PRODUCT.mdto identify technologies - Generates specialized agents for frameworks (Next.js, Vue, NestJS, etc.)
- Creates architecture documentation
- Updates agents when tech stack changes
- Automatically invoked on project initialization
- When tech stack changes in
PRODUCT.md - When new frameworks are added
.agentful/architecture.json- Detected tech stack.claude/agents/generated/- Dynamic agents
Backend Agent
Implements server-side code following clean architecture patterns.
Responsibilities:- API routes and controllers
- Service layer (business logic)
- Repository layer (data access)
- Database schemas and migrations
- Authentication and authorization
- Input validation
- Delegated by Orchestrator for backend features
- Manual invocation:
@backend Implement user authentication
- ✅ API routes, services, repositories, database
- ❌ UI components, frontend pages, styles
Frontend Agent
Implements client-side code and user interfaces.
Responsibilities:- UI components and pages
- Custom React hooks
- State management
- Form handling and validation
- Styling and responsive design
- User interactions
- Delegated by Orchestrator for frontend features
- Manual invocation:
@frontend Create login page
- ✅ Components, pages, hooks, styles
- ❌ API routes, database operations
Tester Agent
Writes comprehensive tests to ensure code quality.
Responsibilities:- Unit tests (services, components)
- Integration tests (API endpoints)
- E2E tests (user flows)
- Test fixtures and mocks
- Coverage reporting
- Delegated by Orchestrator after implementation
- Manual invocation:
@tester Write tests for auth service
- 80% code coverage threshold
Reviewer Agent
Validates code quality and production readiness.
Responsibilities:- TypeScript type checking
- Lint validation
- Dead code detection
- Test validation
- Coverage verification
- Security scanning
- Manual code review
- Automatically invoked after any implementation
- Before marking features complete
- Manual invocation:
@reviewer Check all changes
.agentful/last-review.json- Last review results
Fixer Agent
Automatically fixes issues found by the Reviewer.
Responsibilities:- Removes dead code (unused exports, imports, files)
- Adds missing tests
- Removes debug statements
- Fixes hardcoded secrets
- Resolves type errors
- Fixes lint errors
- Automatically invoked when Reviewer finds issues
- Manual invocation:
@fixer Fix all issues
Input: .agentful/last-review.json
Agent Workflow
The typical agent workflow follows this pattern:
1. Orchestrator reads state
↓
2. Delegates to Backend/Frontend (implementation)
↓
3. Delegates to Tester (test coverage)
↓
4. Delegates to Reviewer (validation)
↓
5. If issues found → Fixer → Back to Reviewer
↓
6. Update completion state
↓
7. Loop until completeAgent Communication
Agents communicate through:
- State Files - JSON files in
.agentful/ - Task Tool - Agent spawning and delegation
- File System - Shared codebase
- Review Reports - Validation results
Agent Capabilities by Model
Opus (Highest Reasoning)
- Orchestrator - Complex coordination, decision making
- Architect - Tech stack analysis, agent generation
Sonnet (Balanced)
- Backend - Implementation with patterns
- Frontend - UI development
- Tester - Test writing
- Reviewer - Code validation
- Fixer - Issue resolution
Best Practices
For Users
- Let agents work autonomously - Use
/ralph-loopfor hands-off development - Check state files - Monitor progress in
.agentful/completion.json - Respond to decisions - Run
/agentful-decidewhen blocked - Trust the process - Agents will iterate until completion
For Customization
- Edit agent files - Modify
.claude/agents/*.mdto customize behavior - Add custom agents - Create new agents in
.claude/agents/ - Adjust thresholds - Modify coverage requirements, rules, etc.
- Extend architecture - Add new validation checks or patterns
Next Steps
- Learn about the Orchestrator Agent
- Learn about the Architect Agent
- Learn about the Backend Agent
- Learn about the Frontend Agent
- Learn about the Tester Agent
- Learn about the Reviewer Agent
- Learn about the Fixer Agent
- Create Custom Agents