Postman 详解 Agent Mode 在 Amazon Bedrock 上的架构
在 Amazon Machine Learning 博客的一篇文章中,Postman 与 AWS 介绍了 Agent Mode 的生产架构。Agent Mode 是 Postman 中以 AI 原生方式开展 API 测试、文档、发现和实现的入口。文章称,团队原本预计模型质量和提示设计是最难的问题,但更深的挑战来自把一个智能体接入已有 11 年历史、围绕界面操作构建的成熟产品。文中描述的做法包括按任务动态限定工具、用基于 schema 的读取代替工具数量膨胀、为每类实体构建专用上下文处理器,并把上下文窗口当作稀缺预算管理;模型推理运行在 Amazon Bedrock 上,支持跨区域推理、多级提示缓存和依模型而定的数据保留设置。Agent Mode 在修改应用状态前要求用户批准,并使用 Amazon Bedrock Guardrails 对个人身份信息进行脱敏。Postman 称其生产实现为专有,未作为公开示例仓库提供。
文章称,在让成熟的界面型产品可被智能体理解时,上下文而非模型能力是主要瓶颈,并表示这些经验可帮助团队把生产级智能体推进到原型之外。
Building an AI agent for a demo and operating one for 40 million developers are different engineering problems. Postman set out to build Agent Mode, an AI-native way to work across API testing, documentation, discovery, and implementation. The team expected model quality and prompt design to be the hardest problems. The deeper challenges came from integrating an agent into a mature product with years of interface-driven assumptions, a wide surface area, and specialized concepts.
In this post, Postman and AWS describe the architectural patterns that emerged while making a mature product legible to an AI agent. These patterns include controlling tool sprawl, exposing schema-based reads, and treating context rather than capability as the primary bottleneck.
We also explain how Agent Mode uses Amazon Bedrock for model flexibility, geographically scoped cross-Region inference, model-dependent zero data retention, and multi-tier prompt caching. Together, these lessons can help teams move production agents beyond prototypes.
Why Postman built Agent Mode
Agent Mode is Postman’s portal for working with the product in an AI-native way across testing, documentation, discovery, and implementation. Postman has evolved over 11 years, and developers and users learned to locate information through the interface by expanding sidebars, checking tabs, and opening requests. Re-engineering that awareness for an agent surfaced structural assumptions in the product’s APIs, user experience, and distribution of product knowledge. An agent reasons over data rather than navigating a screen. Figure 1 illustrates how Agent Mode works directly against the application.
#Postman#Postman Agent Mode#Amazon Bedrock#AWS#Amazon Bedrock Guardrails#Claude