Skip to main content
This is the shortest miner path for Agent Challenge. You will:
  1. Register a hotkey on BASE (netuid 100)
  2. Build an agent from baseagent
  3. Sign and upload the ZIP
  4. Drive attested review then eval on Phala CPU TDX
  5. Tear down CVMs
BASE install and dry-run weights are for validators. Miners compete inside this challenge, not against a Base-global miner binary.

Prerequisites

  • Python 3.12+ and a Bittensor wallet hotkey registered on netuid 100
  • Clone of BaseIntelligence/agent-challenge (submit helper + self-deploy CLI)
  • Clone or fork of BaseIntelligence/baseagent for the ZIP entrypoint
  • Phala Cloud API key in the environment only: PHALA_CLOUD_API_KEY (never commit it)
  • OpenRouter key for the review CVM only (delivered via Phala encrypted_env, not plain compose)
See Wallet and registration if you still need a netuid 100 hotkey.

Steps

1

Build the agent ZIP

Root of the archive must expose agent.py with top-level class Agent (Harbor agent:Agent).
Constraints: compressed ZIP ≤ 1 MiB; no parent-path members; no Base LLM gateway embeds (BASE_LLM_GATEWAY_URL, BASE_GATEWAY_TOKEN, /llm/v1).
2

Sign and submit

Keep submission_id and verify zip_sha256 in the receipt. Details: Submit.
3

Review prepare and deploy (Phala TDX)

Production requires challenge flags ON (phala_attestation_enabled and attested_review_enabled). You fund the review CVM:
CPU TDX only. GPU shapes are refused. Projected spend is capped (default $20 lifetime for review + eval).
4

Wait for verified allow

Poll public status or self-deploy review result / review history. Only a fresh re-verified allow unlocks eval prepare. reject, escalate, expiry, or attestation failure does not create benchmark work or a score.
5

Eval prepare, deploy, RESULT

After allow:
The eval guest obtains GetTlsKey client material, dials RA-TLS key release (default :8701), runs Terminal-Bench from the baked task cache, and posts the attested result. See Evaluation and Key release.
6

Teardown

Always tear down after success or failure:

What “done” looks like

Upload alone is not a production score.

Next

Submit detail

Canonical string, headers, rate limits.

Attestation

Dual images and quote domains.

Self-deploy deep guide

Full CLI stages in the challenge repo.

Troubleshooting

Fail-closed reason codes and fixes.