Mastra memory
Plan memory integration for Mastra with a scoped Ditto graph and a repeatable retrieval test.
Guide in preparation. The setup below is a planning outline, not a tested framework implementation or a completed product comparison. Use the linked documentation for currently supported interfaces.
Choose the memory boundary
Decide what this Mastra application should retain across runs. Create a dedicated graph for the project so the evaluation does not mix test data into your main memory.
Validate the connection
Use Ditto's documented MCP endpoint and authentication requirements. Confirm the transport and adapter supported by your installed Mastra version before wiring tools into the agent. A framework-specific implementation guide is still pending validation.
Test across two runs
Save a harmless project decision in one run. In a separate run, retrieve it, inspect the stored record and verify the agent uses it. Check that the key cannot access an unrelated graph, then revoke test credentials.