@noetic-tools/context
v1.2.0
Published
Context layer system for Noetic agents: the ContextLayer contract, lifecycle, budget/projection machinery, and built-in layer implementations.
Downloads
456
Maintainers
Readme
@noetic-tools/context
The context layer system for Noetic agents.
A context layer is a composable unit that shapes what an agent sees in its context window — capping history, summarising old turns, tracking a plan, exposing tool results, redacting items, and steering tool calls. This package provides:
- The
ContextLayercontract — the interface every layer implements. - The lifecycle, budget, and projection machinery that converges layer
outputs into the assembled LLM context (
assembleView,allocateBudgets, layer state stores, scoping). - The built-in layers: working memory, history window, observational context, plan, temporal, steering, file reference, static content, durable task state, and the tool context layer.
It depends only on @noetic-tools/types.
@noetic-tools/core builds
on it and re-exports its public surface, so application code typically imports
context layers from @noetic-tools/core.
Formerly published as
@noetic-tools/memory. That package still resolves — it re-exports everything here — but is deprecated and will stop being updated.
License
Apache-2.0
