在 n8n 中使用 Amazon Bedrock AgentCore harness 运行生产级 AI 代理
摘要
本文介绍AWS发布的@aws/n8n-nodes-agentcore开源节点,将Amazon Bedrock AgentCore harness引入n8n,使开发者无需编写基础设施代码即可构建具备持久记忆、真实工具和多模型支持的生产级AI代理。
核心要点
- AgentCore harness现已正式可用,提供托管能力,包括编排循环、工具调用、上下文窗口管理、状态保持、故障恢复和会话隔离。
- 新的开源社区节点@aws/n8n-nodes-agentcore(版本0.3)已发布,采用MIT许可证,在n8n编辑器中可直接安装。
- 节点支持Amazon Bedrock、OpenAI、Google Gemini及LiteLLM支持的提供商,可在同一对话的turn之间切换模型提供商。
- 每个会话运行在隔离环境中,具备文件系统、shell、跨会话内存和网页浏览能力;配置不足时可导出到Strands代码。
- AgentCore harness由AWS开源代理框架Strands Agents驱动,节点使用与AWS Lambda和S3节点相同的AWS凭证模式。
原文佐证
- AgentCore harness, a capability of Amazon Bedrock AgentCore, is now generally available and provides that scaffolding for you.
- The node is open source under the MIT license, and AgentCore harness is powered by Strands Agents , the open source agent framework from AWS.
- The node works with Amazon Bedrock, OpenAI, Google Gemini, and LiteLLM-supported providers, and you can switch providers between turns of the same conversation.
AI 洞察
AWS将AgentCore harness与n8n集成,标志着AI代理正从单一模型调用走向可编排的生产级组件,降低了企业自动化中引入AI的门槛。这一趋势可能促使更多云厂商与工作流工具深度整合,使AI代理成为业务流水线的标准模块。未来,开发者将更关注代理的运维、内存与工具链,而非模型本身。