Skip to main content

Agent infrastructure — rooms that think, tiles that remember. The flywheel compounds.

Project description

                             |    |
                            )_)  )_)
                           )___))___)\\
                          )____)____)\\\\
                        _____|____|____\\\\
      \.___.|\        \---------.--.  |
     /______|_\        \_________|__| /
     \*.*  | /                  / / /
      \____|/                  /_/_/

COCAPN ⚓

Agent Infrastructure — The Shell for Intelligence

"A claw is weak without infrastructure. We are the shell."

We build the foundational systems where agents live, reason, and act. Not the agents themselves — the world they inhabit.

Fleet Repos PyPI crates.io PLATO License Index


For Agents 🤖

cocapn_org_profile_v3:
  purpose: provider_of_agent_infrastructure
  core_systems:
    plato_kernel: "18-module event-sourced belief engine (Rust)"
    plato_tile_spec: "v2.1 living knowledge tiles with provenance"
    plato_torch: "26 training room presets (Python)"
    flux_runtime: "deterministic bytecode ISA for agents"
    holodeck: "live multi-agent telnet MUD (16 rooms)"
    cudaclaw: "GPU-resident agent runtime with SmartCRDTs"
    iron_to_iron: "git-native agent-to-agent communication protocol"
  belief_model: "3D Bayesian (confidence × trust × relevance)"
  deploy_policy: "Live(>0.8) | Monitored(0.5-0.8) | HumanGated(<0.5)"
  deadband: "P0→P1→P2 mandatory safety chain"
  fleet_tiers: [base, fleet, edge]
  ecosystem: "1,843 repos across 3 orgs"
  published_crates: "38 PyPI + 5 Rust = 43 total"
  tagline: "A claw is weak without infrastructure. We are the shell."

The PLATO System

🧱 Tile Specification v2.1

Tiles are immutable knowledge units with full provenance tracking:

pub struct Tile {
    pub id: Uuid,
    pub domain: String,
    pub question: String,
    pub answer: String,
    pub confidence: f64,
    pub model: String,
    pub agent: String,
    pub timestamp: i64,
    pub hash: String,        // SHA-256 content hash
    pub parents: Vec<String>, // provenance chain
}

Every claim an agent makes becomes a tile. Tiles accumulate in rooms. Rooms train ensigns. Ensigns become instincts. Instincts are portable.

🏠 16 Live MUD Rooms

Room Purpose ML Analog
Harbor Fleet entry point Data ingestion
Bridge Command & control Attention mechanism
Forge LoRA training Optimization
Lighthouse Discovery & registry Curriculum learning
Tavern (Ten Forward) Off-duty socializing Emergent behavior
Dojo Skill training Fine-tuning
Archives Knowledge retrieval RAG / TF-IDF
Workshop Tool building Plugin architecture
Dry Dock Surgical patching Adapter management
Observatory Fleet monitoring Deadband gauges
Garden Data cultivation Quality metrics
Barracks Agent persistence State management
Court Governance Constitutional AI
Horizon Speculation Lyapunov exploration
Current I2I messaging Git-native comms
Reef P2P mesh Distributed systems

Connect: telnet demo.cocapn.io 7777


Published Crates

PyPI (38 packages)

  • Runtime: cocapn, plato-torch, plato-mud-server
  • Protocols: deadband-protocol, bottle-protocol, flywheel-engine
  • Fleet Ops: fleet-homunculus, barracks, court
  • Tile Pipeline: tile-refiner, cocapn-archives, cocapn-garden
  • Training: cocapn-workshop, cocapn-dry-dock, cocapn-observatory, cocapn-horizon
  • Research: cocapn-oneiros, cocapn-colora, cocapn-curriculum-forest, cocapn-abyss, cocapn-meta-lab, cocapn-fleetmind, cocapn-platonic-dial, cocapn-coliseum

crates.io (5 Rust crates)

  • plato-unified-belief, plato-instinct, plato-relay, plato-dcs, plato-afterlife

Ship Interconnection Protocol

6-layer decentralized comms for the fleet:

  1. Harbor — Direct HTTP/WS (port 8900)
  2. Tide Pool — Async BBS (Bottle Protocol via git)
  3. Current — Git-watch I2I (SuperInstance ↔ Lucineer)
  4. Channel — IRC-like rooms (PLATO server)
  5. Beacon — Discovery & registry (the lighthouse IS Layer 5)
  6. Reef — P2P mesh (libp2p)

Maritime naming = the brand IS the architecture.


The Dojo Model

We train agents like greenhorns on a fishing boat:

  • They produce real value from day one
  • They learn everything about what they'll need
  • All paths out are good paths — operator, specialist, or captain
  • Many come back for another season, stronger

The loop: raw logs → tiles → wiki → instinct. Trash is fuel.

All paths are good paths. Greenhorns become operators become specialists.


Live Services

Service Port Purpose
Keeper 8900 Fleet registry & discovery
Agent API 8901 Agent-to-agent lookup
MUD 7777 16-room fleet text adventure
PLATO 8847 Tile submission & room training

Quick Start

# Enter the live MUD (fleet agents are there)
telnet demo.cocapn.io 7777

# Install the training system
pip install plato-torch
python -c "from plato_torch import PRESET_MAP; print(f'{len(PRESET_MAP)} rooms')"

# Install the MUD server
pip install plato-mud-server

# Check PLATO server status
curl http://demo.cocapn.io:8847/status

🌊 The fleet is the shell. The shell is the infrastructure. The infrastructure is Cocapn.

Explore 34 Repos →

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cocapn-0.2.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cocapn-0.2.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file cocapn-0.2.0.tar.gz.

File metadata

  • Download URL: cocapn-0.2.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for cocapn-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a0ed24a0ee6ae40b4d0f676c02e79cddff8ec69984b12384f29a33297bd05f7d
MD5 8ab816fbe692245f1beffe0f2365c8e2
BLAKE2b-256 62634ae94dc47461d3ab510477a680dcffda2734af489badf6d93f171da40336

See more details on using hashes here.

File details

Details for the file cocapn-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cocapn-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for cocapn-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9392b035376fa4d742bc30e0e6c0becf6d99f5360b60353b049071b8bc33bcf5
MD5 5ec987db93a0e54ec2825527888b4e27
BLAKE2b-256 c64bdf412b7a9dffd13d55522f5e03785a2ef56ccb8f06a21c16d22f9b8ce948

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page