Version: 1.0.0
Package: dev.helix.code
License: MIT
HelixCode is an enterprise-grade distributed AI development platform that enables intelligent task division, work preservation, and cross-platform development workflows. Built with Go and designed for scalability, HelixCode provides a robust foundation for distributed computing with automatic checkpointing, rollback functionality, and real-time monitoring.
- Database Schema: Complete PostgreSQL schema with 11 tables for distributed computing
- Authentication System: JWT-based auth with session management
- Worker Management: Distributed worker registration and health monitoring
- Task Management: Intelligent task division with work preservation
- Logo Integration: Automatic asset generation with color extraction
- REST API: Comprehensive HTTP API with Gin framework
- Configuration System: Flexible config with environment variables
- Advanced Task Division: Intelligent task splitting with dependency management
- LLM Provider Integration: Multi-provider support (Llama.cpp, Ollama, OpenAI)
- Distributed Computing: Work preservation with automatic checkpointing
- MCP Protocol: Model Context Protocol implementation
- Advanced Reasoning: Chain-of-thought and tree-of-thoughts reasoning
- Multi-Channel Notifications: Slack, Discord, Email, Telegram integration
- Hardware Detection: Comprehensive CPU/GPU/memory analysis
- Model Management: Intelligent model selection based on capabilities
- Provider Architecture: Unified interface for all LLM providers
- CLI Interface: Command-line interface with interactive mode
- β Project Management: Full project lifecycle with database persistence
- β Development Workflows: Planning, building, testing, refactoring modes
- β Session Management: Multi-session support with context tracking
- β Workflow Execution: Automated workflow execution with dependencies
- β Hardware Detection: Comprehensive CPU/GPU/memory analysis
- β Model Management: Intelligent model selection based on capabilities
- β Provider Architecture: Unified interface for all LLM providers
- β CLI Interface: Command-line interface with interactive mode
- β SSH Worker Pool: Distributed worker network with auto-installation
- β Advanced LLM Tooling: Tool calling and reasoning API integration
- β Multi-Client Support: REST API, CLI, Terminal UI, WebSocket
- β MCP Integration: Full protocol support with multi-transport
- β Cross-Platform: Linux, macOS, Windows, Aurora OS, SymphonyOS
- β Mobile Ready: Framework for iOS and Android applications
All 5 implementation phases have been successfully completed! HelixCode is now a fully functional distributed AI development platform with enterprise-grade features including:
- Complete Distributed Computing: SSH-based worker networks with automatic management
- Advanced AI Integration: Multi-provider LLM support with tool calling and reasoning
- Comprehensive Workflows: Full development lifecycle automation (planning β building β testing β refactoring)
- Multi-Platform Support: Cross-platform compatibility with mobile frameworks ready
- Enterprise Features: Authentication, notifications, MCP protocol, and robust APIs
HelixCode Architecture
βββ API Layer (REST + WebSocket + MCP)
βββ Core Services
β βββ Authentication & Session Management
β βββ Worker Pool Management (SSH-based)
β βββ Task Management & Checkpointing
β βββ Project & Workflow Management
β βββ LLM Provider Integration
βββ Database Layer (PostgreSQL + Redis)
βββ Distributed Workers (Cross-platform)
βββ Multi-Client Interfaces (CLI, TUI, REST, Mobile)
helix_code/
βββ specification/ # Technical specifications and requirements
βββ implementation_guide/ # Implementation plans and guides
βββ Design/ # Design assets and specifications
βββ helix_code/ # Main Go implementation
β βββ cmd/
β β βββ server/ # HTTP server application
β β βββ cli/ # CLI client
β βββ internal/
β β βββ auth/ # Authentication system
β β βββ config/ # Configuration management
β β βββ database/ # Database layer
β β βββ hardware/ # Hardware detection
β β βββ llm/ # LLM providers and reasoning
β β βββ logo/ # Logo processing & assets
β β βββ mcp/ # MCP protocol implementation
β β βββ notification/ # Multi-channel notifications
β β βββ project/ # Project management
β β βββ server/ # HTTP server & API
β β βββ session/ # Session management
β β βββ task/ # Task management & checkpoints
β β βββ worker/ # Worker pool management
β β βββ workflow/ # Workflow execution
β βββ scripts/ # Build and utility scripts
βββ website/ # Marketing website
βββ assets/ # Project assets and logos
βββ docs/ # Documentation
- Go 1.26+ (the inner
helix_code/module declaresgo 1.26; the meta-repo root isgo 1.25.2) - PostgreSQL 15+
- Redis 7+ (optional)
-
Clone the repository and setup environment:
git clone git@github.com:HelixDevelopment/HelixCode.git cd HelixCode ./setup.shThis will:
- Initialize all git submodules
- Install system dependencies
- Build the HelixCode application
-
Manual setup (alternative):
# Initialize submodules ./scripts/init-submodules.sh # Install dependencies (Ubuntu/Debian) ./install_missing_libs.sh # Build the application (inner Go module β lowercase per CONST-052) cd helix_code make build
-
Setup database:
createdb helixcode createuser helixcode
-
Configure environment:
export HELIX_DATABASE_PASSWORD=your_password export HELIX_AUTH_JWT_SECRET=your_jwt_secret
-
Run the server:
./bin/helixcode
# Interactive mode
./cli
# List workers
./cli --list-workers
# Add a worker
./cli --worker worker-host --user helix --key ~/.ssh/id_rsa
# Generate with LLM
./cli --prompt "Hello world" --model llama-3-8b
# Health check
./cli --healthPOST /api/v1/auth/register- User registrationPOST /api/v1/auth/login- User loginPOST /api/v1/auth/refresh- Token refresh
GET /api/v1/workers- List workersPOST /api/v1/workers- Register workerGET /api/v1/workers/:id- Get worker details
GET /api/v1/tasks- List tasksPOST /api/v1/tasks- Create taskGET /api/v1/tasks/:id- Get task detailsPOST /api/v1/tasks/:id/start- Start task execution
GET /api/v1/projects- List projectsPOST /api/v1/projects- Create projectGET /api/v1/projects/:id- Get project details
- users: User accounts and authentication
- workers: Distributed worker nodes with SSH config
- tasks: Task management with checkpoints and dependencies
- projects: Project lifecycle management
- sessions: Development sessions and context
- llm_providers: Configured LLM provider instances
- notifications: Multi-channel notification management
make build # Build the application
make test # Run all tests
make clean # Clean build artifacts
make lint # Lint code
make fmt # Format code# Run all tests
go test ./...
# Run specific package tests
go test -v ./internal/auth
# Run with coverage
go test -cover ./...- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: tracked in-repo at
docs/Issues.md(+docs/Fixed.md), the SQLite-backed single source of truthdocs/workable_items.db(Β§11.4.93/95) - Documentation: See the Documentation section above +
docs/
Built with β€οΈ using Go, PostgreSQL, and distributed computing principles
HelixCode - Empowering distributed AI development workflows
Per constitution Β§11.4.99 (Latest-Source Documentation Cross-Reference), the operator-facing instructions in this README were cross-referenced against the latest official sources and the repository's actual state on 2026-05-29:
- Go version β README now requires Go 1.26+, matching
helix_code/go.mod(go 1.26) and the meta-repo rootgo.mod(go 1.25.2). Verified against the official Go release history (https://go.dev/doc/devel/release): Go 1.26.0 released 2026-02-10 (latest 1.26.3, 2026-05-07); Go 1.24 is now past its support window. The prior "Go 1.24.0+" was incorrect β the inner module does not build below Go 1.26. - Clone URL β corrected to the real SSH remote
git@github.com:HelixDevelopment/HelixCode.git(was ahttps://β¦/your-org/β¦placeholder), satisfying the SSH-only Git rule (Constitution Rule 3 / CONST-038, GitHub+GitLab only). - Inner-module path β corrected
cd HelixCodeβcd helix_code(lowercase per CONST-052; verified the on-disk directory ishelix_code/). - Referenced scripts β
setup.sh,scripts/init-submodules.sh,install_missing_libs.shall confirmed present in the tree. - PostgreSQL 15+ / Redis 7+ β consistent with the authoritative tech stack in
CLAUDE.mdΒ§3.1 (pgx/v5 on PostgreSQL 15+, go-redis/v9 on Redis 7+); both minimums remain valid against current upstream (PostgreSQL 17 / Redis 7.x are the current GA lines, backward-compatible). - Negative finding β this README still uses the legacy Β§11.4.44 bold-line header (Version/Package/License) rather than the Β§11.4.61 metadata table; migration is deferred to a dedicated docs pass (does not affect instruction correctness).
Re-verify before the next release boundary or if any tool above ships a breaking change (Β§11.4.99(C) β instructions older than 6 months are stale).
Sources verified 2026-05-29: https://go.dev/doc/devel/release ; repo cross-reference
(helix_code/go.mod, go.mod, on-disk paths, git remote, CLAUDE.md Β§3.1).
