Design and Governance Engine for high-stakes research.
Project description
coreason-protocol
The Design and Governance Engine for high-stakes research.
Description
coreason-protocol transforms natural language intent into a Rigorous, Audited, and Executable Search Protocol. It acts as the "Study Director" or Design Plane, ensuring that research protocols are designed with rigor, validated with logic (PRESS guidelines), and approved with authority before execution.
Unlike simple RAG retrieval, this package enforces a scientific workflow:
- AI Draft: Generates PICO blocks and expands terms using ontologies (via
coreason-codex). - Human Governance: Allows experts to override or inject terms.
- Strict Validation: Checks structural integrity and PRESS guidelines.
- Immutable Registration: Locks and registers approved protocols (via
coreason-veritas).
Service Architecture (Service P)
coreason-protocol can be deployed as a microservice ("Service P") exposing a FastAPI-based REST API. This service handles the lifecycle of the protocol, from drafting to compilation, while integrating with the Veritas audit system.
For details on API endpoints and usage, see Usage Guide.
Installation
pip install coreason-protocol
Or using poetry:
poetry add coreason-protocol
Dependencies
For a full list of dependencies, see Requirements.
Features
- PICO Architecture: Structuring of research intent into Population, Intervention, Comparator, and Outcome.
- Ontology Expansion: Integration with
coreason-codexfor term hydration (Concept IDs). - Strategy Compilation: Translation of PICO models into executable queries for:
- PubMed/Ovid (Boolean strings with MeSH/TiAb mapping).
- LanceDB (Vector embeddings + metadata filters).
- Graph (Cypher queries).
- HITL Governance: Support for human review with
override_termandinject_termcapabilities. - Audit Fidelity: Soft-deletion of terms to maintain a complete history of design decisions.
- Multi-Format Rendering: Export to HTML (visual diff), PRISMA-S text, and JSON-LD.
Documentation
For detailed product requirements and architectural philosophy, see docs/product_requirements.md.
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
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 coreason_protocol-0.3.0.tar.gz.
File metadata
- Download URL: coreason_protocol-0.3.0.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bdd3b95b085ca26fadfa664391c6ba686040f770b09ab70b21412200d010c96
|
|
| MD5 |
0c3e431070687eff9276c9f851d710c3
|
|
| BLAKE2b-256 |
1d0592c029628c035033386877a332ae93df6897abead46f60d409a72b8c4300
|
Provenance
The following attestation bundles were made for coreason_protocol-0.3.0.tar.gz:
Publisher:
publish.yml on CoReason-AI/coreason-protocol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coreason_protocol-0.3.0.tar.gz -
Subject digest:
1bdd3b95b085ca26fadfa664391c6ba686040f770b09ab70b21412200d010c96 - Sigstore transparency entry: 872259504
- Sigstore integration time:
-
Permalink:
CoReason-AI/coreason-protocol@483299b109d2dcfcb6971538fd05c1b161d07002 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/CoReason-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@483299b109d2dcfcb6971538fd05c1b161d07002 -
Trigger Event:
release
-
Statement type:
File details
Details for the file coreason_protocol-0.3.0-py3-none-any.whl.
File metadata
- Download URL: coreason_protocol-0.3.0-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4efd75dfc4354e294362e1a5fce631f3bce9f2e3107b36df4f3c372c330071d9
|
|
| MD5 |
6f418531f1665ded24404f85d7a6d3cc
|
|
| BLAKE2b-256 |
00896a8aee0f0d92a5a706f119e293f44c655a56310392f0c5be02980a8d3d91
|
Provenance
The following attestation bundles were made for coreason_protocol-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on CoReason-AI/coreason-protocol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coreason_protocol-0.3.0-py3-none-any.whl -
Subject digest:
4efd75dfc4354e294362e1a5fce631f3bce9f2e3107b36df4f3c372c330071d9 - Sigstore transparency entry: 872259505
- Sigstore integration time:
-
Permalink:
CoReason-AI/coreason-protocol@483299b109d2dcfcb6971538fd05c1b161d07002 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/CoReason-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@483299b109d2dcfcb6971538fd05c1b161d07002 -
Trigger Event:
release
-
Statement type: