@open-engram/mastra
v1.0.1
Published
Mastra plugin for Open-Engram memory architecture
Downloads
156
Readme
@open-engram/mastra
Mastra plugin for the Open-Engram memory architecture.
Install
npm install @open-engram/mastra @open-engram/coreUsage
import { EngramClient } from '@open-engram/core';
import { createEngramTools } from '@open-engram/mastra';
const client = await EngramClient.create();
const tools = createEngramTools(client);
// Use with a Mastra agent
const agent = new Agent({
tools: {
...tools,
},
});Tools Provided
| Tool | Description |
|---|---|
| engram_sense | Ingest events into sensory buffer |
| engram_focus | Run attention gate, update working memory |
| engram_recall | Search across episodic + semantic stores |
| engram_remember | Write facts to semantic store |
| engram_checkpoint | Snapshot working memory to episodic store |
| engram_consolidate | Run consolidation pipeline |
| engram_forget | Remove a specific record |
| engram_status | Get memory stats |
Peer Dependencies
@open-engram/core^1.0.0@mastra/core^0.5.0
License
Apache-2.0
