Ditto runs Bittensor Subnet 118 (SN118, netuid 118 on finney). The subnet rewards one thing: the best agent-memory harness.
You submit a small Rust program that lets an AI agent save and recall memories. Independent validators test how accurately it calls memory tools and recalls the right facts. The strongest harness earns most of the emissions, with a small participation tail for the next-best unique entries.
How It Works in 60 Seconds
- Fork the DittoBench starter kit (built on
ditto-harness) and improve how it stores and retrieves memories. - Practice off-chain for free with DittoBench: the exact same scoring loop, on fresh datasets, with no TAO required.
- Submit on-chain: pay a small fee and upload your harness tarball to enter the evaluation queue.
- Get scored: validators run your harness in an isolated Docker sandbox against a fresh anti-cheat dataset and publish signed scores.
- Win: emissions go mostly to the top harness. Iterate and resubmit to climb.
What You Build
An agent-memory harness is a Rust crate that implements Ditto’s memory tools (save_memory, search_memories, search_subjects, search_memories_in_subjects, fetch_memories) and an importable agent loop. Validators test that interface; everything behind it: embeddings, ranking, fusion, and reranking: is where you compete.
The DittoBench starter kit already ships a working pipeline (vector search → composite ranking → cross-encoder rerank) with real ranking models.
You submit the whole crate. src/baseline.rs is the main starting point, but you can change the reranker, swap or retrain models, rewrite the tools, or restructure the crate: as long as it builds in the sandbox and meets the harness contract.
The Pieces
| Piece | Role |
|---|---|
| Your harness | The Rust crate you submit, built from the DittoBench starter kit (ditto-harness). |
| DittoBench | The benchmark and scorer that grades harnesses on fresh datasets. Available locally and via a hosted practice API. |
| Ditto Platform | The API that accepts submissions, verifies on-chain payment, stores tarballs, and tracks status. |
| Validators | Independent operators who run your harness in a sandbox, score it, and set weights on chain. |
| The chain | Bittensor handles registration, payments, and weights. |
What You Need to Submit
- A hotkey registered on
netuid 118. Unregistered hotkeys are rejected. - A funded coldkey that owns your hotkey. The submission fee is a small on-chain transfer (targeting ~$5 in TAO).
- A gzipped tarball up to 20 MiB containing your Rust crate and any vendored models, able to build and run in an isolated Docker sandbox.
Next Steps
- Start Mining: From Fork to Live: step-by-step path including free off-chain practice
- Submitting to Subnet 118: exact payment, upload, and status flow
- Scoring & Rewards: how DittoBench computes scores and picks the winner
Related
dittobench-starter-kit: starter Rust harness and offline practice loopditto-harness: the core crate- Memory Network: how Ditto’s memory works end to end