AIAny
AI Infra2022
Icon for item

Cordis

Provides runtime support for reversible effects and reactive coeffects so components can be declared, composed, and hot-replaced safely; includes effect tracking, coeffect resolution, a declarative component loader and HMR — aimed at plugin-driven agent harnesses and dynamic systems.

Introduction

Most long-running systems rot because components leak irreversible side effects or inter-component dependencies become entangled at runtime. Cordis treats composition as a runtime-first problem: it tracks context transformations with inverses (revertible effects) and notifies components of context changes (reactive coeffects) so components can be added, removed, or patched without leaving the system in an inconsistent state.

What Sets It Apart
  • Runtime-first formalism: brings effect and coeffect concepts into the runtime by making effects revertible and coeffects reactive, which lets the system automatically unwind side effects when a component is removed. This reduces manual cleanup logic and makes dynamic reconfiguration safer.
  • Declarative composition + HMR: a component loader reconciles layered configurations and supports hot module replacement, enabling developers to update or compose plugins declaratively rather than imperatively.
  • System-level guarantees: the project presents a calculus and metatheory showing how spatiotemporal composability scales from a single component to interleaved component systems, providing stronger reasoning about correctness than ad-hoc plugin systems.
Who it's for + Trade-offs

Great fit if you build plugin-based agent harnesses, extensible developer tooling, or any system that must modify running component graphs without restarting. Look elsewhere if you need a drop-in UI app or a polished production SDK today — Cordis is research-driven and under active development, so APIs can change and integration requires understanding its composability model. It shines when you need formal guarantees about revertibility and dependency management across component lifecycles.

Information

  • Websitegithub.com
  • OrganizationsCordiverse
  • Published date2022/05/17

Categories

More Items

GitHub
AI Infra2026

Compresses tool outputs, logs, files and RAG chunks locally before they reach the LLM to reduce token usage while caching originals for on-demand retrieval. Provides proxy/library/wrap modes, JSON- and code-aware compressors, and reversible compression.

GitHub
AI Infra2026

Provides a self‑hosted OpenAI‑compatible gateway that exposes one API endpoint to route requests to 40+ model providers, issue revocable virtual keys, enforce budgets before spend, and record usage.

GitHub
AI Coding2023

A statically typed, parallel programming language that prevents AI-introduced bugs by making correctness claims (laws) require machine-checked proofs. Compiles to native code and targets CPU/GPU parallelism with a fast proof checker.