#10470·dspy

Proposal: optional durable memory via MemCode

Author: vivekgupta-memcodeCreated Sep 21, 2026Updated Sep 29, 2026
Labelsenhancement

What feature would you like to see?

Hi, I am Vivek Gupta Founder & CEO at memcode.in DSPy helps developers compose optimized LM programs and agent loops. Those programs can still forget successful examples, user preferences, and project decisions between runs; an optional durable memory adapter could make long-running programs more consistent.

MemCode can provide this as an optional integration rather than a rewrite: an MCP server for users running agent workflows, SDK/API hooks for native persistence, and a self-hosted/local or enterprise deployment where data must stay in the operator’s environment. We can keep it opt-in and scoped to saved memories such as decisions, preferences, project facts, and approved context.

If this fits your roadmap, I can open a focused PR or do a short call with maintainers. If you turn it into a paid integration or managed add-on, we’re open to discussing a 10% revenue share on attributable MemCode-related revenue, subject to your contributor, legal, and commercial policies, no commitment is required to evaluate the technical fit. https://memcode.in/leviathan

Would you like to contribute?

  • Yes, I'd like to help implement this.
  • No, I just want to request it.

Additional Context

No response

cc @isaacbmiller for your thoughts on this integration.