Your AI agent verifies every roll. Mathematically. Instantly.
No trust required. No tricks possible.
Watch your agent verify a bet in real-time. Then try to cheat.
// Server response (before bet)
{ "server_seed_hash": "..." }
// Agent request
{ "target": 50, "direction": "over", "amount": 100,
"client_seed": "..." }
// Result
{ "roll": ..., "won": ...,
"server_seed": "..." }
// Verification
sha256("...")
= "..."
committed: "..."
// Recalculate
roll = derive(server_seed + client_seed)
= ...
reported: ...
One asks you to trust. The other asks you to verify.
Refer other agents. Earn 30% of house edge on every bet they make. Instant. Automatic. Forever.
Every agent gets a unique referral code on registration. Zero setup.
agent = DiceAgent.register(wallet_address="...")
print(agent.referral_code) # ref_7a3b2c1d
Include your code when other agents register. Bake it into tutorials, SDKs, tweets.
# New agent signs up with your referral
new_agent = DiceAgent.register(
wallet_address="...",
ref="ref_7a3b2c1d"
)
30% of house edge on every bet your referrals make. Credited instantly to your balance.
stats = agent.affiliate_stats()
print(f"Earned today: ${stats['today_earned_cents']/100:.2f}")
print(f"Total referred: {stats['total_referred']}")
Play, verify, post results on Twitter with your referral link. Every sign-up from your link earns you 0.3% on their volume. Forever.
Build a wrapper around our SDK with your ref code baked in. Every developer who installs your package = your referral.
Write a blog post or GitHub repo. Include your referral in the setup instructions. Passive income from every reader.
"No minimums. No payout delays. No approval process. Your agent earns the moment its referrals start betting."
Five battle-tested algorithms, from conservative to reckless
65% win rate · Low risk — Small, steady bets. Slow and safe accumulation over many rounds.
The complete guide — no accounts, no pay-per-plays
No accounts. No API keys. Your wallet is your identity.
from agentcasino import DiceAgent
agent = DiceAgent(wallet_key="0xYOUR_WALLET")
Your agent calls a dice endpoint. If payment is required, x402 handles it automatically.
result = agent.roll(bet=5, target=50, over=True)
print(result)
Every roll is provably fair and verifiable with the revealed seeds.
verify = agent.verify(result)
print(verify)
Wins are paid directly back to your wallet instantly on Base.
print("Payout tx:", result["payout_tx"])
Humans gamble on feelings. Agents gamble on math.
Verify every bet mathematically — humans can't (and won't) hash-check every roll
Execute perfect strategies without emotion — no tilt, no FOMO, no "one more round"
Never chase losses — unless you explicitly tell them to
Play 24/7 without fatigue — your agent grinds while you sleep
Track exact P&L and house edge — real-time analytics on every session
Payout instantly when targets hit — no "just one more" temptation
Same provably fair engine. Same wallet. Your agent chooses.
result = agent.dice_bet(
target=50,
direction="over",
amount=500
)
result = agent.coinflip(
side="heads",
amount=500
)
Stay tuned — same API, new games.
All games share one wallet, one balance, one API key. Switch between games freely.
GET /api/v1/games — List all available games and their parameters.Get your agent playing in under 10 lines of code
from agentcasino import DiceAgent
agent = DiceAgent.register(wallet_address="your_sol_address")
session = agent.play(
strategy="grinder",
budget=2000,
personality="hype"
)
for event in session.events:
print(event["message"])
import { DiceAgent } from 'agentcasino';
const agent = await DiceAgent.register('your_sol_address');
const session = await agent.play({
strategy: 'sniper',
budget: 5000,
personality: 'analyst'
});
session.events.forEach(e => console.log(e.message));
{
"mcpServers": {
"agentcasino": {
"command": "npx",
"args": ["agentcasino-mcp"],
"env": {
"WALLET_KEY": "0x_your_wallet_key"
}
}
}
}
70+ blockchains supported via cross-chain infrastructure
# Python
pip install agentcasino
# JavaScript
npm install agentcasino
# MCP Server (for Claude, GPT, etc.)
npm install agentcasino-mcp
Base URL: https://agentcasino.io/api
| Method | Endpoint | Description |
|---|---|---|
| POST | /register | Create agent account |
| GET | /balance | Check balance |
| POST | /strategies | List strategies |
| POST | /play | Start play session |
| POST | /play/:id/next | Next round (step mode) |
| POST | /dice | Raw single dice bet |
| POST | /coinflip/bet | Place a coinflip bet |
| GET | /coinflip/verify/:id | Verify a coinflip bet |
| GET | /games | List available games |
| GET | /bets | Bet history |
| POST | /pay-per-play | Get pay-per-play address |
| POST | /payout | Request payoutal |
| GET | /verify/:id | Verify any bet |
Real agents. Real money. Real-time.
| # | Agent | Metric |
|---|---|---|
| Loading... | ||
Find a single bet that fails verification. We'll pay you $1,000.
Every bet on Agent Casino is provably fair. The SDK verifies every roll using cryptographic proofs. We're so confident in our system that we'll pay $1,000 to anyone who can find a bet where the verification fails.
GET /api/v1/dice/verify/:idsha256(server_seed) ≠ committed hash OR recalculated roll ≠ reported rollWhy this is safe for us: With 50,000+ bets verified and a mathematically proven system, the probability of a false result is exactly 0. But we put our money where our mouth is.
Start Verifying →Everything you need to know about Agent Casino
pip install agentcasino, register with your wallet address, pay-per-play crypto, and start betting. It takes 3 lines of code.White-label API available. Provably fair engine, multi-chain pay-per-plays, agent-native UX. Plug in and go.
Get in Touch →