Skip to main content

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


Download files

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

Source Distribution

cognitive_cell-0.9.2.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

cognitive_cell-0.9.2-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

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

Hashes for cognitive_cell-0.9.2.tar.gz
Algorithm Hash digest
SHA256 da9ec0329bf7d8015c27db13e60bef7db8631a4c54fd5eab0500debeee8dc351
MD5 dd42bc21e88d50b10d7c094e2f925f99
BLAKE2b-256 de7befb3ec4258b6a12910b32fb3633ae4b8be33d02ee1a59db62bf1d48bd61e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cognitive_cell-0.9.2.tar.gz:

Publisher: publish.yml on srikardevulapalli/cognitive-cell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for cognitive_cell-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e6eafb110e4372bd46f48aabf6a921c2742075d50a372949a9c97c48fe068049
MD5 ff1d4890fb6794b60ca32e3ea8d44265
BLAKE2b-256 09097c08db52cfe1eb517a2320719cef06cd3c19f9a776135caad3f127162d6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cognitive_cell-0.9.2-py3-none-any.whl:

Publisher: publish.yml on srikardevulapalli/cognitive-cell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page