Skip to main content

simula

A local-first engine for generating and inhabiting worlds and personas from your own materials.

One engine, two blueprint types (world | persona), one unified entity model (Simulacrum). Local-first (llama.cpp + GBNF for hard-constrained output), but always able to run against any OpenAI-compatible endpoint.

Status: early alpha (Phase 0). The core is still a skeleton — see PLAN.md for the implementation phases and PRINCIPLES.md for the empirically derived lessons that drive the design.

Install

pip install simula

Quick start

simula --version
simula init          # create a workspace (materials/ blueprints/ saves/ evals/)
simula where         # print the workspace path

The workspace lives at a platform-appropriate path (via platformdirs), falling back to ~/simula-workspace. No corpus is ever shipped — you bring your own materials.

Configuration

Copy simula.toml.example into your workspace as simula.toml and edit the backend (llama.cpp or OpenAI-compatible), embeddings, RAG, and experience mode (world | persona).

Design in brief

  • Constrained output is the reliability backbone: GBNF on llama.cpp's /completion, json_schema on OpenAI-compatible backends, with a parse-and-repair fallback.
  • Minimal prompt: a commit directive + the blueprint spine + pointers into your materials (RAG), not a large ontology.
  • Local-first and private: embeddings and generation can stay on your own machine.
  • The engine holds the truth: the LLM only proposes structured changes; the engine validates and applies them against authoritative state.

Documentation

Full docs: https://pedjaurosevic.github.io/simula/

License

MIT — see LICENSE.

Release files for simula 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simula 0.1.1
File Size Uploaded
simula-0.1.1.tar.gz 19.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simula 0.1.1
File Interpreter ABI Platform
simula-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.3 kB

Release files / simula-0.1.1.tar.gz

Download URL simula-0.1.1.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c43fead4d88c44aff08664207e8e02936d49250dee11fc5d2aa49b7634d42a84
BLAKE2b-256 checksum
How to use checksums
43ebac4ae312ac6bce9428a90b1e2d1edd832f69d3a67a339cc742ee4faa209d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.

Transparency log

Release files / simula-0.1.1-py3-none-any.whl

Download URL simula-0.1.1-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b59cdf2ecd3791d0b269b010223c870943dbf5a22ce6fc52b2e196acbd19159a
BLAKE2b-256 checksum
How to use checksums
a1aee74f237dd69817125affa79f67f141681724134e07e71cdb87ce8a061d71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page