[Feature Request] Add code memory for MCP tool calling workflow
Required prerequisites
- [x] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
- [ ] Consider asking first in a Discussion.
Motivation
This feature can significantly refine the MCP tool invocation workflow, enabling the agent to execute tools with greater speed and circumvent redundant exploration of similar issues. More importantly, it ingrains successful invocation patterns into code memory, achieving continuous evolution of solutions and thereby consistently enhancing its capability to handle a specific category of problems.
Solution
No response
Alternatives
No response
Additional context
No response
Is the method you're referring to the method proposed in this article? reference: https://www.anthropic.com/engineering/code-execution-with-mcp
@Qihong-Pan thanks for opening this issue!
Is the method you're referring to the method proposed in this article? reference: https://www.anthropic.com/engineering/code-execution-with-mcp In code-execution-with-mcp, I’m not sure if it includes a memory-like functionality for skill reuse.Feature #3401 lets the agent search for tools, dynamically load them, and run tools via code.This Feature’s main point is: once code runs successfully,save the code and its function descriptions as memory.That way, when the agent meets similar tasks, it can reuse the code directly, tweak it, or update that memory.
If it's convenient, you can elaborate on this feature request. @Qihong-Pan