A multi-agent system based on Claude for software project management and development.
Claude Code Army is a system that uses multiple Claude instances to simulate a complete development team:
- Project Manager: Coordinates the team and manages tasks
- Frontend and Backend Developers: Implement features
- QA: Ensures code quality
- Product Owner: Defines product vision
- Node.js (v14 or higher)
- npm or yarn
- An Anthropic API key
- Make (to use make commands)
- Clone the repository:
git clone https://github.com/your-username/claude-army.git
cd claude-army- Install dependencies:
cd backend
npm install
cd ../frontend
npm install- Configure the .env file:
cd backend
cp .env.example .envEdit the .env file and add your Anthropic API key:
ANTHROPIC_API_KEY=your_api_key_here
The system requires a valid working directory with appropriate permissions. This directory must:
- Be an absolute path
- Have read/write permissions
- Contain a
.claudefolder with thesettings.local.jsonfile
The .claude/settings.local.json file is automatically created with the following permissions:
{
"permissions": {
"allow": [
"Bash(*)",
"Bash(ls:*)",
"Edit(*)",
"Glob(*)",
"Grep(*)",
"LS(*)",
"NotebookRead(*)",
"NotebookEdit(*)",
"Read(*)",
"WebFetch(*)",
"Write(*_test.go)"
],
"deny": [
"Bash(git *:*)"
]
}
}- Start the server:
make start-
Open your browser at:
http://localhost:3000 -
In the interface:
- Specify the working directory
- Validate the directory
- Enter your request
- Follow the interactions between agents
- Task creation and tracking
- Automatic assignment to appropriate developers
- QA validation
- Bug management
- Automatic backup after each task
- Restoration in case of problems
- Limited correction attempts
- Display of agent memories
- Current task tracking
- Communication history
- Project status
claude-army/
├── backend/
│ ├── server.js
│ ├── .env
│ └── package.json
├── frontend/
│ ├── index.html
│ └── package.json
├── prompts/
│ ├── project_manager.md
│ ├── frontend_developer.md
│ ├── backend_developer.md
│ ├── qa.md
│ └── product_owner.md
├── tasks/
├── backups/
└── features/
- Create a new prompt file in
prompts/ - Add the role to
ROLESinserver.js - Update the frontend interface
- Modify the
CLAUDE_SETTINGSconstant inserver.js - New settings will be applied on next startup
-
"The backend/.env file does not exist"
- Solution: Create the .env file with your API key
-
"The path must be absolute"
- Solution: Use an absolute path for the working directory
-
"No read/write permission"
- Solution: Check directory permissions
Contributions are welcome! Feel free to:
- Fork the project
- Create a branch for your feature
- Commit your changes
- Push to the branch
- Open a Pull Request
MIT
For any questions or suggestions, feel free to open an issue.