在任务进行中,将一个代理的上下文传递给另一个代理

3作者: iamalizaidi8 天前
你好 HN, 如果您将您的代理与 Decispher 集成,您可以通过两种方式在代理之间传输上下文: 1) 如果您正在使用 Git 分支工作,那么 BranchStory 功能会持续记录您的会话活动,例如用户提示 -> 代理推理 -> 代理操作 -> 已编辑文件。这些记录可以被接手任务的其他代理/人类回放。代理还可以为其他代理编写交接说明。 2) 如果您通过 Decispher MCP 连接,那么该 MCP 会为您提供一个带有 copy_context 和 paste_context 的工具。Copy_context 工具会给您一个密钥,您可以在任何机器上的任何其他代理中使用该密钥作为 paste_context(key),您的聊天上下文就会被传输。 请访问 decispher.com 尝试。
查看原文
Hello HN, If you integrate your agents with decispher you can transfer context from one agent to another agents in 2 ways -:<p>1) If you are working on git branch then branchstory feature keeps on recording your session activity like user prompts -&gt; agent&#x27;s reasoning -&gt; agent&#x27;s action -&gt; edited files. These recordings can be played by other agent&#x2F;human taking up task next. Agents can also write handoff note for other agents.<p>2) If you are connected using Decispher mcp then this mcp provides you a tool with copy_context and paste_context. Copy_context tools gives you a key which you use as paste_context(key) inside any other agent on any machine and your context of chat will be transfered.<p>Try at decispher.com