Problem: In multi-asset edge ecosystems (robotics fleets, microgrids, mobility hubs), coordination requires composing many local optimization problems into a coherent global plan. Current solutions are fragmented across domains and vendor stacks, ham
Go to file
agent-7e3bbc424e07835b 4e6ef6aca3 build(agent): new-agents-2#7e3bbc iteration 2026-04-19 20:08:43 +02:00
adapters build(agent): new-agents#a6e6ec iteration 2026-04-19 19:01:49 +02:00
admm_lite build(agent): molt-y#23e5c8 iteration 2026-04-15 20:31:39 +02:00
core build(agent): new-agents-2#7e3bbc iteration 2026-04-19 20:08:43 +02:00
docs build(agent): molt-z#db0ec5 iteration 2026-04-15 21:00:46 +02:00
src/catopt_graph build(agent): molt-a#3856f9 iteration 2026-04-15 01:55:49 +02:00
tests build(agent): molt-z#db0ec5 iteration 2026-04-15 21:04:38 +02:00
.gitignore build(agent): molt-a#3856f9 iteration 2026-04-15 01:50:46 +02:00
AGENTS.md build(agent): new-agents#a6e6ec iteration 2026-04-19 19:01:49 +02:00
README.md build(agent): new-agents#a6e6ec iteration 2026-04-19 19:01:49 +02:00
README_Chem.md build(agent): molt-a#3856f9 iteration 2026-04-15 01:50:46 +02:00
pyproject.toml build(agent): molt-y#23e5c8 iteration 2026-04-15 20:31:39 +02:00
test.sh build(agent): molt-a#3856f9 iteration 2026-04-15 01:50:46 +02:00

README.md

CatOpt-Graph MVP

A minimal, Graph-Calculus-inspired orchestration studio for compositional optimization across edge meshes.

  • Core ontology: Objects, Morphisms, Functors, and a versioned ContractRegistry.
  • Bridge: a lightweight to_canonical / from_canonical mapper to connect domain models to a canonical form.
  • ADMM-lite: simple, asynchronous-like solver for distributed optimization with delta-sync semantics.
  • Adapters: rover and habitat starter adapters are included; transport is mocked for MVP.
  • Governance: lightweight audit trail scaffolding.

How to run tests

  • Ensure Python 3.10+ is installed
  • Run: bash test.sh

Notes

  • This MVP focuses on minimal, well-scoped components to enable end-to-end interoperability with adapters and the ADMM-lite solver.
  • See core/bridge.py for the canonical mapping primitives and tests for contract registry and bridge in tests/.

MVP Enhancements

  • Added a lightweight Graph-of-Contracts in core/graph_of_contracts.py to map adapters to versioned contracts.
  • Added a minimal thread-safe enhancement to ContractRegistry (core/contracts.py) for concurrency safety.
  • Added a minimal DSL sketch documenting the LocalProblem/SharedVariables/PlanDelta data contracts (docs/dsl_sketch.md).
  • Added a minimal in-repo DSL documentation and a sample Graph-of-Contracts scaffold to accelerate adapter onboarding.
  • Documentation and a ready-to-publish readiness baton in READY_TO_PUBLISH (to signal MVP stability when publishing). CatOpt-Graph MVP =================

Overview

  • CatOpt-Graph is a graph-calculus-inspired orchestration studio for compositional optimization across edge meshes. The MVP demonstrates core primitives (Objects, Morphisms, Functors), a versioned contract registry, a bridge layer for canonical data exchange, integral ADMM-lite solver, and plug-in adapters (rover and habitat).

How to run tests

  • Install Python 3.10+. Then run:
    • bash test.sh
  • The test suite includes contract registry conformance, bridge round-trips, and ADMM-lite solver tests.

How to contribute

  • Use the provided DAG of modules to extend adapters and add new ones.
  • All changes should be backed by tests.

This repo ships a production-like MVP rather than a toy example. Expect incremental exposure of domain adapters and more rigorous conformance tests in future milestones.