Skip to main content

Moteur de jeu narratif piloté par LLM (headless) : univers persistants SQLite, arbitrage LLM, event-sourcing/rewind, mémoire vectorielle.

Project description

axiomai-engine

Moteur de jeu narratif piloté par LLM, headless (aucune interface graphique requise).

  • Univers persistants en SQLite, versionnables en arborescence texte (« Universe-as-Code »)
  • Narration arbitrée par LLM (Gemini, Ollama, ou tout endpoint OpenAI-compatible)
  • Event-sourcing : chaque tour est rejouable, le temps de jeu est rembobinable (rewind)
  • Mémoire vectorielle long-terme (ChromaDB + sentence-transformers)
  • Modes de jeu : Normal, Hardcore (mort permanente), Companion (héros co-piloté par IA)
  • CLI complet : axiom play, axiom compile, axiom populate, axiom save-*

Installation

pip install axiomai-engine

Démarrage rapide

import axiom
axiom.help()   # guide intégré : 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("MonUnivers.db", "Alice", "Normal")

s = axiom.Session("MonUnivers.db", save_id, llm=llm)
result = s.take_turn("J'ouvre la porte de la taverne.")
print(result.narrative_text)

Licence

AGPL-3.0-or-later — voir LICENSE.

Ce package est développé dans le mono-repo Axiom AI, dont l'application graphique sert de vitrine au moteur. Version 0.1.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axiomai_engine-0.1.0.tar.gz (182.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axiomai_engine-0.1.0-py3-none-any.whl (202.9 kB view details)

Uploaded Python 3

File details

Details for the file axiomai_engine-0.1.0.tar.gz.

File metadata

  • Download URL: axiomai_engine-0.1.0.tar.gz
  • Upload date:
  • Size: 182.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for axiomai_engine-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4b3c56ff71790109e0c6944b738103ad7650d43b75e13d676b32aa819e30275f
MD5 be8ec0a14974c0405961f7894fdc50d3
BLAKE2b-256 50b29825c478996439aa2b9a3e52d178ada98927956f81929eff9b318af46838

See more details on using hashes here.

File details

Details for the file axiomai_engine-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: axiomai_engine-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 202.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for axiomai_engine-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0d18e8f8f28da3b869bb81376f96cbbb9861943c6f86cc7b85417caf2b5cab2
MD5 9a9e6ac1ad4430feef5b28e9bd5a54b1
BLAKE2b-256 44b1435c9ecf37c0099475aaf755cc22987e2e6e38f8f0618fe614520d7a29af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page