Skip to content

feat: add memory/document management to Agno, Mastra, and Raycast plugins - #30

Merged
senamakel merged 3 commits into
tinyhumansai:mainfrom
YellowSnnowmann:feat/plugins
Mar 20, 2026
Merged

feat: add memory/document management to Agno, Mastra, and Raycast plugins#30
senamakel merged 3 commits into
tinyhumansai:mainfrom
YellowSnnowmann:feat/plugins

Conversation

@YellowSnnowmann

Copy link
Copy Markdown
Contributor

Overview

Adds support for the newer Neocortex memory management endpoints, including:

  • documents
  • context/query/chat
  • interactions
  • thoughts
  • related admin/job endpoints

This update spans the Agno, Mastra, and Raycast plugins, along with updated examples and documentation.


Changes

  • packages/plugin-agno

    • Extend NeocortexTools with new document + context management tool wrappers
    • Update example and README
  • packages/plugin-mastra

    • Enhance tool/client layer to support document + context/interaction/thought workflows
    • Update README
  • packages/plugin-raycast

    • Update plugin client and command/index wiring to support new memory management features
    • Update README

Testing

  • Run: python example.py

    • In directory: packages/plugin-agno
  • Run: npx tsx e2e.ts

    • In directory: packages/plugin-mastra
  • Smoke test Raycast commands:

    • In directory: packages/plugin-raycast
    • Ensure new commands appear and call correct endpoints

Notes

  • Some endpoints (e.g., cache-chat/conversation chat) may be backend-specific or disabled depending on server configuration

- Updated README.md to reflect the addition of new endpoints for saving, recalling, deleting, and managing documents, interactions, and memory synchronization.
- Expanded the NeocortexMemoryClient class in client.ts to include methods for syncing memory, recalling thoughts, and managing documents.
- Introduced new types and schemas in types.ts to support the new functionalities, ensuring type safety and clarity.
- Enhanced the createNeocortexMastraTools function in index.ts to expose the new tools for document management and memory interactions.
….md for Neocortex plugin
- Added a .gitignore file to exclude unnecessary files and directories from version control.
- Updated example.py to include detailed instructions for saving and recalling memories, as well as managing document workflows.
- Enhanced README.md to clarify the available tools and their functionalities, including new document management features and memory interaction methods.
- Updated README.md to include a comprehensive list of new tools for memory synchronization, document management, and interaction recording.
- Expanded the NeocortexMemoryClient class in client.ts with methods for syncing memory, inserting documents, and managing document batches.
- Enhanced the RaycastNeocortexMemory class in index.ts to expose new functionalities and schemas for memory operations, ensuring type safety and clarity.
- Improved the overall structure and documentation for better usability and understanding of the new features.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@YellowSnnowmann@senamakel