How helixml/helix works
Helix is a self-hostable platform for running a team fleet of coding agents in isolated desktop sandboxes. The primary workflow is project task creation, agent-authored planning, human spec review and approval, sandbox implementation, and pull-request review/merge. The graph also shows the API and agent/model layers and README-documented platform capabilities. Several subsystem links are documented at product level; unsampled implementation details are not inferred as call chains.
Main entry points: agent.go Agent orchestration · sessions.go Agent sessions · controller.go HTTP API · spec_task_design_review_handlers.go Spec task handlers
Components 22
Spec-driven work
- Spec task handlers
api/pkg/server/spec_task_design_review_handlers.go - Projects and tasks
api/pkg/org/application/projects/projects.go - Plan review
api/pkg/server/spec_task_design_review_handlers.go
Agent runtime
- Agent sessions
api/pkg/controller/sessions.go - Agent orchestration
api/pkg/agent/agent.go - Skills and tools
api/pkg/agent/skill.go - LLM client
api/pkg/agent/llm_client.go - Sandbox desktop
api/pkg/desktop/desktop.go - Sandbox management
api/pkg/sandbox/compute/manager.go
Platform services
- Knowledge and RAG
api/pkg/controller/knowledge - Auth and tenancy
api/pkg/auth/auth.go - Usage and tracing
api/pkg/agent/observability.go
User interfaces
- Web dashboard
frontend/src - Spec task UI
frontend/src/hooks/useSpecTasks.ts - HTTP API
api/pkg/webservice/controller.go - Web API client
frontend/src/api/api.ts - macOS companion
for-mac/app.go
External integrations
- Git providers
api/pkg/github/client.go - Model providers
api/pkg/openai/manager/provider_manager.go - Notifications
api/pkg/notification/notification.go - Pull request
Other components
- Team member
Connections 25
- Team member → Web dashboard: uses
README.md - Web dashboard → Spec task UI: manages tasks
frontend/src/hooks/useSpecTasks.ts - Spec task UI → Web API client: requests task data
frontend/src/hooks/useSpecTasks.ts - Web API client → HTTP API: calls API
- HTTP API → Spec task handlers: routes requests
- Spec task handlers → Projects and tasks: updates task
- Spec task handlers → Plan review: handles review
api/pkg/server/spec_task_design_review_handlers.go - Team member → Plan review: reviews plan
README.md - Plan review → Agent sessions: sends feedback
api/pkg/server/spec_task_design_review_handlers.go - Projects and tasks → Agent sessions: dispatches work
README.md - Agent sessions → Sandbox management: runs in
README.md - Sandbox management → Sandbox desktop: provides desktop
README.md - Agent sessions → Agent orchestration: hosts agent
- Agent orchestration → Skills and tools: uses tools
README.md - Agent orchestration → LLM client: requests completions
- LLM client → Model providers: sends requests
api/pkg/agent/llm_client.go - Agent orchestration → Knowledge and RAG: uses retrieval
README.md - HTTP API → Auth and tenancy: enforces access
- Agent orchestration → Usage and tracing: records activity
README.md - Projects and tasks → Git providers: connects repositories
README.md - Agent sessions → Git providers: opens pull request
README.md - Git providers → Pull request: creates
README.md - Team member → Pull request: reviews and merges
README.md - HTTP API → Notifications: sends alerts
- Team member → macOS companion: uses companion