β¦ β¦β¦ β¦ββ¦ββ¦βββββ
β ββ£ββ¦β βββ β¦ββ ββ£
β© β© β© ββ©ββ©βββ© β©
Hydra orchestrates multiple AI agents to build production software in parallel. Give it a project description, and it creates tickets that agents work on simultaneously - respecting dependencies, preventing conflicts, and ensuring quality.
Requirements: Python 3.12+, tmux, Redis (for distributed features)
# Install pipx if not already installed
# Ubuntu/Debian: sudo apt install pipx
# macOS: brew install pipx
# Or: python3 -m pip install --user pipx
# Ensure pipx is in PATH
pipx ensurepath
# Restart terminal or: source ~/.bashrc
# Install Hydra
git clone https://github.com/privkeyio/hydra.git
cd hydra
pipx install .
# For development
pipx install -e .git clone https://github.com/privkeyio/hydra.git
cd hydra
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e .git clone https://github.com/privkeyio/hydra.git
cd hydra
pip install -e .# Choose your LLM provider (claude_tmux, venice, mock)
export LLM_PROVIDER=venice # or claude_tmux
# For Claude provider
export CLAUDE_CLI_PATH=/path/to/claude
# OR
export ANTHROPIC_API_KEY=your_key
# For Venice provider (recommended for open-source models)
export VENICE_API_KEY=your_key # Get from https://venice.ai# 1. Generate tickets from your idea
hydra ticket create "Build a REST API with authentication, database, and tests" --output tickets.yaml
# 2. Start the dashboard (auto-detects project)
hydra dashboard start
# 3. Execute tickets (dashboard auto-updates)
hydra ticket execute tickets.yaml 001
# 4. View real-time progress at http://localhost:8080hydra claude execute "Create a FastAPI service with JWT auth"# Generate tickets
hydra ticket create "project description" --output tickets.yaml
# Execute single ticket
hydra ticket execute tickets.yaml 001
# Execute all tickets in parallel
hydra ticket parallel tickets.yaml --workers 4
# Verify parallel execution results
hydra ticket verify-parallel tickets.yaml --workers 2hydra claude session /project --name dev
hydra claude list
hydra claude attach dev- Create Tickets: Break down your project into atomic tasks with dependencies
- Parallel Execution: Multiple agents work simultaneously on different tickets
- Smart Coordination: Dependency resolution, file locking, conflict prevention
- Quality Gates: Automatic testing, linting, and verification
- Live Monitoring: Real-time dashboard shows progress and logs
tickets:
- id: "001"
title: Setup API
status: TODO
priority: 1
model: balanced
description: Create FastAPI application with core structure
acceptance_criteria:
- Create main.py with FastAPI app
- Add health check endpoint at /health
- Setup global error handling middleware
- Add CORS configuration
dependencies: []- uvloop integration for 2-5x async performance boost
- Connection pooling with singleton patterns for Redis/HTTP
- Smart batching for parallel LLM requests
- Response caching with configurable TTL
- AI detection to flag generated code patterns
- Quality gates with automatic linting and testing
- Safety guards blocking dangerous operations
- Graceful shutdown with proper cleanup sequence
Quick Start:
hydra dashboard start # Auto-detects project, runs at http://localhost:8080
hydra dashboard stop # Stop the dashboardFeatures:
- Auto-detects project - Uses project database when run from project directory
- Real-time updates - Status changes reflected within 5 seconds
- Persistent - Runs independently, survives hydra restarts
- Token tracking - Budget management and cost warnings
- Cost reporting with detailed breakdowns
- Database backend for persistence and queries
- Smart ticket creation with codebase analysis
- Context sharing between dependent tickets
- .hydra directory for organized project data
- Modular CLI with improved help and documentation
- Claude (claude_tmux) - Interactive Claude Code CLI via tmux
- Venice AI (venice) - Production-ready with retry logic and streaming
- Anthropic (anthropic) - Direct API integration
- OpenAI (openai) - GPT-4 and GPT-3.5 support
- Mock (mock) - Testing and development provider
- π Full Documentation - Complete reference and guides
- ποΈ Architecture - System design and components
- π§ API Reference - Python API and integration
- π‘ Examples - Real-world use cases
Try these to see Hydra in action:
# Build a complete web app
hydra ticket create "Build a todo app with React frontend and FastAPI backend" --output tickets.yaml
hydra ticket parallel tickets.yaml --workers 4
# Run quality checks on implementation
hydra quality 001 --strict
# Verify all work is complete
hydra ticket verify-parallel tickets.yaml --workers 2
# Check the dashboard
open http://localhost:8080
# Check the results
ls -la .hydra/reports/
cat tickets.yamlThis project is licensed under the GNU Affero General Public License v3.0 (MIT). See LICENSE for details.
Built for production. No compromises.
HYDRA - Orchestrating the future of autonomous development.
