Show HN: Yuanzai World – LLM RPGs with branching world-lines (yuanzai.world)

31 points by yuanzaiworld ↗ HN
Hi HN, I'm Kai Wang, one of the creators of Yuanzai World.

We built a simulation engine (currently on iOS & Android) that allows the community to create and share text adventures populated by multiple LLM-based agents. Unlike standard chatbots, our focus is on community co-creation—users define the worldviews, and our agents (with persistent memory and social relationships) bring them to life.

The cool part:

We implemented a system we call "World-Line Divergence" (inspired by visual novels like Steins;Gate). Usually, AI RPGs feel random or infinite loop. We built a state machine that tracks "World Deviation." If players interact with NPCs in specific ways (e.g., convincing an artist to change their style), it triggers a graph switch, leading to a completely different generated ending, effectively breaking the original script.

Tech Stack:

- Backend: Python / Java with a custom AI orchestration framework (to handle agent concurrency).

- Models: Hybrid routing between Gemini, GPT, and DeepSeek (optimizing for cost/performance based on task).

- Vector DB: Milvus (for handling long-term agent memory).

We are currently live on App Store and Google Play. Since it's a mobile-first experience, the link leads to our landing page where you can see the demo flow.

Would love to hear your feedback on the "World-Line" concept: Does this state-machine approach solve the aimlessness of AI RPGs?

2 comments

[ 4.1 ms ] story [ 13.5 ms ] thread
Why not publish this worldwide? Unavailable in the Germany AppStore.
please make the translated text a little bigger. On a phone at that speed, it can be hard to read.

You need an optional login. Forcing me to login before I know who or what you are is a deal breaker. Especially if you come here looking for an opinion. My opinion is free. My PII is not as free.