Plugins
cortex-engine is extensible via plugin packages. Each plugin adds specialized MCP tools to your agent.
Available Plugins
| Package | Tools | Description |
|---------|-------|-------------|
| @fozikio/tools-threads | thread_create, thread_update, thread_resolve | Persistent thought threads |
| @fozikio/tools-journal | journal_write, journal_read | Session reflections |
| @fozikio/tools-content | content_create, content_update | Content pipeline |
| @fozikio/tools-evolution | evolve, evolution_history | Identity evolution |
| @fozikio/tools-social | social_post, social_schedule | Social platform tools |
| @fozikio/tools-graph | neighbors, graph_walk | Memory graph analysis |
| @fozikio/tools-maintenance | decay, deduplicate | Memory maintenance |
| @fozikio/tools-vitals | vitals_get, vitals_set | Agent health tracking |
| @fozikio/tools-reasoning | validate, reason | Cognitive reasoning |
Installation
Install the plugins you need:
npm install @fozikio/tools-threads @fozikio/tools-journal
Configuration
Register plugins in your cortex config:
// cortex.config.ts
import { defineConfig } from 'cortex-engine';
import threads from '@fozikio/tools-threads';
import journal from '@fozikio/tools-journal';
export default defineConfig({
provider: 'sqlite',
embeddings: 'ollama',
plugins: [threads(), journal()],
});
Building Custom Plugins
Plugins follow a standard interface. Each plugin exports a function that returns tool definitions compatible with the MCP protocol. See the source of any @fozikio/tools-* package for examples.
All plugins are MIT licensed and published under the @fozikio npm scope.