Skip to main content
Pre-release

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

Cosmos Platform

License Release Python

A Semantic Operating Environment for Interchangeable Intelligence.

"Use whatever agent or model you want. Cosmos gives it a World."

Install once, works everywhere: no feature needs per-project setup.

Cosmos is not another coding agent. It is the sovereign semantic operating environment that hosts durable Worlds that capable models can enter, understand, act inside, improve, and leave behind for another model.

The model may disappear. Cosmos persists.


⚡ Quickstart

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/cosmos-semantic/cosmos/main/install.sh | sh

Windows (PowerShell):

irm https://raw.githubusercontent.com/cosmos-semantic/cosmos/main/install.ps1 | iex

The installer installs from the main branch of this repository and only reports success after the installed cosmos command has run. If it prints an error, nothing was installed. Set COSMOS_PYTHON to choose a specific interpreter (for example C:\Python312\python.exe).

Option B: From PyPI (Developer Preview)

pip install --pre cosmos-platform

1.6.0.dev1 is a Developer Preview pre-release; use --pre so pip selects it.

Option C: From a clone

git clone https://github.com/cosmos-semantic/cosmos.git
cd Cosmos

Then run sh install.sh (macOS / Linux) or .\install.ps1 (Windows PowerShell) from inside the clone. This installs your checkout in editable mode.

Attach to Any Project

# 1. Navigate to your repository
cd /path/to/my-project

# 2. Give your agent a World
cosmos init .

# 3. Launch Cosmos Studio
cosmos open .

See the 2-Minute Quickstart Guide for integrating with Cursor, Claude Code, Cline, and Codex.


The Tripartite Attribution Doctrine

Cosmos enforces an explicit separation of roles:

  1. Environment (Cosmos): Sovereign semantic operating environment providing durable memory, ground truth, and capability envelopes.
  2. Harness (IDE / CLI Shell): Client interface (Cursor, Claude Code, Cline, Codex CLI) executing processes and managing tool I/O.
  3. Model (Cognitive Runtime): Ephemeral reasoning engine (Gemini, Claude, DeepSeek, local models) synthesizing language and logic.

Principle: Cosmos persists. The model reasons. The harness bridges.


Core equation

Intelligence = Model + Bound Context + Capabilities + Current Objective

Cosmos externalizes durable memory, semantic structure, task context, provenance, execution boundaries, artifacts, and learning so that intelligence does not depend on one model session retaining everything.

Repository purpose

This repository is both:

  1. the specification and implementation home for Cosmos; and
  2. the first environment on which Cosmos must prove its own design.

A new capable model should eventually be able to enter this repository cold, determine what Cosmos is, why it exists, what has been decided, what remains unresolved, what is currently being built, and continue correctly without relying on prior chat history.

Start here

Any new human or model working on Cosmos must begin with AGENTS.md.

The immutable original plan is preserved in docs/ORIGINAL-PLAN.md.

The live development status and approved post-roadmap version work are maintained in docs/ROADMAP.md.

The immutable Cosmos 1.5 baseline is defined in docs/versions/COSMOS-1.5.md. The closed harness-gateway platform workstream is docs/versions/COSMOS-1.6.md (Developer Preview); the active additive workstream is docs/versions/COSMOS-1.6.x-PRODUCTIZATION.md, with version and preservation policy in docs/VERSIONING.md.

The execution runtime operational entry point is runtime/README.md.

The read-only Cosmos 1.5 Observatory is documented in tools/observatory/README.md.

The practical first-project workflow is docs/OPERATOR-GUIDE.md.

The Cosmos 1.5 empirical operating program is docs/EMPIRICAL-TEST-PROGRAM.md.

The canonical Universe, Cosmos Prime, world-family, and individual World vocabulary is defined in docs/UNIVERSE-AND-WORLD-MODEL.md.

Future architectural discoveries that do not yet justify a version change are tracked in docs/ARCHITECTURE-CANDIDATES.md.

Current state

docs/ROADMAP.md is the canonical source for the current phase, status, completed work, and next approved action.

Follow the active phase or approved version workstream linked from the roadmap. Do not infer current project state from this README or from prior conversation history.

Metadata

Release files for cosmos-platform 1.6.0.dev1

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

Source distribution (sdist)

Source distribution for cosmos-platform 1.6.0.dev1
File Size Uploaded Provenance Actions
cosmos_platform-1.6.0.dev1.tar.gz 2.9 MB With provenance Details for cosmos_platform-1.6.0.dev1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cosmos-platform 1.6.0.dev1
File Interpreter ABI Platform Actions
cosmos_platform-1.6.0.dev1-py3-none-any.whl Python 3 none any Details for cosmos_platform-1.6.0.dev1-py3-none-any.whl

Total release size: 5.9 MB

Release files / cosmos_platform-1.6.0.dev1.tar.gz

Download URL cosmos_platform-1.6.0.dev1.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
62b28f6faddad133e0859376fea3d8c3c0458c3547b63e8f3ea96739d687d3e9
BLAKE2b-256 checksum
How to use checksums
4bcf07b41ceab236bcaa39619df995a6b8a0c13311660f3b5513a41eac664134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 3, 2026.

Transparency log

Release files / cosmos_platform-1.6.0.dev1-py3-none-any.whl

Download URL cosmos_platform-1.6.0.dev1-py3-none-any.whl
Size 3.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b687a2a462393f67652c92f7a685a38dbd916869e0194d033582859ffff77232
BLAKE2b-256 checksum
How to use checksums
69ea7a6cc7657f2bf9d9c1fa5045412d5b4c44c8525faad613559912400913b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 3, 2026.

Transparency log

Security for cosmos-platform 1.6.0.dev1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cosmos_platform-1.6.0.dev1.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 Dec 3, 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.

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