在任务进行中将上下文从一个代理转移到另一个代理

3作者: iamalizaidi6 天前原帖
你好,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