Skip to main content

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

Project description

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.

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

simula-0.1.1.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

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

simula-0.1.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file simula-0.1.1.tar.gz.

File metadata

  • Download URL: simula-0.1.1.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for simula-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c43fead4d88c44aff08664207e8e02936d49250dee11fc5d2aa49b7634d42a84
MD5 f84822f1e052605fd97768b27356a70d
BLAKE2b-256 43ebac4ae312ac6bce9428a90b1e2d1edd832f69d3a67a339cc742ee4faa209d

See more details on using hashes here.

Provenance

The following attestation bundles were made for simula-0.1.1.tar.gz:

Publisher: publish.yml on pedjaurosevic/simula

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file simula-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: simula-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for simula-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b59cdf2ecd3791d0b269b010223c870943dbf5a22ce6fc52b2e196acbd19159a
MD5 340f1afeaea7d18a969107f4aec330fb
BLAKE2b-256 a1aee74f237dd69817125affa79f67f141681724134e07e71cdb87ce8a061d71

See more details on using hashes here.

Provenance

The following attestation bundles were made for simula-0.1.1-py3-none-any.whl:

Publisher: publish.yml on pedjaurosevic/simula

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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