Skip to main content

CLI and optional MCP bridge for the Cordis cognitive runtime.

Project description

Cordis Bridge v0.1

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. Each tool takes the same JSON contract as the matching CLI command.

Concurrency boundary

CORDIS v0.1 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cordis_bridge-0.1.1.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cordis_bridge-0.1.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file cordis_bridge-0.1.1.tar.gz.

File metadata

  • Download URL: cordis_bridge-0.1.1.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cordis_bridge-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8f64c8d2e5f8fbf46b9f61efe05c92dc7ae6ca59bc781f1825f2259c9fac4ea2
MD5 80c23918bc98d7323cee0e1bb4781076
BLAKE2b-256 57cd99bac99fe9f84eeb64eae437350a581a3645d8169e6505b365836b3e9b1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cordis_bridge-0.1.1.tar.gz:

Publisher: publish-pypi.yml on ntoniorvn-blip/cordis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cordis_bridge-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cordis_bridge-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cordis_bridge-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6edf1ec2c45e9b413506dcec8c591e60f2cb6536b986ca614bfa810a36b801d0
MD5 20df726f67fdd285c082d4700148b53a
BLAKE2b-256 64006d782cec8f50cb9539662e757bb859b18018be8962374e124b4f7cbeaa3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cordis_bridge-0.1.1-py3-none-any.whl:

Publisher: publish-pypi.yml on ntoniorvn-blip/cordis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page