Thought Fabric
Thought Fabric is a cognitive architecture layer built on top of @flow-state-dev/core. It adds primitives for attention and identity — opinionated machinery for building agents that maintain a coherent stance across turns rather than treating every request as a blank slate.
It lives in its own package (@thought-fabric/core) and has its own documentation site with its own sidebar. The framework treats it as ecosystem rather than core: you can build flows without it, and most simple flows don't need it.
Memory has moved
Memory used to live in Thought Fabric. It now lives in its own package, @flow-state-dev/memory — see Ecosystem → Memory. Thought Fabric continues to host attention and identity, and will host specialized cognitive memory variants (e.g. dream-pattern sweeps, topic-curated profile memories) on top of the shared MemoryProvider contract when those land. Until then, Thought Fabric doesn't address memory at all.
Where to read more
- Thought Fabric documentation — full sub-site covering attention, identity, and the domain conventions
- The
@thought-fabric/corepackage on npm
Why it's separate
Core gives you the runtime — blocks, flows, sequencers, items. Thought Fabric gives you a particular shape of agent on top of that runtime. They're decoupled on purpose: people who want bare blocks shouldn't have to learn Thought Fabric's domain model, and people who want cognitive primitives shouldn't have to reimplement them.
If you're building anything where the agent needs to decide what to attend to or reason about its own identity, start with the Thought Fabric site. For cross-turn memory, start at Ecosystem → Memory.