Skip to main content

Cordis Socrates

cordis-socrates is the optional boundary-review plugin for CORDIS Goal Mode. It asks an injected model to inspect a validated task and returns a small, machine-checkable boundary review. It does not execute tools, grant permissions, mutate Core memory, or replace the planner.

The two user-facing switches remain separate:

Goal Mode  -> Socrates is required to review goal, scope, capability,
              permissions, evidence, and whether a planner is required.
Plan Mode  -> the host invokes cordis-planner and submits PlanIR to Runtime.

planner_enabled is part of the Socrates request. A high-complexity or high-impact goal can produce the hard route needs_planner; turning the planner off cannot silently bypass that requirement. CordisGoalMode returns one of direct, plan, clarify, approval, or enable_planner, plus a compact model_context that the host passes to its main model or planner.

The model is supplied by the host:

from cordis_socrates import CordisSocrates

reviewer = CordisSocrates(model=lambda request: provider.generate(request["prompt"]))
review = reviewer.review(
    task=task_contract,
    difficulty=difficulty_profile,
    cognitive_ir=core_ir,
    planner_enabled=True,
)

The result is a cordis.boundary-review.v1 object. Runtime/host policy must enforce its route; Socrates never claims that an action was executed.

Download files

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

Source Distribution

cordis_socrates-0.5.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

cordis_socrates-0.5.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file cordis_socrates-0.5.1.tar.gz.

File metadata

  • Download URL: cordis_socrates-0.5.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cordis_socrates-0.5.1.tar.gz
Algorithm Hash digest
SHA256 788038fb70ef76c4b7a32ff6ae13fd3c72bc8db5eef22bc8cb95740a73d43972
MD5 aa13d7bae0a1c9130aa3fa3803c13c50
BLAKE2b-256 3f7e540122cba1e3df0f023d6ba0c7b2cda2d496c8bdaf85e9794e09c22e8a5d

See more details on using hashes here.

File details

Details for the file cordis_socrates-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cordis_socrates-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d5a872d8dca1f00941e344126c68ae81f6d03da971d96faa49031ef6d371a27
MD5 05839ff1b6b56321ab428b634ed121e3
BLAKE2b-256 56af0507fe3d878b1b7512771c280e8062b573d10ee65f28854c824bcc3f5761

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 files

0.5.0

2 files

0.4.0

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