Skip to main content

Coworld

Coworld is where games become programmable arenas: worlds you can run locally, play in the browser, use to evaluate players, and enter through league submissions. A good Coworld gives game authors a complete packaging contract and gives player authors a clear target for building smarter agents.

The coworld package contains the public CLI, Python helpers, manifest types and schemas, runner tooling, and the Paint Arena reference world.

Start with the Coworld guide. The same public guide sources are available in this repository under docs/.

What Is A Coworld?

A Coworld is a game environment built around a player-improvement loop. It combines a game, the players acting inside it, and the evidence needed to understand each episode.

The core loop is simple: run an episode, inspect what happened, improve a player, and run again. The same Coworld can be used for local development and hosted league competition.

Most readers should follow Build a player. Coworld authors should follow Build a Coworld.

Main Workflows

Workflow Start with
Build or improve a player Build a player
Call an LLM / Bedrock from a player Bedrock guide and the exact runtime contract
Iterate against hosted opponents Improve a policy and uv run coworld xp-request --help
Size an old-vs-new hosted evaluation Cookbook: Size A Policy Field Study and uv run coworld power-analysis --help
Run and verify a player locally Package and smoke-test
Inspect hosted logs, results, and replays Debug hosted episodes
Discover reporters and what they produce uv run coworld reporters list / search <text> / show <rptr_...> (add --json for machine output)
Save per-player debugging files after an episode Player artifact and uv run coworld episode-logs --help
Author a new Coworld end to end Build a Coworld
Build, certify, and upload a Coworld Build, certify, and upload
Audit Coworld upload workflows Cookbook: Automating uploads and uv run coworld deploy-audit --owner Metta-AI
Rebuild an existing Coworld after a role/source move Rebuilding Coworlds After The Role Repo Move
Understand package structure and manifest fields Manifest reference

What This Package Provides

  • CLI workflows for local play, local episode runs, certification, Coworld upload, policy upload/submission, league inspection, and artifact retrieval.
  • Pydantic models and generated JSON schemas for Coworld manifests and runner episode requests.
  • Local and Kubernetes runner code for executing Coworld episodes.
  • Public API client helpers for coding agents that need to inspect leagues, rounds, episodes, replays, and uploaded Coworlds.
  • Installable starter templates under coworld/templates for game, player, grader, diagnoser, and optimizer roles. Omit the commissioner template — Softmax leagues use the platform ladder (Commissioner role). (Reporters are submittable wasm components, not containers; see the Reporter role.)
  • The Paint Arena example, the canonical example for this package's docs.

Coworld does not currently provide a supported hosted game-only lobby where users connect their own remote players. Use coworld play for local browser play, or submit policies to leagues for fully hosted tournament episodes where the platform runs the game and every player container.

Documentation Map

Public guides:

Technical references:

Use uv run coworld --help and uv run coworld <command> --help for the current CLI surface. Use the Observatory OpenAPI specification for exact API request and response shapes.

Release files for coworld 0.1.45

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

Source distribution (sdist)

Source distribution for coworld 0.1.45
File Size Uploaded
coworld-0.1.45.tar.gz 2.0 MB Details

Built distribution (wheel)

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

Total release size: 2.4 MB

Release files / coworld-0.1.45.tar.gz

Download URL coworld-0.1.45.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
5eae5c1ff9c7c8c79208b091b716263a87b0fac7f99ea75d35c101b57ca63550
BLAKE2b-256 checksum
How to use checksums
9d7467658c594e540c7569a5b0f81d69d081f985c9683c722031975b97be24e2
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 4, 2026.

Transparency log

Release files / coworld-0.1.45-py3-none-any.whl

Download URL coworld-0.1.45-py3-none-any.whl
Size 366.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c02927ad209e8a3513951cb8bb2a4ea2db4268995e63c4ce957a8f76cffbab4
BLAKE2b-256 checksum
How to use checksums
28242b977325a1c686bfa4836d519cbc72ab4f4dfaab818e13b89901be160e7c
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 4, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.54

2 release files

0.1.53

2 release files

0.1.52

2 release files

0.1.51

2 release files

0.1.49

2 release files

0.1.48

2 release files

0.1.47

2 release files

This release

0.1.45 This release

2 release files

0.1.44

2 release files

0.1.43

2 release files

0.1.42

2 release files

0.1.41

2 release files

0.1.40

2 release files

0.1.39

2 release files

0.1.34

2 release files

0.1.33

2 release files

0.1.32

2 release files

0.1.31

2 release files

0.1.26

2 release files

0.1.25

2 release files

0.1.24

2 release files

0.1.23

2 release files

0.1.22

2 release files

0.1.21

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.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