Library¶
High-level documentation for the code under src/laife/.
Each page mirrors one package and links to the source files for detail.
For cross-cutting explanations see the guides.
Packages¶
- entities - the world, players, buildings, terrain, utensils, actions, and the world channel.
- llm - the player brain, planner, replier, mission generator, and the mission model.
- prompts - the versioned Jinja templates that drive the LLM chains.
- web - the world served over HTTP: snapshot, event stream, pause controls.
- params - environment-aware settings, paths, and LLM service params.
- config - type aliases and project-level constants.
- meta - the structured logger.
- ui - the asynchronous console logger.
How the packages relate¶
The pure logic lives in entities, llm and config.
prompts holds the template text the llm chains load at runtime.
web and ui are presentation layers that observe the logic; web also drives the pause control and serves the world page.
params and config supply settings to all of them.
meta holds support utilities.
See the architecture guide for the runtime picture.