Overview
Source Code (src/helios/)
Entry Points
helios, helios batch, and helios dev commands.
Core Runtime
AgentRunner class that orchestrates task execution: load task → provision environment → run agent loop → verify → cleanup.
parallel.py - The ParallelRunner for concurrent task execution with configurable concurrency and progress tracking.
task.py - Loads task definitions from directories. Parses task.toml and instruction.md.
Gateway (LLM Providers)
gemini/*→ GeminiGatewayclaude-*→ AnthropicGatewaybedrock/*→ BedrockGateway (in anthropic.py)openai/*→ OpenAIGateway
Environment (Container Management)
Environment class with methods for container lifecycle, command execution, and screenshots.
docker.py - Local Docker implementation using the Docker SDK. Handles container creation, VNC for GUI mode, and cleanup.
daytona.py - Daytona cloud sandbox implementation for scalable remote execution.
Tools
Tool- Abstract base for all toolsBaseBashTool- Shell command executionBaseEditorTool- File viewing and editing
Verification
tests/test.sh inside the container and reads the reward value from /logs/verifier/reward.txt.
Web Server
Docker Images (docker/)
Example Tasks (tasks/)
Tests (tests/)
Key Data Flow
Contributing
When contributing to Helios:- Gateway changes - Add new providers in
src/helios/gateway/ - Tool changes - Update base classes in
tools/base.pyand provider implementations - Environment changes - Modify
environment/docker.pyorenvironment/daytona.py - New features - Start from
cli.pyand trace the data flow
Contributing Guide
Learn how to contribute to Helios