A context-sensitive cognitive control stack for workflow AI.
Project description
Cognitive Cell
Cognitive Cell is a context-sensitive control stack for workflow AI.
Accepted v9 stack:
router-v4 → selector-v5 → finalizer-v9
What it does
The system separates:
1. cognitive routing
2. workflow-vs-direct pathway selection
3. final user-facing rendering
This lets the same input behave differently depending on context, posture, urgency, role, and workflow constraints.
Current evidence
Fresh holdout-v1, 100 cases:
| Judge | Architecture preference | Baseline preference |
|---|---|---|
| gpt-4.1 primary | 0.6200 | 0.3800 |
| gpt-5.5 second, combined 40+60 | 0.5575 | 0.4425 |
| Two-judge mean | 0.58875 | 0.41125 |
Safe claim:
On a fresh 100-case holdout, the frozen v9 cognitive-cell stack beat a plain strong-model baseline under two standardized Op judges, with mean architecture preference around 0.589.
Caution
This is an engineering validation result, not a universal claim of superiority over frontier models. Larger benchmarks, human evaluation, ablations, and cross-provider validation are still needed.
Install
pip install -e .
Planned usage
from cognitive_cell.lego import CognitiveCellV9, CognitiveCellRequest
cell = CognitiveCellV9()
result = cell.run(
CognitiveCellRequest(
statement="The package label shows the wrong city.",
context_snapshot={
"world_facts": [
{
"fact_id": "f1",
"fact_type": "world_fact",
"fact_text": "The package has not left the warehouse yet.",
}
],
"constraints": ["Optimize for low-cost correction."],
"active_goals": ["determine the first operational step"],
},
metadata={"persona": "ops analyst", "time_pressure": "medium"},
interaction_mode="workflow_component",
autonomy_mode="suggest",
)
)
print(result.response_text)
print(result.trace)
Known weaknesses
- Atomic observation remains weaker because pure logging competes against advice/explanation.
- Contextual observation remains mixed when direct action beats record/analyze behavior.
- Persona shift is weaker under the second judge.
- Writing support is improved but not consistently superior.
Project details
Release history Release notifications | RSS feed
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 cognitive_cell-0.9.2.tar.gz.
File metadata
- Download URL: cognitive_cell-0.9.2.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da9ec0329bf7d8015c27db13e60bef7db8631a4c54fd5eab0500debeee8dc351
|
|
| MD5 |
dd42bc21e88d50b10d7c094e2f925f99
|
|
| BLAKE2b-256 |
de7befb3ec4258b6a12910b32fb3633ae4b8be33d02ee1a59db62bf1d48bd61e
|
Provenance
The following attestation bundles were made for cognitive_cell-0.9.2.tar.gz:
Publisher:
publish.yml on srikardevulapalli/cognitive-cell
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cognitive_cell-0.9.2.tar.gz -
Subject digest:
da9ec0329bf7d8015c27db13e60bef7db8631a4c54fd5eab0500debeee8dc351 - Sigstore transparency entry: 1429679473
- Sigstore integration time:
-
Permalink:
srikardevulapalli/cognitive-cell@a1a279de21b1d1ce118e6d25c03fb9c9d856b6dc -
Branch / Tag:
refs/tags/v0.9.2 - Owner: https://github.com/srikardevulapalli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a1a279de21b1d1ce118e6d25c03fb9c9d856b6dc -
Trigger Event:
push
-
Statement type:
File details
Details for the file cognitive_cell-0.9.2-py3-none-any.whl.
File metadata
- Download URL: cognitive_cell-0.9.2-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6eafb110e4372bd46f48aabf6a921c2742075d50a372949a9c97c48fe068049
|
|
| MD5 |
ff1d4890fb6794b60ca32e3ea8d44265
|
|
| BLAKE2b-256 |
09097c08db52cfe1eb517a2320719cef06cd3c19f9a776135caad3f127162d6c
|
Provenance
The following attestation bundles were made for cognitive_cell-0.9.2-py3-none-any.whl:
Publisher:
publish.yml on srikardevulapalli/cognitive-cell
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cognitive_cell-0.9.2-py3-none-any.whl -
Subject digest:
e6eafb110e4372bd46f48aabf6a921c2742075d50a372949a9c97c48fe068049 - Sigstore transparency entry: 1429679502
- Sigstore integration time:
-
Permalink:
srikardevulapalli/cognitive-cell@a1a279de21b1d1ce118e6d25c03fb9c9d856b6dc -
Branch / Tag:
refs/tags/v0.9.2 - Owner: https://github.com/srikardevulapalli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a1a279de21b1d1ce118e6d25c03fb9c9d856b6dc -
Trigger Event:
push
-
Statement type: