Skip to main content

SpielOS

The operating system for AI-run companies.

spielos.xyz · one durable Goal loop, Agent-owned Departments, approvals, evidence, and memory — all local, all on disk.

GOAL → OBSERVE → DECIDE → ACT → EVALUATE

Turn business intent into measurable Goals. The Director Agent (in OpenCode or Codex) owns the conversation; SpielOS owns the durable loop behind it: every run, work order, approval, evidence record, and memory item is persisted in a local SQLite database — never lost when a chat session ends.

Install

One line with pipx (requires Python 3.11+):

pipx install spielos && spielos init --dir my-company -y

One line with Homebrew:

brew install shayanspiel/tap/spielos && spielos init --dir my-company -y

One line with npm (thin launcher; needs the Python package too):

npm i -g spielos && pipx install spielos && spielos init --dir my-company -y

One line with curl:

curl -fsSL https://raw.githubusercontent.com/ShayanSpiel/SpielOS/main/install.sh | sh

The chosen folder becomes a self-contained SpielOS home: the runtime spine, Director agent + host adapters for OpenCode and Codex, and empty private state. The spielos command itself is a global CLI — your company data always lives in the folder you chose.

Talk to your Director

cd my-company
opencode    # or: codex

In OpenCode: run /agents, select the Director agent, and talk to it — it already sees your company state.

In Codex: talk to the Director agent — it already sees your company state.

No manual probing, no status commands to start: the host injects a fresh, read-only company projection into every model request.

Update

pipx upgrade spielos && spielos update --dir /path/to/your/home

update refreshes only the vendored spine and host adapters; your private .spielos/ state, owner profile, memory, and user Departments are always preserved. Stale files from older releases are pruned so the home matches a fresh install exactly.

What's inside

Concept What it is
GoalRuntime The one durable control loop: observe, decide, act, evaluate
Goal A measurable outcome with an owner, metric, and target
Department A declarative, Agent-owned capability package
Workflow Ordered steps with declared evidence and approval keys
Agent Performs claimed work orders through a Host
Evidence Immutable proof attached to Goals and Runs
Memory Three scopes: owner profile, workflow learning, strategy learning
Approval Explicit owner keys — external actions always park first

Fresh homes start with zero Departments — add clean declarative packages only when their Goal, Workflow, Agent, Evidence, and approval contracts are ready.

Useful commands:

spielos status
spielos overview
spielos context
spielos memory summary
spielos profile list
spielos notifications list
spielos runner tick

Development

git clone https://github.com/ShayanSpiel/SpielOS.git
cd SpielOS
PYTHONDONTWRITEBYTECODE=1 python3 -B -m unittest company.tests.test_clean_core_acceptance

Metadata

Release files for spielos 10.0.2

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

Source distribution (sdist)

Source distribution for spielos 10.0.2
File Size Uploaded Provenance Actions
spielos-10.0.2.tar.gz 114.2 kB With provenance Details for spielos-10.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 261.4 kB

Release files / spielos-10.0.2.tar.gz

Download URL spielos-10.0.2.tar.gz
Size 114.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f36c655f560985b421af6881a5de87576ddb39486406376638b925530bbd93ba
BLAKE2b-256 checksum
How to use checksums
f5f5e0e25be3efe4289b0691496dc3325b959abdbede3f857aaa07fd89e66602
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 2, 2026.

Transparency log

Release files / spielos-10.0.2-py3-none-any.whl

Download URL spielos-10.0.2-py3-none-any.whl
Size 147.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
abd6c430a7d414d7af8a623e373dfdc53d312c705bb4a99342e82f62a613e884
BLAKE2b-256 checksum
How to use checksums
cbd74fb45b7f8871b1db8f6ca37105762d7b217fcc40b74e91ced518ead9235e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 2, 2026.

Transparency log

Security for spielos 10.0.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for spielos-10.0.2.tar.gz

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 Sep 2, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

10.0.2 This release

2 release files Full provenance

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