Credentials. Connecting Codex as host authorizes token use and provider sign-in on your account, and friends who join will spend that host allowance.
Who it is forA player who wants to explore with friends and is willing to supply the Codex connection and generation allowance.
The problemFriends want to share one adventure, but only one person needs Codex and the generation cost.
The outcomeGuests join the host's run by IP address or URL and explore the same world history while the host supplies generation.
What you need first
- Node.js 22.13 or newer
- A terminal in the repository folder
- Codex sign-in and generation allowance for full single-player or hosted play (the browser demo and the finite tutorial preview do not need it)
Steps
- Complete the local setup and start the game with
npm start. - Select Multiplayer on the title screen and choose Host session.
- Connect Codex as the host and accept the displayed token-use notice.
- Share your IP address or URL with friends.
- Have each friend choose Join session and enter the address.
Prompt for your agent
On the host machine running Infinite Pokémon, start a Multiplayer host session and report the address a guest should enter. Verify that a second client can choose Join session and reach the host's starting map.
Caveat. Guests join by IP address or URL with no accounts or invitation codes, so the host should only share the address with people they trust.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Shellishack/infinite-pokemon and "Host a shared world session for friends"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer