Retro engineering: 2002 Nokia 6310i chats with AI over GPRS/WAP, built with Claude Code
Buffsteve24 · reddit · 2026-11-30
A vintage phone collector used Claude Code to make a 2002 Nokia 6310i chat with AI over GPRS/WAP, with answers appearing on the tiny mono screen.
Architecture: 6310i (WML 1.1, WSP over UDP) → free Oracle Cloud VM relay (Tailscale through Starlink CGNAT) → Raspberry Pi 2 running Kannel WAP gateway → nginx + Flask serving WML → headless Google Antigravity CLI (Gemini, web search only).
Gotchas and fixes:
- Old phones won't wait 30-60s: background job + WML <timer> card reloading every 5s — polling, 2002 style.
- Large decks choke the phone: answers split into 650-char cards with "Next page" links.
- Plain ASCII only; curly quotes/dashes render as boxes.
- $ is a variable in WML, so "$5" must be sent as $$5.
- Kannel follows 302 redirects itself and repeats POSTs; answer page only accepted GET.
- Can't tap a link: Pi sends a WAP Push via an old Android SMS gateway into the Service inbox.
- Bonus: EE texting failures caused by VoLTE/IMS on a budget SIM; fixed via ADB.
Safety: AI can't run commands or touch files; secret link, POST-only, no logging. Fun retro engineering with a full gotcha log.
More from coding & agent
- Dev ditches the laptop: running coding agents entirely from a phone — carlosdponx · 2026-11-30
- Experienced engineers stand to benefit the most from AI coding agents — bendee983 · 2026-11-30
- Dev builds Zapli, an offline mini-app Android runtime, with Claude Code in 6 weeks — Reditoxaz · 2026-11-30
- Dev asks Google for official self-hosted CLI path for AI Pro/Ultra subscribers — nijfranck · 2026-11-30
- Dev ships 3 zero-API-key MCP tools for Grants.gov, SEC EDGAR, Treasury auctions — Tomahawk619 · 2026-11-30
- Open-source R3 Code: one Mac window to run Claude, Codex and Cursor agents — jasonkneen · 2026-11-30