BorgOS is an AI-first operating system that integrates multiple AI agents, project management, and deployment automation into a unified platform. It combines the power of Agent Zero, Zenith Coder, and MCP (Model Context Protocol) to create an autonomous development and operations environment.
- Agent Zero: Autonomous AI with code execution, web browsing, and memory management
- Zenith Coder: Specialized coding assistant with project analysis and generation
- MCP Server: Model Context Protocol for enhanced AI interactions
- Custom Agents: Extensible framework for specialized agents
- Real-time Monitoring: Track all projects and deployments
- Auto-deployment: One-click deployment with automatic port management
- Health Tracking: Automatic health checks and error monitoring
- Resource Management: CPU and memory limits per deployment
- Semantic Search: ChromaDB vector database integration
- Persistent Memory: Long-term learning and context retention
- Knowledge Base: Automatic documentation indexing
- Cross-agent Memory: Shared knowledge between agents
- Web Dashboard: Beautiful real-time monitoring interface
- REST API: Comprehensive API with WebSocket support
- Docker-First: Fully containerized architecture
- CLI Tools: Command-line interface for all operations
# Clone the repository
git clone https://github.com/vizi2000/borgos.git
cd borgos
# Copy environment template and add your API keys
cp .env.example .env
nano .env # Add your OpenAI/Anthropic API keys
# Start all services
docker-compose up -d
# Access the dashboard
open http://localhost:8080# One-line installation
curl -fsSL https://raw.githubusercontent.com/vizi2000/borgos/main/install.sh | bash# Create bootable BorgOS Linux USB
sudo ./create_full_borgos_usb.sh- OS: Linux (Ubuntu 20.04+, Debian 11+), macOS 12+, Windows with WSL2
- RAM: 4GB (8GB recommended)
- Storage: 20GB free space
- Docker: Version 20.10+
- Docker Compose: Version 2.0+
- API Keys: OpenAI, Anthropic, or local Ollama
- GPU: Optional - NVIDIA GPU for local model inference
βββββββββββββββββββββββββββββββββββββββββββββββ
β BorgOS Dashboard β
β (React + WebSocket Client) β
βββββββββββββββββββ¬ββββββββββββββββββββββββββββ
β
βββββββββββββββββββΌββββββββββββββββββββββββββββ
β BorgOS Core API β
β (FastAPI + WebSocket + Background Tasks) β
ββββ¬βββββββββββ¬βββββββββββ¬βββββββββββ¬βββββββββ
β β β β
ββββΌββββ ββββΌββββ ββββΌββββ ββββΌββββ
βPostgreβ βRedis β βChromaDBβ βDockerβ
β SQL β βCache β βVectors β βEngineβ
βββββββββ ββββββββ ββββββββββ ββββββββ
β
βββββββββββββββΌββββββββββββββββ
β AI Agents Layer β
βββββββββββββββββββββββββββββββ€
β β’ Agent Zero β
β β’ Zenith Coder β
β β’ MCP Server β
β β’ Custom Agents β
βββββββββββββββββββββββββββββββ
Powerful autonomous agent with capabilities:
- Code Execution: Write and run code in isolated environments
- Web Browsing: Search and extract information from the web
- File Operations: Read, write, and manage files
- Memory Management: Long-term memory and learning
- Task Scheduling: Automated recurring tasks
- Tool Creation: Dynamic tool generation
Specialized coding assistant featuring:
- Project Analysis: Deep understanding of codebases
- Code Generation: High-quality code creation
- Error Detection: Automatic bug finding
- Refactoring: Code improvement suggestions
- Documentation: Automatic documentation generation
Model Context Protocol integration providing:
- Enhanced Context: Better context management
- Tool Registration: Dynamic tool discovery
- Cross-agent Communication: Agent coordination
- State Management: Persistent state across sessions
GET /api/v1/projects # List all projects
POST /api/v1/projects # Create new project
GET /api/v1/projects/{id} # Get project details
POST /api/v1/projects/scan # Scan for new projectsGET /api/v1/deployments # List deployments
POST /api/v1/deploy # Deploy project
POST /api/v1/deployments/{id}/stop # Stop deployment
POST /api/v1/deployments/{id}/restart # Restart deploymentGET /api/v1/agent-zero/status # Check Agent Zero status
POST /api/v1/agent-zero/start # Start Agent Zero
POST /api/v1/agent-zero/execute # Execute task
GET /api/v1/agent-zero/capabilities # List capabilitiesPOST /api/v1/mcp/query # Execute MCP query
GET /api/v1/mcp/tools # List available toolsdocker-compose up -ddocker-compose -f docker-compose.prod.yml up -dkubectl apply -f k8s/sudo ./installer/install-to-disk.shConfiguration via environment variables in .env:
# API Keys
OPENAI_API_KEY=your-openai-key
ANTHROPIC_API_KEY=your-anthropic-key
OLLAMA_API_BASE_URL=http://localhost:11434
# Database
DB_HOST=postgres
DB_PORT=5432
DB_NAME=borgos
DB_USER=borgos
DB_PASSWORD=secure-password
# Features
AGENT_ZERO_ENABLED=true
ZENITH_ENABLED=true
MCP_ENABLED=true
AGENT_ZERO_AUTOSTART=false
# Ports
API_PORT=8081
DASHBOARD_PORT=8080
AGENT_ZERO_PORT=8085borgos/
βββ core/ # Core API server
β βββ main.py # FastAPI application
β βββ agent_zero_integration.py
β βββ zenith_integration.py
β βββ mcp_server.py
β βββ vector_store.py
βββ webui/ # Dashboard UI
β βββ index.html
β βββ static/
βββ database/ # Database schemas
β βββ init.sql
βββ docker/ # Docker configurations
β βββ Dockerfile.api
β βββ Dockerfile.dashboard
βββ installer/ # Installation scripts
β βββ install-to-disk.sh
β βββ quick-install.sh
βββ docs/ # Documentation
βββ docker-compose.yml # Main compose file
# Clone repository
git clone https://github.com/yourusername/borgos.git
cd borgos
# Install dependencies
pip install -r requirements-dev.txt
# Run tests
pytest tests/
# Start development server
python core/main.py# Unit tests
pytest tests/unit/
# Integration tests
pytest tests/integration/
# Coverage report
pytest --cov=core --cov-report=htmlWe welcome contributions! Please see CONTRIBUTING.md for:
- Code of conduct
- Development setup
- Pull request process
- Coding standards
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing) - Open a Pull Request
- Installation Guide
- Architecture Overview
- API Reference
- Agent Integration
- Development Guide
- Deployment Guide
- Troubleshooting
Docker containers not starting
# Check logs
docker-compose logs -f
# Restart services
docker-compose restart
# Clean restart
docker-compose down -v
docker-compose up -dAgent Zero not responding
# Check status
curl http://localhost:8081/api/v1/agent-zero/status
# Restart Agent Zero
curl -X POST http://localhost:8081/api/v1/agent-zero/restartDatabase connection issues
# Check PostgreSQL
docker-compose logs postgres
# Reset database
docker-compose down -v
docker-compose up -d- v2.1 - Kubernetes deployment support
- v2.2 - Multi-user authentication
- v2.3 - Plugin marketplace
- v2.4 - Mobile application
- v2.5 - Voice interface
- v3.0 - Distributed agent coordination
- Future - Quantum computing integration
- API Response Time: <100ms average
- Agent Task Execution: 2-10s depending on complexity
- Memory Usage: ~500MB base, 2GB with all agents
- Concurrent Users: 100+ supported
- Project Scanning: 1000+ files/second
- Authentication: JWT-based authentication
- Authorization: Role-based access control
- Encryption: TLS 1.3 for all communications
- Sandboxing: Isolated execution environments
- Audit Logging: Complete audit trail
This project is licensed under the MIT License - see the LICENSE file for details.
- Agent Zero by frdel
- Zenith Coder community
- MCP by Anthropic
- FastAPI by SebastiΓ‘n RamΓrez
- ChromaDB team
- All contributors and supporters
- Documentation: docs.borgos.ai
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Discord: Join our Discord
- Twitter: @BorgOSAI
Made with β€οΈ by the BorgOS Team
Website β’ Documentation β’ Live Demo β’ Twitter