supermemory/packages/tools/src
nexxeln 9553434c9a mastra integration (#717)
adds withSupermemory wrapper and input/output processors for
mastra agents:

- input processor fetches and injects memories into system prompt
before llm calls
- output processor saves conversations to supermemory after
responses
- supports profile, query, and full memory search modes
- includes custom prompt templates and requestcontext support

const agent = new Agent(withSupermemory(
{ id: "my-assistant", model: openai("gpt-4o"), instructions:
"..." },
"user-123",
{ mode: "full", addMemory: "always", threadId: "conv-456" }
))

includes docs as well

this pr also reworks how the tools package works into shared modules
2026-02-03 00:43:08 +00:00
..
mastra mastra integration (#717) 2026-02-03 00:43:08 +00:00
openai mastra integration (#717) 2026-02-03 00:43:08 +00:00
shared mastra integration (#717) 2026-02-03 00:43:08 +00:00
vercel mastra integration (#717) 2026-02-03 00:43:08 +00:00
ai-sdk.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
claude-memory-simple-example.ts feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
claude-memory.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
conversations-client.ts Support for conversations in SDKs (#618) 2025-12-20 00:46:13 +00:00
index.ts feat: withSupermemory for openai sdk (#531) 2025-10-27 20:08:11 +00:00
mastra.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
tools-shared.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
tools.test.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
types.ts feat: tools package strict mode for openai models (#699) 2026-01-23 03:15:39 +00:00