@fozikio/tools-reasoning
v0.1.5
Published
Cognitive reasoning for AI agents — abstraction, contradiction detection, and insight surfacing. Plugin for cortex-engine.
Maintainers
Readme
@fozikio/tools-reasoning
Built into cortex-engine v1.0.0+ These tools are now included in
@fozikio/cortex-enginecore � no separate install needed. This package remains available for use with cortex-engine v0.x only. If you're on v1.0.0+, just install@fozikio/cortex-engine.
Cognitive reasoning plugin for cortex-engine. Higher-order thinking tools for abstraction, contradiction detection, signal surfacing, prospective memory, and explained retrieval.
Install
npm install @fozikio/tools-reasoningTools
| Tool | Description |
|------|-------------|
| abstract | Propose a higher-level concept that subsumes 2-10 memories using LLM reasoning |
| contradict | Record a contradiction between an observation and an existing belief or memory |
| surface | List unresolved cognitive signals -- contradictions, tensions, and gaps |
| intention | Set prospective memory reminders that surface when a trigger condition occurs |
| notice | Fast-path observation recording without embedding (embedded in next batch job) |
| resolve | Mark a cognitive signal as resolved with an optional note |
| query_explain | Semantic search over memory with LLM-generated relevance explanations |
Usage
# cortex-engine config
plugins:
- package: "@fozikio/tools-reasoning"import reasoningPlugin from "@fozikio/tools-reasoning";
import { CortexEngine } from "@fozikio/cortex-engine";
const engine = new CortexEngine({
plugins: [reasoningPlugin],
});Documentation
- Wiki — Guides, architecture, and full tool reference
- Plugin Authoring — Build your own plugins
- Contributing — How to contribute
License
MIT
