Dungeon AI 是一款令人兴奋的开源项目,它让用户能够在本地运行基于大型语言模型(LLM)的交互式文字冒险游戏。这款工具的核心优势在于完全本地化运行,利用用户自己的AI模型来生成独一无二的故事叙事体验。无论你是想探索奇幻世界、进行角色扮演,还是创作属于自己的剧情驱动冒险,Dungeon AI 都提供了一种既有趣又引人入胜的方式,带你深入AI生成叙事的世界。
项目适合所有年龄段的用户,并可选配AllTalk文本转语音(TTS)旁白功能,显著提升沉浸式讲故事体验。开始使用前,你需要准备Python 3.10或更高版本,以及一些辅助工具,例如用于本地AI模型推理的Ollama,以及用于GPU加速的NVIDIA CUDA工具包。安装过程简单明了:克隆代码库、设置虚拟环境、安装必要依赖即可。
Dungeon AI 提供多种游戏模式:默认的冒险体验、幽默版本,以及带有高级职业和能力逻辑的严肃角色扮演模式。你可以根据心情轻松切换模式。游戏过程中的命令允许你切换模式、保存进度,甚至更换所使用的AI模型。该项目免费供个人和教育使用,商业用途需注明原作者。如果你对AI、讲故事感兴趣,或单纯想找点乐子,Dungeon AI 将是开启你个性化冒险的完美起点。

Dungeon AI is an exciting project that allows you to experience an interactive text adventure powered by AI. This tool runs locally and utilizes your own large language model (LLM) to generate unique storytelling experiences. Whether you’re looking to explore, role-play, or create your own story-driven adventure, Dungeon AI offers a fun and engaging way to dive into the world of AI-generated narratives.
The project is designed for users of all ages and includes optional AllTalk TTS narration support, enhancing the storytelling experience. To get started, you’ll need Python 3.10 or higher, along with some additional tools like Ollama for local AI model inference and the NVIDIA CUDA Toolkit for GPU acceleration. The installation process is straightforward, requiring you to clone the repository, set up a virtual environment, and install the necessary dependencies.
Dungeon AI features multiple gameplay modes: the default adventure experience, a humorous version, and a serious roleplay mode with advanced class and ability logic. You can easily switch between these modes to suit your mood. The commands available during gameplay allow you to toggle modes, save your progress, and even change the AI model being used.
This open-source project is free for personal and educational use, but if you plan to use it commercially, make sure to credit the original author. If you’re interested in AI, storytelling, or just want to have some fun, check out Dungeon AI and start your adventure today!






