Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

SimVX AI

SimVX's LLM layer: one client for any OpenAI-compatible /chat/completions endpoint, a record-and-replay cache for tests, and in-game loops that never stall a frame. Most users want simvx, which includes it.

It works with any OpenAI-compatible server, local (vLLM, llama.cpp, OpenWebUI) or hosted: bring your own endpoint and key.

Pre-alpha. SimVX publishes development releases only (0.0.0.devN) and is under active development; the API changes between builds. Once stable versions ship to PyPI, development builds continue on pypi.simvx.com.

Install

pip install --pre simvx        # the whole engine (recommended)
pip install --pre simvx-ai     # the LLM layer on simvx-core alone

Latest development build: add --extra-index-url https://pypi.simvx.com/.

Use

Bark runs a model call off the frame thread at most every period seconds; poll returns the last good line at once, every frame.

from simvx.ai import Bark, OpenAICompatibleClient

client = OpenAICompatibleClient.from_env()   # SIMVX_LLM_BASE_URL, SIMVX_LLM_API_KEY, SIMVX_LLM_MODEL
bark = Bark(client, persona="a weary night watchman", period=6.0)

def on_update(self, dt):
    self.line = bark.poll(dt, hp=self.hp)

Planner does the same for a JSON-schema decision; CachingClient replays recorded responses. AgentSession lets a model play a running game (observe, send input, watch signals, step), and NodeGenerator turns a one-line description into a validated Node subclass.

Documentation · Source · Licence: AGPL-3.0-or-later with Additional Terms, including the Game-Distribution Exception.

Metadata

Release files for SimVX-AI 0.0.0.dev3104

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

Source distribution (sdist)

Source distribution for SimVX-AI 0.0.0.dev3104
File Size Uploaded
simvx_ai-0.0.0.dev3104.tar.gz 73.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SimVX-AI 0.0.0.dev3104
File Interpreter ABI Platform
simvx_ai-0.0.0.dev3104-py3-none-any.whl Python 3 none any Details

Total release size: 155.8 kB

Release files / simvx_ai-0.0.0.dev3104.tar.gz

Download URL simvx_ai-0.0.0.dev3104.tar.gz
Size 73.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7e804f7a0878c4e6a8c07d795a2c15511dcfb193d187f00284c121f5e933aad5
BLAKE2b-256 checksum
How to use checksums
ef8b1a86e86e0f016c47a958289c144ff6c3831c5907a8097fe2bf42ecae4019
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / simvx_ai-0.0.0.dev3104-py3-none-any.whl

Download URL simvx_ai-0.0.0.dev3104-py3-none-any.whl
Size 82.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f1560771eaecb7d9eff426c8083d18876e2d41064771f9815cc4cd192b6f701
BLAKE2b-256 checksum
How to use checksums
c2662a45651fff8cc9582753f94d2b946b6e1d46d5d93f42fbbbcad2ef8251f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release
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