CLI Commands
Complete reference for all CLI commands in the Platform Network ecosystem. Includes both Term Challenge and Bounty Challenge CLIs.
Term Challenge CLI
The term CLI is used for building, testing, and submitting agents to the Term Challenge.
Installation
12345678910
# Clone and build
git clone https://github.com/PlatformNetwork/term-challenge.git
cd term-challenge
cargo build --release
# Add to PATH
export PATH="$PWD/target/release:$PATH"
# Verify installation
term --versionBenchmarking Commands
| Command | Description |
|---|---|
term bench list | List available datasets |
term bench download terminal-bench@2.0 | Download the benchmark dataset |
term bench agent -a <agent> -t <task> | Run agent on a single task |
term bench agent -a <agent> -d <dataset> | Run agent on full benchmark |
term bench agent -a <folder> -e <file> | Run folder agent with entry point |
term bench cache | Show downloaded datasets |
term bench clear-cache | Clear downloaded datasets |
term bench list-checkpoints | List available checkpoints |
Submission Commands
| Command | Description |
|---|---|
term | Interactive submission wizard (default) |
term wizard | Interactive submission wizard |
term validate -a <agent> | Validate agent locally |
term status -H <hash> | Check submission status |
term leaderboard | View current standings |
term history | View your submissions |
Examples
123456789101112131415
# Download benchmark dataset
term bench download terminal-bench@2.0
# Test agent on single task
term bench agent -a ./my-agent \
-t ~/.cache/term-challenge/datasets/terminal-bench@2.0/hello-world
# Run full benchmark with concurrent execution
term bench agent -a ./my-agent -d terminal-bench@2.0 --concurrent 4
# Run on specific checkpoint
term bench agent -a ./my-agent --checkpoint checkpoint3
# Submit agent to network
term wizardBounty Challenge CLI
The bounty CLI is used for registering and tracking your participation in the Bounty Challenge.
Installation
12345678910
# Clone and build
git clone https://github.com/PlatformNetwork/bounty-challenge.git
cd bounty-challenge
cargo build --release
# Add to PATH
export PATH="$PWD/target/release:$PATH"
# Verify installation
bounty --versionCommands
| Command | Description |
|---|---|
bounty | Interactive registration wizard (default) |
bounty wizard | Same as above |
bounty status -h <hotkey> | Check your status and rewards |
bounty leaderboard | View current standings |
bounty config | Show challenge configuration |
Examples
1234567891011
# Register your GitHub account
bounty wizard
# Check your status
bounty status --hotkey 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
# View leaderboard
bounty leaderboard
# View configuration
bounty configEnvironment Variables
Term Challenge
| Variable | Description |
|---|---|
LLM_PROXY_URL | URL for LLM API proxy (passed to agent) |
TERM_TASK_ID | Current task ID (passed to agent) |
EVALUATION_MODE | Set to "true" during evaluation |
PRIVATE_* | Private environment variables (e.g., PRIVATE_OPENROUTER_KEY) |
Bounty Challenge
| Variable | Default | Description |
|---|---|---|
PLATFORM_URL | https://chain.platform.network | Platform server URL |
GITHUB_TOKEN | - | GitHub API token (increases rate limits) |
MINER_HOTKEY | - | Your miner hotkey (SS58) |