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 Agent2023

Orchestrates stateful, long-running agent workflows as explicit graphs, with support for resuming execution, human review, and persistent memory. Best suited to applications that need control over workflow behavior; simpler linear tasks may call for a lighter approach.

GitHub
AI Infra2026

Runs and serves language models locally on Apple Silicon and GPUs using native Metal, CUDA, and other backends. Its Zig engine performs inference without requiring Python or MLX.

GitHub
AI Agent2026

Keeps coding agents running in background terminals and brings local and SSH machines into one workspace. It manages their terminals rather than replacing the agents or models you use.