Horizon sample set: continual-learning eval tasks
harbor run -d orinlabs/horizon-public@1harbor download orinlabs/horizon-public@1This directory contains the public example tasks from the Horizon benchmark. The full benchmark is private to prevent overfitting.
Each task directory follows this structure:
<task-name>/
├── task.toml # Task metadata (name, timeouts, difficulty, etc.)
├── instruction.md # The instruction given to the agent
├── environment/
│ ├── tools/
│ │ ├── tools.json # Tool definitions (SDK schema + CLI mapping)
│ │ └── tool_handler.py # Python handler for tool execution
│ └── workdir/
│ └── trace.jsonl # Prior-session trace (downloaded at build time)
├── tests/
│ └── judge.py # Verifier script that checks success criteria
└── solution/ # Oracle solution for validation
Defines task metadata:
name: Unique task identifier (e.g., orinlabs/01-example-catering-vendor)difficulty: One of easy, medium, or hardagent.timeout_sec: Agent execution timeoutverifier.timeout_sec: Verifier execution timeoutenvironment: Resource constraints (CPUs, memory, storage, network access)Defines the tools available to the agent in this task:
sdk_schema: OpenAI/OpenRouter function-calling schemahandler: CLI mapping with argv and arg_map for parameter translationThe tools are installed into /usr/local/bin at container startup by horizon-install-tools.
A Python script that:
/state/replies.json){"reward": 0|1, "metrics": {...}} to /logs/verifier/reward.jsonRun a single task:
harbor run \
-p evals/01-example-catering-vendor \
--agent-import-path trace_rag.agent:TraceRagAgent \
-m openai/gpt-4o-mini \
--ae OPENROUTER_API_KEY=sk-or-...
Run the full public dataset:
harbor run \
-d orinlabs/horizon-public \
-a terminus-2 \
-m openrouter/openai/gpt-4o-mini \
--ae OPENROUTER_API_KEY=sk-or-...
Traces are hosted on HuggingFace at orinlabs/horizon-example-traces and downloaded into the container at /workdir/trace.jsonl during image build.
Each trace is a JSONL file where each line is a JSON object with:
timestamp: ISO-8601 timestampmessage_data: Event payload with type field (message, reasoning, function_call, function_call_output)The dataset.toml file registers all public tasks with their content digests for integrity verification:
[[tasks]]
name = "orinlabs/01-example-catering-vendor"
digest = "sha256:..."
This file is used by harbor publish to upload tasks to Harbor Hub.