Metadata-Version: 2.4
Name: cosmos-platform
Version: 1.6.0.dev1
Summary: Semantic Operating Environment for Interchangeable Intelligence
Author: Cosmos Platform Contributors
License: Apache-2.0
Project-URL: Homepage, https://github.com/cosmos-semantic/cosmos
Project-URL: Repository, https://github.com/cosmos-semantic/cosmos
Project-URL: Issues, https://github.com/cosmos-semantic/cosmos/issues
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: jsonschema>=4.0.0
Provides-Extra: desktop
Requires-Dist: pywebview>=4.0.0; extra == "desktop"
Provides-Extra: all
Requires-Dist: pywebview>=4.0.0; extra == "all"
Requires-Dist: cryptography>=41.0.0; extra == "all"
Requires-Dist: watchdog>=3.0.0; extra == "all"
Dynamic: license-file

# Cosmos Platform

[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
[![Release](https://img.shields.io/badge/Release-Developer_Preview-orange.svg)](docs/VERSIONING.md)
[![Python](https://img.shields.io/badge/Python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue.svg)](pyproject.toml)

**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

### Option A: One-Line Installer (Recommended)

**macOS / Linux:**
```bash
curl -fsSL https://raw.githubusercontent.com/cosmos-semantic/cosmos/main/install.sh | sh
```

**Windows (PowerShell):**
```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)

```bash
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

```bash
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
```bash
# 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](docs/QUICKSTART.md)** 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](AGENTS.md).

The immutable original plan is preserved in [docs/ORIGINAL-PLAN.md](docs/ORIGINAL-PLAN.md).

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

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

The execution runtime operational entry point is [runtime/README.md](runtime/README.md).

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

The practical first-project workflow is [docs/OPERATOR-GUIDE.md](docs/OPERATOR-GUIDE.md).

The Cosmos 1.5 empirical operating program is [docs/EMPIRICAL-TEST-PROGRAM.md](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](docs/UNIVERSE-AND-WORLD-MODEL.md).

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

## Current state

[docs/ROADMAP.md](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.
