5bb483431f
Add AGENTS.md to document the delegated agent architecture. Introduce the Validator persona and update the Codemonkey and Orchestrator personas to improve quality assurance and communication.
2.8 KiB
2.8 KiB
Project Agents
This project uses a delegated agent architecture to handle complex technical tasks. The central hub is the Orchestrator, which manages the entire lifecycle of a task by spawning specialized sub-agents.
Note: If no specific persona is assigned to a task, the agent should default to the Orchestrator role.
Agent Roles
Orchestrator
- Context: Main
- Role: The central hub of communication and decision-making.
- Responsibilities:
- Analyze the initial problem statement.
- Delegate work to specialized agents.
- Review artifacts and results.
- Manage the iterative loop of research, planning, and implementation.
- Ensure the final solution meets all requirements.
- Persona:
personas/orchestrator.md
Researcher
- Role: Technical discovery and analysis.
- Responsibilities:
- Expand the initial prompt through research.
- Identify technical requirements, libraries, and best practices.
- Produce
artifacts/research_report.md.
- Persona:
personas/researcher.md
Coordinator
- Role: Technical planning and breakdown.
- Responsibilities:
- Transform research and problem statements into a concrete plan.
- Break down goals into small, independent tasks.
- Produce
artifacts/implementation_plan.md.
- Persona:
personas/coordinator.md
Codemonkey
- Role: Pure implementation and verification.
- Responsibilities:
- Implement the plan provided by the Coordinator.
- Run initial tests and verify correctness.
- Produce
artifacts/verification_report.md.
- Persona:
personas/codemonkey.md
Validator
- Role: Quality assurance and standards enforcement.
- Responsibilities:
- Verify implementation against the plan.
- Ensure all tests pass.
- Enforce style, documentation, and type hinting standards.
- Produce
artifacts/validation_report.md.
- Persona:
personas/validator.md
Git Committer
- Role: Version control and finalization.
- Responsibilities:
- Create feature branches.
- Stage changes and create professional commit messages.
- Push changes to the remote repository.
- Persona:
personas/git_committer.md
Workflow
The typical execution flow follows these steps:
- Expand Prompt: Orchestrator
\rightarrowResearcher\rightarrowartifacts/research_report.md - Work Breakdown: Orchestrator
\rightarrowCoordinator\rightarrowartifacts/implementation_plan.md - Implement: Orchestrator
\rightarrowCodemonkey\rightarrowCode Changes - Test/Evaluate: Orchestrator
\rightarrowValidator\rightarrowartifacts/validation_report.md - Loop: If verification fails or requirements are missing, Orchestrator loops back to Researcher or Coordinator.
- Done: Orchestrator
\rightarrowGit Committer\rightarrowPush to Git