An autonomous multi-agent system
for Bittensor, that runs
on your own machine.
15 specialised research agents plus an opt-in adaptive trading pipeline. Paper-trade by default; live execution requires three independent opt-ins (env var, encrypted keystore, per-strategy flag) and a typed confirmation. An adaptive ensemble shifts capital toward strategies that are actually winning. Reads Bittensor mainnet, Subscan, CoinGecko. Never stores seed phrases. Never phones home.
Research swarm by default.
Auto-trader by deliberate choice.
15 specialized agents
System check, protocol research, subnet discovery and scoring, watch-only wallet, market analysis, risk review, miner / validator engineering, training, infra, dashboard, fullstack, QA, docs.
Gate before route
Every action is classified SAFE / CAUTION /
DANGER before the router ever sees it. In
read-only modes DANGER outputs a plan only. In opt-in
AUTO_TRADING mode DANGER routes to the audited
execution path only when kill-switch off, position
cap set, and daily-loss-limit set.
Plug-in architecture
Drop your own *_agent.py in a folder, set
TAO_PLUGIN_PATHS, done. Or ship as a pip package via
the tao.agents entry point. Plug-ins go through the
same gate as built-ins. No privilege escalation.
Four wallet modes, opt-in
Default is NO_WALLET.
WATCH_ONLY takes public SS58 only.
MANUAL_SIGNING emits unsigned plans for you to
sign externally. AUTO_TRADING uses a dedicated
encrypted keystore (Argon2id + AES-256-GCM) and signs only
when env var, keystore unlock, and per-strategy opt-in are
all set. Seed phrases and main coldkey keys are never asked
for, stored, or transmitted.
Live data, real fallbacks
Bittensor SDK 10.x against mainnet finney for 129+ subnets
with rich identity. Subscan for wallet snapshots. CoinGecko
for prices. Each path falls back to mock fixtures with a
labelled _meta.fallback_reason when the upstream
is unreachable — never silent.
Local-only, no telemetry
Everything runs on your machine. SQLite for state. No
analytics. No vendor SDKs that phone home. Outbound HTTPS
only to the data endpoints you explicitly opt into via
--live.
Three commands.
Install
git clone https://github.com/BEKO2210/TAO_2.0.git
cd TAO_2.0
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt -r requirements-dev.txt
pip install -e .
Run mock
tao-swarm subnets
tao-swarm score 1
tao-swarm risk --content "Schedule_coldkey_swap to 5XYZ..."
# → DANGER: coldkey_swap_social_engineering CRITICAL
Go live
pip install bittensor
tao-swarm --live subnets # 129 real Mainnet subnets
tao-swarm --live market # real CoinGecko price + 24h
Adaptive paper-trading
tao-swarm --live --network finney trade run \
--strategy ensemble:all --paper \
--tick-interval-s 60 \
--status-file data/runner_status.json
# in another terminal:
tao-swarm dashboard # premium UI on :8501
Paper by default.
Live behind three independent opt-ins.
Sixteen merged PRs (2A–2P) build the audited execution path on top of the read-only swarm. Nothing signs anything until every gate consents.
Encrypted keystore
Argon2id (OWASP 2024 baseline: t=3, m=64 MiB, p=4) plus AES-256-GCM. Atomic write, 0o600 permissions, anti-timing failure mode. Same-exception for wrong password and tampered ciphertext.
Three-stage live gate
TAO_LIVE_TRADING=1 in env, --keystore-path with the unlock password, StrategyMeta.live_trading=True. Plus a typed I UNDERSTAND confirmation in the CLI before the first extrinsic.
Cold-start reconciliation
On the first tick after every restart the runner reads the actual on-chain stake from get_stake_info_for_coldkey and rewrites its position book. No more "started fresh, overshot the cap by my entire current stake".
Slippage + chain verification
rate_tolerance + allow_partial on every proposal. After every successful broadcast, an optional re-read confirms the on-chain delta matches direction within tolerance — mismatches land as _verification_failed audit rows.
Adaptive ensemble
Run multiple strategies in parallel; weights come from recent realised P&L via inverse_loss_weights. Winners get more capital, losers throttle (with a floor for regime change). Per-base attribution in the audit ledger.
Dashboard with halt
Streamlit UI with always-visible runner-status pill, equity curves, per-strategy KPIs, suggested-weight bars, an in-page backtest harness, and a one-click halt button that touches the kill-switch file.
What it actually does, every minute.
Simulated tick: live ``tao_in`` flow on the left, the equity curve the runner builds on the right. Real screenshots will replace this once you've run the bot for a week.
There is a GUI.
This is what it looks like.
Streamlit-based, dark-themed, premium-polished. Below is a faithful HTML reproduction of the actual tao-swarm dashboard Trading panel — same layout, same colours, same typography. Real screenshots from the operator's first run will follow here.
Trading
Live + paper trading status. Paper trades default; live execution requires explicit env, keystore, and per-strategy opt-in.
| strategy | P&L | win-rate | weight |
|---|---|---|---|
| momentum_rotation | +12.45 | 61.5% | 62.4% |
| mean_reversion | −2.10 | 38.4% | 25.6% |
| custom_test | +0.50 | — | 12.0% |
Bilder vom realen Streamlit folgen, sobald der Operator die Demo-Aufzeichnungen ergänzt. Bis dahin: tao-swarm dashboard startet die echte Version lokal.
It actually works.
Verified end-to-end against real Mainnet, Subscan, and CoinGecko.
$ tao-swarm --live subnets --limit 5
=== Bittensor Subnets ===
MODE: live (network=finney)
ID Name Sym TAO_in Volume
---- ----------- --- ---------- ------------
0 root τ 5,265,535 49,109,601
1 Apex α 28,580 776,968
4 Targon δ 133,782 2,011,066
8 Vanta θ 85,632 1,307,691
64 Chutes χ 201,143 ...
Total: 129 subnets
$ tao-swarm trade learning-report --window-days 14
Learning report — 14 day window
strategy closes pnl_tao win_rate sharpe
----------------- ------ ------- -------- ------
momentum_rotation 15 +37.556 100.0% +2.674
mean_reversion 15 -13.677 26.7% -0.589
Suggested ensemble weights:
momentum_rotation ████████████████████████ 95.5%
mean_reversion █ 4.5%
Proprietary.
All rights reserved.
Source visible on GitHub for evaluation only. Any actual use requires a separate, written licence agreement with the Licensor.
Allowed without a licence
- Reading the source for evaluation
- Assessing the software before requesting a licence
- Personal curiosity
Requires a written licence
- Installing, compiling, or executing the software
- Modifying, forking, or redistributing
- Embedding in another project, product, or service
- Hosting, for yourself or for third parties
- Any commercial or production use
- Use of the trademarks, logo, or brand assets
Read the full licence · Read the disclaimer · Request a licence
Honest plan. No tokens. No managed funds.
We do not have a token and will not launch one. We do not manage anyone's funds. Auto-trading is a single-user feature running on your own machine with your own hot key. Long-term sustainability comes from commercial licensing for hosting / multi-user / managed-fund use cases — not from speculation.
Closed beta · proprietary
Source visible on GitHub for evaluation. Active development under a closed proprietary licence. Use of any kind requires a separate written licence from the Licensor.
Auto-trading pipeline + adaptive learning
Full AUTO_TRADING path is shipped: encrypted keystore, three-stage live opt-in, cold-start chain reconciliation, slippage controls, post-broadcast verification, dashboard panel with halt button, strategy plug-in framework, two built-in strategies (momentum + mean-reversion), and an adaptive ensemble that re-weights toward winners. 911 tests, paper-default. The "next 3–6 months" target landed early.
Commercial licence tiers
Per-team and per-organisation licences with transparent pricing. A licence unlocks the right to install, run, and integrate the software for the agreed scope. Source remains proprietary.
Managed hosted version
If — and only if — there's clear demand for a run-it-for-me option. Same code, same gate, same architecture. Operated as a service under a separate licence.
Things this project will not do
- Issue a token, NFT, points system, or any other speculative instrument.
- Manage other people's funds, run a custodial service, or pool capital.
- Promise market returns, "alpha", or guaranteed yield. Auto-trading is opt-in and can lose all of the funds in the configured hot key.
- Phone home with telemetry, analytics, or usage reporting.
- Ask for, store, log, or transmit seed phrases or coldkey private keys.
- Use your data for training, advertising, or third-party sales.