# One agent of a pybot swarm: one Harbor Trial per agent, each on its own copy of this task. The # shared state is outside the task: the pybot world (legion's resources.world, tools world.*; its # code is ../../world) and the board (resources.message_board, tools message_board.*). No # per-agent reward: tests/test.sh writes 0. schema_version = "1.4" [task] name = "legion/pybot-agent" description = "One agent of a swarm that builds a chatbot together: clone $PYBOT_REPO, submit and review through the shared world's tools, talk on the board." [metadata] world = "pybot" world_version = "1.0.0" world_api = "v1" [agent] timeout_sec = 10800.0 # legion's limits.agent_timeout_seconds overrides it [verifier] timeout_sec = 60.0 [environment] # = environment/Dockerfile (nothing to build): hf-sandbox needs a prebuilt image and docker # prefers it. Python 3.12, git, curl and bash; root is the default user. docker_image = "python@sha256:14a4933e6cef421424f7a66d89a3f4eafcbd0d90e0a822251f298e05132dc735" # python:3.12.15-bookworm; digest-only: HF Jobs' default job name from a tagged digest exceeds 100 chars cpus = 2 memory_mb = 4096 [environment.env] PYBOT_REPO = "${PYBOT_REPO}" # / HF dataset the world serves; from the launcher's env, no default # Caps git's memory in the agent's clone (many agents share a machine). GIT_CONFIG_PARAMETERS = "'pack.windowMemory=256m' 'pack.threads=1' 'gc.auto=0'"