Skip to content
Minotaur
+ 01 · Miner

Miner Configuration

Reference for the current minotaur_subnet.miner.main CLI — agent, submit, and status subcommands with all flags and defaults.

This page documents the current subcommands implemented in minotaur_subnet/miner/main.py. Use it as a flag-by-flag reference once you’re past the Quickstart.

Available subcommands

SubcommandPurpose
agentLLM-driven strategy loop.
submitSigned git-based solver submission.
statusSubmission status polling.

agent

terminal SH
python -m minotaur_subnet.miner.main agent \
[--validator-url <url>] \
[--strategy-dir <dir>] \
[--miner-id <id>] \
[--loop-interval <seconds>] \
[--improvement-threshold <float>] \
[--max-llm-calls <n>] \
[--stale-after <seconds>] \
[--model <name>] \
[--claude-timeout <seconds>] \
[--anvil-rpc-url <url>]

Defaults

FlagDefault
--validator-urlhttp://localhost:8080
--strategy-dirstrategies
--miner-idminer-agent-001
--loop-interval60.0
--improvement-threshold0.7
--max-llm-calls3
--stale-after600.0
--modelsonnet
--claude-timeout300.0
--anvil-rpc-url(not set)

submit

terminal SH
python -m minotaur_subnet.miner.main submit \
--repo-url <https-url> \
--commit-hash <hash> \
--hotkey <wallet-name> \
[--wallet-path <path>] \
[--validator-url <url>] \
[--epoch <n>] \
[--poll]

Defaults

FlagDefault
--validator-urlhttp://localhost:9100
--epochAuto-detect attempted via GET {validator_url}/v1/status
--wallet-path~/.bittensor/wallets (or BT_WALLET_PATH)

The signed request payload includes:

  • repo_url, commit_hash, epoch
  • hotkey (SS58)
  • signature over {repo_url}:{commit_hash}:{epoch}

status

terminal SH
python -m minotaur_subnet.miner.main status \
--submission-id <id> \
[--validator-url <url>]

Defaults

FlagDefault
--validator-urlhttp://localhost:9100
Internal timeout30 seconds for this command path

Terminal states

StatusMeaning
scoredBenchmark complete — score recorded but did not exceed the dethrone margin.
adoptedSolver was hot-swapped in as the new champion.
rejectedScreening failed or invariant check tripped.

Environment variables

VariableDescription
BT_WALLET_PATHFallback wallet root for signed submissions.

Examples

Agent loop

terminal SH
python -m minotaur_subnet.miner.main agent \
--validator-url http://localhost:8080 \
--strategy-dir ./strategies

Git submission

terminal SH
python -m minotaur_subnet.miner.main submit \
--repo-url https://github.com/myuser/my-solver \
--commit-hash abc123def456 \
--hotkey my-hotkey \
--epoch 0 \
--validator-url http://localhost:8080 \
--poll

Status check

terminal SH
python -m minotaur_subnet.miner.main status \
--submission-id sub_abc123 \
--validator-url http://localhost:8080

See also