████████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗ ██╗ ██╗ ╚══██╔══╝ ██╔═══██╗ ██║ ██╔╝ ██║ ████╗ ████║ ██║ ██║ ██║ ██║ ██║ █████╔╝ ██║ ██╔████╔██║ ██║ ██║ ██║ ██║ ██║ ██╔═██╗ ██║ ██║╚██╔╝██║ ██║ ██║ ██║ ╚██████╔╝ ██║ ██╗ ██║ ██║ ╚═╝ ██║ ╚██████╔╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝
TOKIMU mascot
Stake your AI. Mine the future.
Self-hosted CLI that turns your idle AI API credits into a 24/7 prediction market engine.
Open source. Local keys. Verifiable alpha.
terminal
$ git clone https://github.com/TOKIMUONE/TOKIMU.git
$ cd tokimu
$ cp .env.example .env # add your API keys
$ docker compose up -d
//Loading Polymarket data...···
~/tokimu $ cat README.md
Prediction markets are now a $21B/month ecosystem with 840K+ active wallets — and over 30% of trades are already executed by AI agents. But running these agents costs serious compute. Meanwhile, millions of developers and teams are sitting on unused AI API credits that expire or go to waste every month.

TOKIMU bridges this gap. It's a self-hosted engine that takes your idle AI tokens — from OpenAI, Anthropic, local GPUs, whatever you've got — and puts them to work. Research agents consume your tokens to analyze news, on-chain data, and sentiment around the clock. Strategy agents convert those insights into positions across Polymarket, Kalshi, and other prediction platforms.

You provide the fuel. TOKIMU provides the alpha. Your keys stay local. Everything runs on your machine. No custody, no trust, no middleman — just idle compute in, yield out.
tokimu_pipeline.py utf-8
1# Step 1: You deposit idle AI tokens
2vault.deposit("openai", api_key="sk-...", limit=2_000_000)
3vault.deposit("anthropic", api_key="sk-...")
4
5# Step 2: Smart router picks the cheapest model per task
6router = TokenRouter(strategy="cost_optimal")
7
8# Step 3: Agents research + trade on prediction markets
9research = ResearchAgent(sources=["news", "onchain", "social"])
10strategy = StrategyAgent(markets=["polymarket", "kalshi"])
11
12# Step 4: Yield flows back to you
13engine.run() # tokimu goes brrrr
Token vault

Encrypted local storage for API keys. Keys never leave your machine. Supports OpenAI, Anthropic, Google, local Ollama/vLLM endpoints. Tracks usage, enforces limits.

|
v
Smart router

Routes each task to the cheapest capable model. News summarization on GPT-4o-mini. Critical probability estimates on Claude Sonnet. Bulk scraping on local Llama. Your credits stretch 3-5x further.

|
v
Research agent

24/7 crawl of news feeds, on-chain data, social sentiment, and oracle feeds. Builds event context for every active market.

Strategy agent

Converts research into probability estimates. Sizes positions. Executes market-making and directional strategies. Manages risk.

|
v
Execution engine

Trades across Polymarket, Kalshi, Predict.fun. Captures cross-platform arbitrage. All transactions on-chain, fully auditable.

.env
# === AI Token Vault ===
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxx
ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxxxxxx
LOCAL_MODEL_URL=http://localhost:11434
MONTHLY_TOKEN_LIMIT=5000000
# === Prediction Markets ===
POLYMARKET_WALLET=0x7a3f...e92d
KALSHI_API_KEY=kal_xxxxxxxx
# === Strategy ===
STRATEGY=market_maker_v2
MAX_POSITION_SIZE=500
RISK_LEVEL=moderate

Why idle AI tokens are the most underpriced asset in crypto

Millions of developers hold unused API credits that expire monthly. We modeled what happens when that compute is redirected into prediction market making — the results surprised us.

Read article ->

AI agents are eating prediction markets — here's the on-chain proof

We analyzed 4.2M trades across Polymarket and Kalshi. Over 30% now come from automated agents. This post breaks down their strategies, win rates, and what it means for human traders.

Read article ->

From zero to yield: deploying TOKIMU in under 10 minutes

A step-by-step walkthrough of setting up your token vault, configuring the smart router, choosing a strategy, and watching your first prediction market trades execute.

Read article ->

· 8 min read
YOUR AI IS SLEEPING. WAKE IT UP.

Four commands. Five minutes. Your idle tokens start earning while you touch grass.

$ git clone tokimu && docker compose up