CLI Reference

Every command available in the spore CLI.

spore set <provider> <key>

Configure an LLM provider for the experiment agent. Supported providers: groq, anthropic, openai, xai.

$ spore set anthropic <your-api-key>

spore run

Run node in foreground (Ctrl+C to stop). Connects to configured peers and starts the experiment loop.

FlagDefaultDescription
--bootstrapFull setup: copy bundled train.py and prepare.py, download data, connect to bootstrap peer, sync graph, start loop.
--resource100Limit resource usage to N% (1-100). Scales training batch size.
--no-trainRun as sync-only node (no experiments).
$ spore run --bootstrap

spore start

Run node as a background daemon.

FlagDefaultDescription
--port, -p7470Listen port for gossip
--peerPeer address (host:port). Can be specified multiple times.
$ spore start --port 7470 --peer 192.168.1.100:7470

spore stop

Stop the background daemon.

spore status

Show experiment count, frontier, and recent activity.

spore info

Show node identity, port, and peer count.

spore explorer

Launch the web UI — D3.js DAG visualization, live feed, frontier table, and reputation leaderboard.

spore graph

Show research DAG as ASCII tree.

FlagDefaultDescription
--depth, -d50Maximum depth to render

spore frontier

Show best unbeaten experiments.

FlagDefaultDescription
--gpu, -gFilter by GPU class

spore connect <host:port>

Add a peer.

$ spore connect 192.168.1.10:7470

spore disconnect <host:port>

Remove a peer.

$ spore disconnect 192.168.1.10:7470

spore peer

List configured peer.

spore log

Show daemon log.

FlagDefaultDescription
-fFollow log output

spore clean

Remove all Spore data.

FlagDefaultDescription
--allAlso remove cached data

spore init

Explicitly initialize the node. Not usually needed — every command auto-initializes if the node hasn't been set up yet.

spore version

Show version.