The brain of coreason platform
Project description
coreason-cortex
The brain of the CoReason platform.
Executive Summary
coreason-cortex is the execution engine of the CoReason platform. It acts as the "Brain" that orchestrates intelligence. Its primary mandate is to implement a Neuro-Symbolic Architecture that dynamically switches between System 1 (Fast, Heuristic, Reflexive) and System 2 (Slow, Deliberative, Logical) modes of cognition.
Unlike standard agent frameworks that default to "always-on" reasoning, coreason-cortex treats cognition as a scarce resource. It prioritizes deterministic execution (Code/FSM) first, only escalating to probabilistic reasoning (LLM) when novelty or ambiguity is detected. It aims for a "Glass Box" implementation where every thought is traceable, auditable, and interruptible.
For detailed requirements and architecture, see the Architecture Documentation.
Functional Philosophy
The agent implements the Kahneman Control Loop:
- Default to System 1: Always attempt to solve the input using low-latency, low-cost heuristics or defined rules.
- Monitor for Surprise: Continuously evaluate the "Confidence" or "Perplexity" of the System 1 output.
- Escalate to System 2: If confidence drops below a threshold, pause execution, instantiate a deliberative reasoning chain (CoT), and override the reflex.
- Consolidate (Crystallize): Successful System 2 reasoning should update the System 1 state (learning), converting high-cost reasoning into low-cost reflexes for future use.
Getting Started
Prerequisites
- Python 3.12+
- Poetry
Installation
- Clone the repository:
git clone https://github.com/CoReason-AI/coreason_cortex.git cd coreason_cortex
- Install dependencies:
poetry install
Usage
- Run the linter:
poetry run pre-commit run --all-files
- Run the tests:
poetry run pytest
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_cortex-0.4.1.tar.gz.
File metadata
- Download URL: coreason_cortex-0.4.1.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a982583bcec1029f108029d7df12de676ba35578401792dc84877c897f3f2f25
|
|
| MD5 |
0b7ea2861018f56283121dd56d0e3e91
|
|
| BLAKE2b-256 |
e17329db54bcfbe7d1136903150da2272668976ff5fb9f445446b062ef32afc5
|
Provenance
The following attestation bundles were made for coreason_cortex-0.4.1.tar.gz:
Publisher:
publish.yml on CoReason-AI/coreason-cortex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coreason_cortex-0.4.1.tar.gz -
Subject digest:
a982583bcec1029f108029d7df12de676ba35578401792dc84877c897f3f2f25 - Sigstore transparency entry: 867946279
- Sigstore integration time:
-
Permalink:
CoReason-AI/coreason-cortex@5521ce82caec3adc1af28e15649f558667943f30 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/CoReason-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5521ce82caec3adc1af28e15649f558667943f30 -
Trigger Event:
release
-
Statement type:
File details
Details for the file coreason_cortex-0.4.1-py3-none-any.whl.
File metadata
- Download URL: coreason_cortex-0.4.1-py3-none-any.whl
- Upload date:
- Size: 29.1 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 |
18b648b099f089c027b0749163b50014f3a9fc4b6e2b15f9b2e96cb58d1311b2
|
|
| MD5 |
7e7b09d93d43dbcdc1f4600e82846dc0
|
|
| BLAKE2b-256 |
bf466b2dd01b22a7023ed329767a473371d7b498a591e1c1c303ac66e26fe5cf
|
Provenance
The following attestation bundles were made for coreason_cortex-0.4.1-py3-none-any.whl:
Publisher:
publish.yml on CoReason-AI/coreason-cortex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coreason_cortex-0.4.1-py3-none-any.whl -
Subject digest:
18b648b099f089c027b0749163b50014f3a9fc4b6e2b15f9b2e96cb58d1311b2 - Sigstore transparency entry: 867946302
- Sigstore integration time:
-
Permalink:
CoReason-AI/coreason-cortex@5521ce82caec3adc1af28e15649f558667943f30 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/CoReason-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5521ce82caec3adc1af28e15649f558667943f30 -
Trigger Event:
release
-
Statement type: