CortexCore is a modular library for building recurrent backbones and agent memory systems. It provides building blocks for stateful neural architectures, including LSTM, GRU, and attention-based memory modules, with a focus on composability and runtime efficiency. The current version is 0.1.6, targeting Python >= 3.12, with a monthly release cadence.
pip install cortexcoreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal example creating a recurrent backbone using an LSTM cell and processing a sequence.
Use `CortexBase(cell, stateful=True)` instead of `CortexBase(cell, True)`.
Run `pip install cortexcore`.
Use `import cortexcore` instead of `import CortexCore`.
Always call `model.reset_state()` before a new sequence when `stateful=True`.