Tech
[分享创造] 关于自己的 agent-harness 的实践与迭代过程中一些好玩的点
无广告,手打,比较乱. 我是看代码, 翻到哪写哪. 为了避免任何意义上的广告或泄露行为(基本自用, 不想找麻烦), 我会打码比较多, 见谅.
现在当 claude 限速了, 改点小玩意, 会试试自己的. 大任务还是不太放心.
其实基本就是现在 agent 的 harness 框架,大部分都是抄 codex 和 claude code 的理论和方法.
桌面端用 wails 写的.
有时候我会问 claude 它自己有哪些工具,可以放到我的 agent (笑)
先放几个图
主要理论
给 agent 的 tool
这个是基础, 比如 ask_user_choice , memory , call_mcp , workspace , read image , save file , send file 等等, 没有 tool 就啥都干不了.
调用 tool 的方法
一般是 round trip, 让 agent 可以循环, 下一步做什么让 agent 自己决定.
tool 的反馈
tool 要给 ...
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX