camel icon indicating copy to clipboard operation
camel copied to clipboard

[Feature Request] Add code memory for MCP tool calling workflow

Open Qihong-Pan opened this issue 1 month ago • 4 comments

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

Qihong-Pan avatar Nov 11 '25 01:11 Qihong-Pan

Is the method you're referring to the method proposed in this article? reference: https://www.anthropic.com/engineering/code-execution-with-mcp

fengju0213 avatar Nov 12 '25 03:11 fengju0213

@Qihong-Pan thanks for opening this issue!

fengju0213 avatar Nov 12 '25 03:11 fengju0213

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.

Qihong-Pan avatar Nov 12 '25 06:11 Qihong-Pan

If it's convenient, you can elaborate on this feature request. @Qihong-Pan

fengju0213 avatar Nov 12 '25 07:11 fengju0213