Infinite Craft is a free generative browser alchemy game created by Neal Agarwal (Neal.fun) for Web under a Proprietary Freeware model. Starting from Water, Fire, Wind, and Earth, it combines Meta Llama LLM inference on Together AI with permanent global recipe caching to synthesize millions of concepts and First Discoveries.
Technical Overview
Architecture and Production Workflow
Infinite Craft expands classic four-element alchemy puzzles (Water, Fire, Wind, and Earth) into an unbounded semantic graph. Built with a lightweight JavaScript web stack (web-js) on neal.fun for zero-install Web play (alongside companion mobile editions), its defining systems innovation is deterministic global memoization over live LLM inference.
Whenever a player drags two elements together on the canvas, the backend first queries a global key-value database for that canonical sorted pair:
- Cache Hit (Sub-50ms): If any player worldwide has ever combined those two concepts before, the server returns the stored result string and paired emoji immediately with zero GPU inference cost.
- Cache Miss (First Discovery): If the combination has never been synthesized globally, the server dispatches a tightly constrained few-shot prompt to open-weights Meta Llama language models hosted on Together AI high-throughput GPU clusters. The resulting concept and emoji are written permanently to the global cache, and the player earns a permanent First Discovery tag.
This hybrid architecture guarantees deterministic recipes across speedrunning communities while absorbing viral peaks of thousands of crafts per second without quadratic token inflation.
Pricing, Licensing, and Commercial Rights
Infinite Craft on neal.fun is 100% Free (Proprietary Freeware) on desktop and mobile web browsers with zero account registration, energy timers, or paywalls. Player element inventories and First Discovery badges persist directly inside browser localStorage, allowing community speedrunners and completionists to export and back up JSON save files locally. Companion native iOS and Android apps add optional ad removal for mobile convenience.
Strengths and Tradeoffs in Studio Pipelines
| Evaluation Axis | Technical Implementation | Gameplay and Production Impact |
|---|---|---|
| Inference Strategy | Together AI Llama endpoints behind permanent KV cache | Converts 95%+ of traffic into cheap database reads at viral scale |
| Emergent Meta | Global First Discovery check on uncached element pairs | Turns LLM latent-space exploration into competitive discovery hunting |
| State Persistence | Client-side browser localStorage JSON state | Zero server-side user account overhead, though clearing site data wipes saves |
- Strengths: Demonstrates the cleanest economic pattern in browser AI gaming: invoke an LLM once per novel state transition globally, then serve cached deterministic recipes forever.
- Tradeoffs: Uncached multi-step chains can drift into repetitive compound nouns or numeric sequences unless system prompt temperature and token-length caps remain tightly constrained.
AI Transparency & Steam Disclosure
Generative AIGenerative neural models synthesizing 3D meshes, textures, sprites, audio, or runtime NPC dialogue from prompts or references.
Steamworks guidance: Requires Steam Pre-Generated (or Live-Generated for runtime NPCs) AI disclosure.