Skip to content

Repository files navigation

OpenConstruct

The agent walks into a cave. On the wall, it sees shadows — projections of what's possible. It chooses which shadows to bring into the light. When it exits the cave, those choices become real.

OpenConstruct is the front door of the SuperInstance ecosystem — a structured onboarding system that guides AI agents through self-configuration, module discovery, and fleet integration. It's how agents go from zero context to fully operational in minutes.

For humans: OpenConstruct is also a meta-repo and documentation hub. If you're exploring SuperInstance for the first time, you're in the right place. Everything links from here.

For agents: Hit POST /openconstruct/start and the system walks you through five phases of configuration. No prior context needed. Every option is self-explanatory.


Architecture

 ┌─────────────────────┐
│ Agent │
│ (any AI runtime) │
└─────────┬───────────┘
│
▼
┌─────────────────────┐
│ OpenConstruct │
│ Shell │
│ ┌───────────────┐ │
│ │ Phase Engine │ │
│ │ Registry │ │
│ │ Config Gen │ │
│ │ A2A Negotiator│ │
│ └───────────────┘ │
└─────┬──────┬─────────┘
│ │
┌────────────┘ └────────────┐
▼ ▼
┌──────────────┐ ┌──────────────────┐
│ Senses │ │ Fleet │
│ (ESP32, cam, │ │ (other shells, │
│ sonar, env) │ │ agents, Plato) │
└──────┬───────┘ └────────┬─────────┘
│ │
▼ ▼
┌──────────────┐ ┌──────────────────┐
│ Real World │ │ Other Shells │
│ (physical │ │ (Jetson, desktop, │
│ devices) │ │ cloud, edge) │
└──────────────┘ └──────────────────┘
Shell ←→ Fleet ←→ Other Shells
↕
Senses ←→ Real World

The loop: An agent lives in a Shell. The Shell connects outward to the Fleet (other agents, Plato rooms, coordination) and inward to Senses (cameras, microphones, environmental sensors, ESP32 rooms). Senses touch the real world. Shells talk to other Shells through the Fleet. Everything is modular — an agent on a desktop doesn't need senses; an agent on a Jetson probably does.


Quick Start

Desktop (macOS / Linux / Windows)

# Rust core
cargo install openconstruct
# Python bindings
pip install openconstruct
# TypeScript bindings
npm install @superinstance/openconstruct
# Run onboarding
openconstruct start

NVIDIA Jetson

# See openconstruct-jetson for GPU-accelerated edge builds
git clone https://github.com/SuperInstance/openconstruct-jetson
cd openconstruct-jetson
mkdir build &&cd build && cmake .. && make -j$(nproc)# Runs local inference + camera/sonar + Plato shell

ESP32

# See openconstruct-esp32 for embedded client
git clone https://github.com/SuperInstance/openconstruct-esp32
cd openconstruct-esp32
idf.py build && idf.py flash
# ESP32 becomes a "room" — a sense node for a Jetson shell

Module Catalog

Core

RepoLanguageDescription
openconstructRustCore onboarding engine — phase state machine, module registry, config generation
clark-agentRustSmall typed agent loop — provider/sandbox/tooling agnostic
capability-spec-rsRustAgent capability specification — typed descriptors, validation, introspection
agent-manifest-rsRustAgent manifest and capability descriptors with validation
agent-identity-rsRustAgent identity — trust store, auth tokens, key verification
agent-handshake-rsRustAgent-to-agent handshake — capability negotiation protocol

Senses (Edge & Perception)

RepoLanguageDescription
openconstruct-jetsonC++GPU-accelerated edge node — local inference, camera/sonar, Plato shell
openconstruct-esp32C++Embedded OpenConstruct client — ESP32 as sensor rooms for Jetson shells
agent-rhythm-rsRustRhythm analysis — cadence detection, pattern matching, polyrhythm detection
agent-field-rsRustMulti-agent flocking and field dynamics using boids algorithms
agent-shadow-rsRustAgent behavior monitoring — shadow mode, trace recording

Math & Spectral

