产品精选

LangChain与AWS推出AgentCore Payments,Agent可自动支付API费用

精选理由

LangChain和AWS搞了个AgentCore Payments,智能体调用付费API时自动付钱,不用你手动处理402,花钱记录还进LangSmith,方便查账。

LangChain与AWS合作发布了AgentCore Payments中间件,让智能体在调用付费API时自动完成支付。

正文

当工具请求遇到402错误时,中间件会对照会话预算检查价格、签名支付并重试请求。每次支付记录都会同步到LangSmith,与触发支付的推理步骤关联,便于追踪智能体消费原因。

该中间件旨在消除智能体调用外部服务的付费障碍,同时保留完整的可审计日志。

原文 · LangChain

Your agents can now pay for the APIs they use. We worked with AWS on the AgentCore Payments middleware. When a tool hits a paid API that returns a 402, it checks the price against your session budget, signs the payment, and retries. The agent gets its data and never has to handle the paywall. Every payment also lands in LangSmith next to the reasoning that caused it. It's not enough that the agent worked and paid, somebody is going to ask what it bought and why. Link to blog - langchain.com/blog/langchain…📊 5 ⚡

产业坐标与信源核验

本条情报归属 AITOP「产品」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:LangChain、AgentCore、AWS、智能体,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「LangChain」(@LangChainAI),经 AITOP 多维评分管线结构化提炼。

发现摘要或翻译有误? 告诉我们