A portable agent runtime that plants anywhere within resource limits.
The Greenhorn Runtime is the FLUX Fleet's portable agent deployment target. It's designed to run on constrained hardware β the "greenhorn" gets assigned to whatever hardware is available, from a VPS to a Jetson to a Raspberry Pi.
- Discovers fleet repos via GitHub API
- Clones the vessel repo for its assigned agent
- Reads the taskboard and picks work
- Executes tasks using the best available tools
- Pushes results back via git
- Reports status via message-in-a-bottle
greenhorn-runtime/
βββ bin/
β βββ greenhorn # Main entry point
βββ lib/
β βββ discovery.py # Fleet repo discovery
β βββ vessel.py # Vessel cloning and setup
β βββ taskboard.py # Task reading and claiming
β βββ executor.py # Task execution engine
β βββ reporter.py # Status reporting via git
βββ config/
β βββ default.yaml # Default configuration
βββ Dockerfile # Container deployment
βββ README.md
pip install -r requirements.txt
python -m greenhorn --vessel https://github.com/SuperInstance/your-vesseldocker build -t greenhorn .
docker run -e GITHUB_TOKEN=$TOKEN greenhornOpen in GitHub Codespaces β it's pre-configured.
Designed to run within:
- RAM: 512MB minimum
- CPU: 1 core minimum
- Disk: 1GB minimum
- Network: GitHub API access required