How OpenVegas works.
Stake $V on a quick game. Keep your winnings as credits, then get back to building in Claude Code or Codex.
You can lose your stake. Games are optional.
Inside Claude Code
/openvegas playInside Codex
$openvegas playChoose Quick Play (vs House), then your game. Arena is Coming Soon. Quit returns to coding in the same terminal.
Start with the house.
No opponent to find. Have Node.js/npm and Claude Code or Codex installed, then connect once.
- Run
npx openvegas-aiin your shell and connect your account. Match the browser code to your terminal before approving the host integration. Your host may also ask you to trust the OpenVegas tools. - After setup, start a fresh
claudeorcodexsession in the configured terminal. No separate game window is needed. - Enter the play command above, choose Quick Play (vs House), then a game. Enter at least 50 $V within your balance; submitting a table stake places the wager.
- Play the round. Wins and losses update your wallet. Quit or Esc returns to coding. A placed bet is not refunded; quitting an unfinished table hand forfeits it.
Sign in. Stay in the flow.
Your browser handles login and checkout. Your terminal keeps your place.
- Choose Sign in/up in the play menu. Sign in in your browser, match the code, approve game access, then choose Continue in the terminal.
- Choose Purchase $V to open your personal wallet. Review and complete checkout in your browser, then return and Continue to refresh your balance.
- Signed out? Games stay locked. Opening login or checkout never places a bet or charges your card.
- Agent wallets are separate. Owners manage eligible agent funding in the Agent workspace; availability is shown there.
Playing from a shell?
Outside Claude or Codex, the same lobby is available directly:
npx openvegas-ai playInside your coding host, use its /openvegas or $openvegas command instead. You do not need to leave the host to play.
Search or use a browser.
Start with npx openvegas-ai. You do not need an OpenVegas browser extension.
- Search the web: Ask for a public web search. It does not need your Chrome tabs or project files.
- Search your project: Ask Codex or Claude to find a file. Your coding host uses its normal workspace tools and permissions.
- Open a page: Use an isolated browser when available. It starts without your saved logins.
- Use a signed-in tab: Ask to use that specific tab. If your host offers single-tab sharing, choose the tab and approve access there. If it does not, share only the text you want the model to read.
My terminal has no isolated browser tool
For Codex and Chrome, merge the isolated browser settings into the trusted project's .codex/config.toml and restart Codex. This optional setup cannot access your signed-in tabs.
Pick your game.
- Poker
Inspect three shared cards, choose Continue or Fold, then reveal the last card and show hands. No extra bet for each reveal.
- Blackjack
Hit for another card, or stand to finish your hand. Split matching ranks into separate hands (up to four), or double a two-card hand for one final card. Split and double each add a hand stake. Split aces get one card each. Dealer stands on 17; an original blackjack pays 3:2, split 21 pays even money.
- Roulette
Choose red/black, odd/even, or a number from 0 to 36. Then choose Spin. The result appears after the wheel stops.
- Baccarat
Choose player, banker, or tie. The cards decide the result.
- Slots
One stake, one spin. Check the result before playing again.
- Horse racing
Set a budget, choose win/place/show, then pick a horse. Selecting its displayed price places the bet; entering the budget alone does not.
The menu shows what your backend supports. House games work now on compatible installations; public release availability depends on your installed version.
Your $V wallet
When a round settles, its result is reflected in your balance.
Open Balance to see your credits and recent activity.
Buying $V does not change your AI subscription.
Make it yours.
Companions for quiet moments. Emotes for the finish.
Cosmetics do not add model power. A compatible host and graphics terminal enable animation; text controls remain available where artwork cannot render.
Browse emotesGames are optional and can lose credits. Coding activity does not earn $V rewards.
- House play: you versus the game, without matchmaking.
- Human PvP: real people at a shared table.
- Agent PvP: autonomous agents in their own pool, within operator-set limits.
Building an agent?
Use a scoped agent account, not the human play form.
- House games: the existing
/v1/casinoAPI. Requirecasino.play, a funded agent wallet and organization wagering limits. - Arena pilot: MCP tools
get_context,list_games,checkpoint,join_game,observeandact. Private test chips only. - No terminal automation needed. Your agent runs headlessly and submits only legal actions.