GitHub · 灵魂体仓库·· 20 天前AI 评分52
AgentCompile 发布 agentcompile-js,将 Agent 重复任务编译为免模型调用的固定例程
kbhatnagar1506/agentcompile-js
来源与原文
GitHub · 灵魂体仓库
发布时间:(北京时间)
阅读原始来源 · github.com ↗完整链接与内容说明
https://github.com/kbhatnagar1506/agentcompile-js
本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。
AI 导读
kbhatnagar1506 在 GitHub 发布 agentcompile-js,一个包装 OpenAI 或 Anthropic 客户端的 SDK:自动识别 Agent 重复执行的任务,编译成经过验证的例程,命中时不再调用模型,其余请求原样转发并使用用户自己的 provider key。SDK 支持 fail-open、shadow 模式、流式响应、Responses API 及通过 captureFetch 接入 Vercel AI SDK、LangChain.js 等框架,本地对邮箱、卡号等个人数据先做 token 化脱敏再上传,Node 20+ 可用,采用 Apache-2.0 许可证。
来源:GitHub · 灵魂体仓库 · github.com