Skip to main content

Cordis Bridge v0.4

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

workflow host -> workflow-begin -> task contract + difficulty policy
workflow host -> workflow-submit-plan -> active step
workflow host -> workflow-submit-step-result -> next step / replan / terminal
workflow host -> workflow-finish -> Core feedback + Memory episode

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
.cordis/workflow.json   Durable workflow task, plan, active step, and results

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 workflow-begin task.json
cordis workflow-submit-plan plan.json
cordis workflow-approve-step approval.json
cordis workflow-submit-step-result step-result.json
cordis workflow-finish finish.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 the core cordis_begin, cordis_query, cordis_observe, cordis_check_action, cordis_finish, and cordis_status tools, plus the workflow lifecycle: cordis_workflow_begin, cordis_workflow_submit_plan, cordis_workflow_submit_step_result, cordis_workflow_replan, cordis_workflow_approve_step, cordis_workflow_finish, and cordis_workflow_get. MCP tools expose their task, event, action, plan, and evidence fields directly so hosts do not need to construct transport-specific payload wrappers. For event provenance, the service/CLI field id is exposed as event_id by cordis_observe.

Concurrency boundary

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

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.4.0.tar.gz (18.9 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.4.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cordis_bridge-0.4.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for cordis_bridge-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e94f4713309118af0cc7ee11cb7f4ae43b2addda24494c2f288d46666b68cc4a
MD5 cacbd8c6bf08b956817a0dbc09669564
BLAKE2b-256 8a6b760a44f7d2015fa635c7a831dc7a7e3832c1af480aa20d97f9f4a7acdce7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cordis_bridge-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for cordis_bridge-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccb00229418ffdf3c3d335a70a0888c48101449d6f76296de740e4b34d7c226c
MD5 0cf9f237ebcc4aa480395d5a160e71ae
BLAKE2b-256 b9b5a14978c09f6a7a79334cb7bc6ffeebbde843f1aae7d2963a0e8b03bb2d5b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.1

2 files

0.5.0

2 files

This release

0.4.0 This release

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page