Warp Engine is a production-ready, server-based AI agent factory that runs as a persistent service. Create specialized AI agents through natural language commands, with zero manual coding required.
- π Server-Based Architecture: Persistent daemon with REST API
- π€ Agent Factory: Create specialized agents via natural language
- β‘ Real-Time Processing: WebSocket updates and async job queues
- π οΈ Production Ready: Docker, health checks, and monitoring
- π API Integration: REST, WebSocket, and Python client libraries
- π Monitoring: Comprehensive logging and metrics
- Single source of truth for all agents
- REST API and CLI access
- Version control and lifecycle management
- Agent templates for common use cases
- Interactive agent creation via
/new-agentcommand - Pre-built templates: Research, Code Generation, Data Analysis
- Three-agent workflow pattern: Plan β Execute β Refine
- Automatic code generation, testing, and deployment
- Native integration with Warp's AI features
- Model Context Protocol (MCP) support
- Agent profiles and permissions
- Warp Drive knowledge persistence
- Multi-agent orchestration
- Zero-code agent creation - Build agents through prompts
- Production-ready output - Generated agents include tests and documentation
- Extensible toolkit system - Add custom agent types and capabilities
- OpenAI integration - Powered by GPT-4 and other models
- Local execution - All processing happens on your machine
- Python 3.10+
- Warp Terminal (optional but recommended)
- OpenAI API key
- Clone the repository:
git clone https://github.com/yourusername/warp-engine.git
cd warp-engine- Run the launcher:
./warp-engineThe launcher will:
- Create a virtual environment
- Install dependencies
- Set up configuration
- Launch the interactive menu
- Configure your API key:
cp env.example .env
# Edit .env and add your OPENAI_API_KEYRun the launcher for an interactive experience:
./warp-engineThis provides a menu-driven interface with options to:
- Create new agents
- List and run existing agents
- Start the web server
- Access the agent registry
Interactive mode with templates:
warp-engine new-agent --enhancedThis will present you with agent templates:
- π¬ Research Agent - Deep research with multi-page output
- π» Code Generator - Production-ready code with tests
- π Data Analyst - Data analysis and insights
- π¨ Custom Agent - Build from scratch
Non-interactive mode:
warp-engine new-agent \
--name "Linux Research" \
--description "Expert Linux system analysis" \
--plan-prompt "Create a research plan..." \
--exec-prompt "Execute the research..." \
--refine-prompt "Polish the output..."# List available agents
warp-engine agent list
# Run a specific agent
warp-engine agent run --name research_agent
# Or use the generated binary
./bin/research_agentwarp-engine serve --port 8787 --open-browserAccess the UI at http://localhost:8787
curl http://localhost:8787/api/agentscurl -X POST http://localhost:8787/api/agents \
-H 'Content-Type: application/json' \
-d '{
"name": "API Agent",
"description": "Agent created via API",
"prompts": {
"plan": "Plan the task",
"execute": "Execute the plan",
"refine": "Refine the output"
}
}'warp-engine/
βββ config.api.json # Universal configuration
βββ data/
β βββ registry.json # Agent registry
β βββ knowledge/ # Warp Drive cache
β βββ logs/ # Execution logs
βββ src/warpengine/
β βββ agents/ # Generated agents
β βββ toolkits/ # Agent toolkits
β βββ warp_integration/ # Warp terminal integration
β βββ api/ # API clients (OpenAI, etc.)
β βββ orchestrator/ # Agent workflow engine
β βββ registry/ # Registry management
βββ bin/ # Executable agent shims
βββ tests/ # Test suite
Create β Build β Test β Deploy β Monitor β Terminate
- Create: Define agent via templates or custom prompts
- Build: Generate code and dependencies
- Test: Run automated tests
- Deploy: Create executable and register
- Monitor: Track usage and performance
- Terminate: Clean shutdown and resource cleanup
Create a .env file with:
# Required
OPENAI_API_KEY=your-api-key-here
# Optional
WARP_ENGINE_HOST=127.0.0.1
WARP_ENGINE_PORT=8787
WARP_ENGINE_MODEL_PLAN=gpt-4-turbo-preview
WARP_ENGINE_MODEL_EXECUTE=gpt-4-turbo-preview
WARP_ENGINE_MODEL_REFINE=gpt-4-turbo-previewThe main configuration file supports:
- Agent templates
- Toolkit definitions
- Model preferences
- Warp integration settings
- Lifecycle configuration
Run the test suite:
pytest tests/ -vTest a specific agent:
pytest src/warpengine/agents/research_agent/test_research_agent.pyCreate specialized toolkits by extending base templates:
# src/warpengine/toolkits/security_audit.py
from warpengine.agent_builder import AgentTemplate, AgentType
class SecurityAuditToolkit(AgentTemplate):
name = "Security Audit Agent"
type = AgentType.CUSTOM
capabilities = ["vulnerability_scanning", "code_analysis", "report_generation"]
# ... additional configurationWhen Warp is installed, the engine automatically:
- Creates agent profiles
- Generates workflows
- Enables voice commands
- Syncs with Warp Drive
Agents can spawn and coordinate with sub-agents:
# In your agent code
sub_agent_result = run_agent("research_agent", context={"topic": "Linux kernel"})$ warp-engine new-agent --enhanced
# Select: Research Agent
# Name: Linux Expert
$ echo "Analyze Linux kernel memory management" | ./bin/linux_expert
# Output: Multi-page report with:
# - Executive Summary
# - Technical Analysis
# - Performance Metrics
# - Recommendations
# - References$ warp-engine agent run --name code_generator
# Input: "Create a REST API for user management with authentication"
# Output: Complete API with:
# - FastAPI application
# - User models
# - Authentication middleware
# - Unit tests
# - OpenAPI documentationWe welcome contributions! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.
Built with β€οΈ using:
- Warp Terminal for terminal integration
- OpenAI for AI capabilities
- FastAPI for the web framework
- Rich for beautiful terminal output
Note: Remember to keep your API keys secure and never commit them to version control!