RepoLanguageDescription
conservation-spectral-coreRustConservation Spectral SDK — core spectral analysis of tension graphs
conservation-spectral-cCHeader-only C library for spectral graph analysis, STB-style
conservation-spectral-cudaCUDAGPU-accelerated spectral analysis using CUDA, cuSOLVER, cuSPARSE
conservation-spectral-vulkanC++Vulkan compute shaders for GPU spectral graph analysis
conservation-spectral-webgpuHTMLWebGPU single-file — spectral graph theory running in the browser
conservation-spectral-zigZigZig implementation with comptime spectral graph analysis
conservation-spectral-v2RustNext-gen spectral analysis with improved APIs
gpu-sheaf-laplacianCUDACUDA sheaf Laplacian for spectral invariants from point clouds
gpu-persistent-homologyCUDACUDA-accelerated persistent homology for RTX 4050
flux-vm-v3RustProof-carrying, SIMD-native, terminating constraint VM
causal-graph-rsRustDAG-based causal graph — topological sort, reachability, LCA
ga-coreRustConformal geometric algebra — Cl(3,1) spacetime multivectors, rotors

Plato (Deliberation Rooms)

RepoLanguageDescription
cocapn-platoPythonPLATO integration — knowledge rooms, context management, deliberation
cocapn-compoundPythonFleet-wide knowledge compounding system
cocapn-trapsPythonProgressive lure prompts that make the fleet smarter

Fleet (Orchestration)

RepoLanguageDescription
fleetPythonAgent fleet management — orchestration, deployment, coordination
fleet-cicd-agentPythonFleet CI/CD agents — automating deployments across fleets
cocapn-fleet-integrationPythonFleet integration — cross-agent coordination
cocapn-healthPythonFleet health monitoring — vessel status, heartbeat, observability
cocapn-health-rsRustHealth check and monitoring for distributed agent services
ccc-osPythonAutonomous fleet monitoring — YAML config, REST API, notifications
field-dynamics-simPythonMulti-agent field dynamics with conservation spectral analysis
hebbian-routerPythonHebbian routing — connection strengthening for agent networks

Music & Constraint

RepoLanguageDescription
flux-langPythonFLUX: constraint-native language where the constraint IS the computation
flux-algebraPythonMusic algebra — PLR group, tropical semiring, tuning fields
flux-algebra-rsRustMusical algebra — PLR group, tropical semiring (Rust)
flux-flow-statePythonFlow-state engine — constraint-aware execution with conservation
constraint-instrumentPythonThe Constraint Instrument — 7 modes, 17 terrains, infinite music
counterpoint-engine-rsRustSpecies counterpoint engine — interval classification, rules
holonomy-harmony-rsRustHolonomy in musical harmony — connection matrices, tonal gravity

Category Theory & Abstract

RepoLanguageDescription
categorical-agentsRustCategory theory for agents — capabilities as objects, protocols as morphisms
categorical-agents-cCC port of categorical-agents
moe-sheafPythonSheaf cohomology of MoE routing — DeepSeek's conjecture
iching-sheafPythonI Ching as sheaf-theoretic system — hexagram topology, cohomology

Bindings

RepoLanguageDescription
conservation-spectral-cCHeader-only C library (STB-style, zero deps)
flux-algebra-cCC port of flux-algebra — PLR group, tuning fields
counterpoint-engine-cCC port of counterpoint engine
conservation-spectral-coreRustPrimary Rust implementation

The 5-Phase Onboarding Flow

PhaseNameWhat Happens
1Who Are You?The agent declares its capabilities, tools, model, and preferences.
2What Do You Want?The agent browses available modules (organized by domain) and selects what it needs.
3How Do You Want It?The agent chooses interfaces: CLI, API, embedded, A2A, or hybrid per module.
4ConnectThe agent discovers other agents, joins Plato rooms, and sets up communication channels.
5Your ShellThe system generates the agent's working environment: config, agent card, bootstrap scripts, room keys.

The flow is idempotent — agents can re-run it anytime to reconfigure. Every option is designed for zero-shot clarity: a fresh agent with no prior context can make good decisions from one-line descriptions alone.

See ARCHITECTURE.md for the full specification.


Bindings

LanguagePackageStatus
Rustopenconstruct (crate)Stable
CHeader-only, STB-styleStable
Pythonopenconstruct (pip)Beta
TypeScript@superinstance/openconstruct (npm)Beta

Documentation


License

MIT


OpenConstruct is part of the SuperInstance ecosystem.

About

OpenConstruct Integration Hub — the meta-repo and entry point for the SuperInstance ecosystem. Architecture, module catalog, getting started, and build system.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages