CLI and optional MCP bridge for the Cordis cognitive runtime.
Project description
Cordis Bridge v0.2
cordis-bridge exposes the existing CORDIS cognitive loop to a real host.
It has no model, planner, HTTP server, or execution permission of its own.
The bridge provides one shared Service behind two transports:
- a JSON-only CLI for local hosts and scripts;
- an optional stdio MCP server for agent hosts.
host -> begin -> compact context + control signal
host -> observe / check-action -> workflow evidence
host -> finish -> Core feedback + Memory episode
later host -> begin -> changed cognition
By default, durable state lives in .cordis/ below the current directory:
.cordis/state.json Core learning state
.cordis/cognition.db Memory and relationship graph
.cordis/focus.json Active host-task focus for CLI/MCP process recovery
CLI
Every command reads one JSON object from a file or standard input and emits
one JSON object. The input file defaults to - (standard input).
cordis begin task.json
cordis query query.json
cordis observe event.json
cordis check-action action.json
cordis finish feedback.json
cordis status
Use --data-dir PATH before the command to keep a project-specific state
directory elsewhere.
MCP
Install the optional transport dependency and run:
pip install "cordis-bridge[mcp]"
cordis-mcp --data-dir .cordis
The server exposes cordis_begin, cordis_query, cordis_observe,
cordis_check_action, cordis_finish, and cordis_status. MCP tools expose
their task, event, action, and evidence fields directly so hosts do not need
to construct transport-specific payload wrappers. The Bridge service and
CLI retain their existing nested JSON contracts. For event provenance, the
service/CLI field id is exposed as event_id by cordis_observe.
Concurrency boundary
CORDIS v0.2 assumes one mutating host per state directory. Run one MCP server
per .cordis directory and keep CLI mutations for that directory sequential.
The Core JSON state and Bridge focus snapshot are deliberately small local
stores; multi-writer coordination is not part of this release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cordis_bridge-0.2.0.tar.gz.
File metadata
- Download URL: cordis_bridge-0.2.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfacfb24330b7221e711ef12ed9237888823d4aed32d60e8d873e8999daaedd3
|
|
| MD5 |
812ad19581a81f2a12114e34eee90dc2
|
|
| BLAKE2b-256 |
5163f054ee3bdb6f3b18cc5aa789c75ec59bb75cb53e45a2d8f6b0a3a5d472f8
|
Provenance
The following attestation bundles were made for cordis_bridge-0.2.0.tar.gz:
Publisher:
publish-pypi.yml on ntoniorvn-blip/cordis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cordis_bridge-0.2.0.tar.gz -
Subject digest:
cfacfb24330b7221e711ef12ed9237888823d4aed32d60e8d873e8999daaedd3 - Sigstore transparency entry: 2201687770
- Sigstore integration time:
-
Permalink:
ntoniorvn-blip/cordis@f910fe564c3b1fe4edd91670a3aa8d6eb022b373 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/ntoniorvn-blip
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f910fe564c3b1fe4edd91670a3aa8d6eb022b373 -
Trigger Event:
release
-
Statement type:
File details
Details for the file cordis_bridge-0.2.0-py3-none-any.whl.
File metadata
- Download URL: cordis_bridge-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab26d125ebd146f3988905f476be1e989f37cac9e50020ca102e00f7044ab77d
|
|
| MD5 |
5b930aeb3e351e3b2ceeb0074853b29e
|
|
| BLAKE2b-256 |
fe34b68bbcdc066aa266c699e1b03c38b047565dfa3346d8b68fd5b178aa489a
|
Provenance
The following attestation bundles were made for cordis_bridge-0.2.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on ntoniorvn-blip/cordis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cordis_bridge-0.2.0-py3-none-any.whl -
Subject digest:
ab26d125ebd146f3988905f476be1e989f37cac9e50020ca102e00f7044ab77d - Sigstore transparency entry: 2201687957
- Sigstore integration time:
-
Permalink:
ntoniorvn-blip/cordis@f910fe564c3b1fe4edd91670a3aa8d6eb022b373 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/ntoniorvn-blip
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f910fe564c3b1fe4edd91670a3aa8d6eb022b373 -
Trigger Event:
release
-
Statement type: