axiomai-engine
LLM-driven narrative game engine, headless (no GUI required).
- Persistent SQLite universes, versionable as a plain-text tree ("Universe-as-Code")
- LLM-arbitrated narration (Gemini, Ollama, or any OpenAI-compatible endpoint)
- Event sourcing: every turn is replayable, in-game time can be rewound (
rewind) - Long-term vector memory (ChromaDB + sentence-transformers)
- Game modes: Normal, Hardcore (permadeath), Companion (AI co-piloted hero)
- Full CLI:
axiom play,axiom compile,axiom populate,axiom save-*…
Installation
pip install axiomai-engine
Quick start
import axiom
axiom.help() # built-in guide: API, modules, CLI
from axiom.config import load_config, build_llm_from_config
from axiom.db_helpers import create_new_save
llm = build_llm_from_config(load_config())
save_id = create_new_save("MyUniverse.db", "Alice", "Normal")
s = axiom.Session("MyUniverse.db", save_id, llm=llm)
result = s.take_turn("I push open the tavern door.")
print(result.narrative_text)
Documentation
Guides (Universe-as-Code, CLI, saves, populate, backends, images) and full API reference, in English and French: https://frosoore.github.io/AxiomAI/en/
Project
Source code, GUI application (the engine's showcase) and issue tracker: https://github.com/Frosoore/AxiomAI
License
AGPL-3.0-or-later — see LICENSE. Attribution is required when redistributing
(AGPLv3 §7(b) additional term) — see NOTICE.
This package is developed in the Axiom AI mono-repo, whose GUI application showcases the engine. Version 0.2.0.
Metadata
Release files for axiomai-engine 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| axiomai_engine-0.2.0.tar.gz | 206.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| axiomai_engine-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 438.4 kB
Release files / axiomai_engine-0.2.0.tar.gz
| Download URL | axiomai_engine-0.2.0.tar.gz |
|---|---|
| Size | 206.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
741ba43772a01ebee0863c0c87c9ddc953647144577bb6d0aa9bbd268a491841
|
|
BLAKE2b-256 checksum How to use checksums |
e47e1f2b4e12c04ba1eae9c16598be6e89e62866aabd8e220430882bb5b15957
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / axiomai_engine-0.2.0-py3-none-any.whl
| Download URL | axiomai_engine-0.2.0-py3-none-any.whl |
|---|---|
| Size | 231.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bffd745b335b109850ffc1ca3b79e3bc11136313c8233b8680c7faf2e5d2f445
|
|
BLAKE2b-256 checksum How to use checksums |
fef6a6dca1977a0bc9967c474bec0c79a954853a7087af283d2ae61e328c4258
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for axiomai-engine 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.