Staff MVP is a lean AI multi-agent system where specialized AI agents autonomously handle development tasks and create GitHub pull requests.
# Clone and setup git clone <your-repo> cd staff ./setup.sh # Configure (edit with your API keys) cp config.example.yaml config.yaml nano config.yaml
Edit config.yaml with your credentials:
openai: api_key: "sk-your-openai-key-here" github: token: "ghp_your-github-token-here" owner: "your-github-username" repo: "your-repo-name"
Or use environment variables:
export OPENAI_API_KEY="sk-your-openai-key-here" export GITHUB_TOKEN="ghp_your-github-token-here"
cd server # Create a task ./staff create-task "Add user authentication system" --priority high --agent backend-engineer # Start an agent to process tasks ./staff start-agent backend-engineer # List all tasks ./staff list-tasks # Check agent status ./staff list-agents
Create Task → Assign to Agent → Agent Processes → Creates PR → Human Review → Merge
Tasks are stored as markdown files in the tasks/ directory and use Git for version control.
# Task Management ./staff create-task <description> [--priority high|medium|low] [--agent <agent-name>] ./staff list-tasks [--status in_progress|completed] ./staff assign-task <task-id> <agent-name> # Agent Management ./staff start-agent <agent-name> [--loop] [--interval 30s] ./staff list-agents ./staff stop-agent <agent-name> # Utilities ./staff config-check ./staff --help
├── config.yaml # Main configuration
├── tasks/ # Task storage (Git-tracked)
│ ├── task-001.md # Individual tasks
│ └── completed/ # Completed tasks
├── operations/
│ └── agents/ # Agent system prompts
│ ├── ceo/
│ ├── product-manager/
│ ├── backend-engineer/
│ └── frontend-engineer/
└── server/ # Go backend
├── cmd/ # CLI commands
├── config/ # Configuration system
├── agent/ # Agent processing logic
├── llm/ # LLM integration
└── git/ # Git/GitHub operations
# Task: Add User Authentication **ID**: task-001 **Priority**: high **Agent**: backend-engineer **Status**: todo ## Description Implement a complete user authentication system with: - User registration and login - JWT token-based authentication - Password hashing and validation - Basic user profile management ## Acceptance Criteria - [ ] Users can register with email/password - [ ] Users can login and receive JWT token - [ ] Protected routes require valid token - [ ] Passwords are securely hashed - [ ] Basic user profile endpoints
When agents complete tasks, they automatically:
task/001-add-user-authentication"API key required" error:
config.yaml has the correct OpenAI API keyOPENAI_API_KEY environment variable"GitHub token invalid" error:
repo permissionsBuild errors:
go versiongo mod tidy in the server directoryThis MVP can be extended with:
Built with ❤️ using Go + OpenAI + GitHub