在 re:Invent 大会上,AWS 以数学漏洞检测工具和自我学习智能体加速智能体编码
人工智能智能体在短短时间内取得了长足的进步,但 Amazon Web Services Inc. 认为仍有改进空间。它们不仅应该能更快地生成更多代码,还应确保其代码不会出错,如果能从经验中汲取教训那就更好了。
基于此,该公司在今晚的年度大会 AWS re:Invent 2026 上宣布了一系列更新,旨在提升软件可靠性并增强人类开发者与 AI 智能体之间的协作。
这些发布内容出自面向开发者的晚间主题演讲,包括 AWS 所称的 Project Code Confidence(或 Project C2)这一重大新计划,该计划引入了一种全新的漏洞检测技术,借助数学推理来发现其他 AI 模型遗漏的缺陷。同时发布的还有 AWS Kiro Crews——一个编码智能体的协作工作区,它们可以互相学习彼此的错误和正确做法,以及升级版 AWS Amplify,该公司表示它将帮助开发者更快地发布新应用。
Amazon 开启漏洞猎捕
如果说 AI 已证明自己在某方面确实出色,那一定就是生成代码。自主软件开发如今已成为绝大多数企业的标准做法,但即使是最好的编码智能体仍然会犯错。
正如 AWS 所指出的,这些错误相对来说比较罕见,但问题在于,随着 AI 编码机器人的规模不断扩大,这类错误出现的频率会越来越高。当一家公司每天要推送数十亿行代码时,即使是那些"百万分之一"的错误也可能出现数百次。这使得大规模生成的 AI 代码成为一个极其高风险的命题。
在利用 AI 挖掘这些罕见缺陷方面,已经取得了许多进展,但正如 AWS 所指出的,即使是最优秀的前沿模型本身仍存在一些缺陷。问题在于,分布式、多线程的软件系统拥有太多变量,无法得到充分的测试。根据 AWS 的说法,在如此规模下识别 bug 类似于洗牌,一副牌可以有 8¹⁰⁶⁷ 种不同的排列方式。这是一个 8,后面跟着 67 个零。
Project C2 的解决方案是将大语言模型与 Lean 定理证明器等数学验证工具相结合。其工作原理是,它读取代码及其配套文档,试图理解代码的意图。之后,它会运用其高级推理能力来构建数学证明,以验证代码是否能在所有可设想的现实场景中可靠运行。
如果出现代码似乎无法可靠运行的情况,它将生成一个现实测试来验证该 bug 确实存在。然后,它会评估该 bug 的严重程度,并为开发者建议修复方案。
据 AWS 称,Project C2 已在 22 个流行开源软件项目中接受测试,并发现了众多缺陷,包括在一个广泛使用的 Rust 语言性能分析库中发现的 9 个缺陷。它还发现了一个知名开源内存数据库中的若干数据丢失风险,以及一个基于 Raft 的、用于支付系统的分布式键值存储中的租约撤销漏洞,该漏洞可能导致每笔交易向客户重复扣款。
AWS 表示,正在以早期访问形式开放 Project C2,并邀请感兴趣的开发者申请。它还将利用 Project C2 提升自身服务的安全性,包括 Amazon Aurora、DynamoDB 和 Elastic Block Store。
自学习 AI agent
发现漏洞并非提升 AI 的唯一途径。AWS 认为,自主 agent 可以随时间推移相互学习,并正通过 AWS Kiro Crews 来验证这一点。这是一个面向 AI 编码机器人的协作工作区,鼓励它们以团队形式协同工作,而非在单个开发者的控制下孤立运行。
Kiro Crews 使开发者能够创建由 AI agent 组成的"共享编队",共同协作完成软件项目。其理念在于:当开发者纠正某个犯错的 agent 或向其解释应遵循的最佳实践时,这些知识将作为可复用的"技能"共享给编队中的每一个其他 agent。
Kiro Crews 最大的优势在于协作。随着每个团队从工作中不断学习,开发者将能够超越逐条输入提示的方式,而是直接为团队分配持续性的职责。例如,开发者可以告诉一个团队,每当有新的 pull request 出现时立即进行审查,每晚更新若干 dependencies,或者调查安全警报。最重要的是,Kiro Crew 智能体将在开发者所在的任何地方可用,涵盖 Kiro 集成开发环境、命令行界面、网页和移动设备,以及 Kiro Crew 本身。
应用发布提速
人们很容易认为,能够编写更干净、无 bug 代码的自学习 AI 智能体会让开发者的生活变得比以往更轻松,但只要他们仍需要手动启动基础设施、数据库、身份验证系统以及让软件运行所需的一切,情况就并非如此。事实上,AI 生成代码的海量规模反而让开发者比以往更忙,他们几乎忙不过来。
正因如此,AWS 还推出了一款全面升级的 AWS Amplify 服务,旨在自动化消除大部分配置摩擦。该服务将托管、数据库和用户登录等一切整合到一个运行在 AWS 云上的单一系统中,并实现全面自动化。公司声称,通过这一举措,开发者将能够在不到一分钟内启动其应用程序,并将其扩展至数百万用户。
AWS Amplify 专为使用自主 Agent 的开发者设计,提供统一的应用编程接口,以及面向 Agent 的专用工具,包括 Claude Code、Cursor 和 AWS Kiro。其他功能包括用于在私有预览中测试新应用程序的预发布环境、通过 AWS 的 Agent Toolkit 轻松配置安全护栏,以及一键回滚。该产品即将推出,提供免费的开发者试用层,以及面向全天候使用用户的固定费率定价。
图片:AWS
SiliconANGLE 联合创始人 John Furrier 的一则留言:
通过参与 theCUBE 社区,支持我们保持内容开放和免费的使命。加入 theCUBE 校友信任网络,让科技领导者在这里建立联系、分享智能并创造机遇。
- 超过 15M 的 theCUBE 视频观众,推动 AI、云、网络安全等领域的对话
- 超过 11.4k 名 theCUBE 校友 — 通过独特的信任型网络,与 11,400 多名塑造未来的科技和商业领导者建立联系
您是 AWS 客户吗?请通过我们的 Marketplace 门户页面和链接购买 AWS 服务,在资金上支持 SiliconANGLE:https://SiliconANGLE.com/AWS-marketplace/
关于 SiliconANGLE Media
由科技远见者 John Furrier 和 Dave Vellante 创立,SiliconANGLE Media 已构建了一个由行业领先数字媒体品牌组成的动态生态系统,触达超过 15+ 万精英科技专业人士。我们全新的专有 theCUBE AI Video Cloud 正在开创观众互动的新领域,利用 theCUBEai.com 神经网络帮助技术公司做出数据驱动的决策,并始终走在行业对话的最前沿。
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
At re:Invent, AWS accelerates agentic coding with mathematical bug-hunting tools and self-learning agents
Artificial intelligence agents come a long way in a short space of time, but Amazon Web Services Inc. believes there’s still room for improvement. Not only should they be able to generate more code, faster, but they should also make sure their code doesn’t break, and it would be nice if they could learn from the experience too.
With that in mind, the company announced a host of updates tonight at its annual conference AWS re:Invent 2026, aiming to boost the reliability of software and enhance collaboration between human developers and AI agents.
The announcements, made at an evening keynote for developers, include a major new initiative AWS is calling Project Code Confidence, or Project C2, which introduces an entirely new bug-hunting technique that leans on mathematical reasoning to unearth flaws that other AI models miss. It was announced alongside AWS Kiro Crews, a collaborative workspace for coding bots to learn from each other’s mistakes and the things they do right, and a revamped AWS Amplify that the company says will help developers ship new applications faster.
Amazon goes bug hunting
If there’s one thing that AI has proven itself to be really good at, it has to be generating code. Autonomous software development has become a standard practice at the vast majority of enterprises today, but even the best coding agents still make mistakes.
As AWS points out, those mistakes are relatively rare, but the problem is that they become more prevalent the more that AI coding bots scale. When a company is pushing out billions of lines of code every single day, it means that even those “one-in-a-million” errors can show up hundreds of times. And that makes AI-generated code at scale an extremely risky proposition.
There has been a lot of progress in terms of using AI to unearth these rare flaws, but as AWS points out, even the best frontier models are still somewhat flawed themselves. The issue is that distributed, multithreaded software systems have far too many variables to test properly. According to AWS, identifying bugs at such scale is similar to shuffling a pack of cards, which can be ordered in any one of 8¹⁰⁶⁷ different ways. That’s an eight, followed by 67 zeroes.
Project C2’s solution to this is to pair large language models with mathematical verification tools such as the Lean theorem prover. The way it works is that it reads the code and the supporting documentation to try and understand its intent. After that, it will use its advanced reasoning skills to create mathematical proofs that verify whether the code will hold up in every conceivable real-world scenario.
n case it stumbles upon a situation where the code doesn’t appear to hold up, it will generate a real-world test to verify the bug is real. It will then rate the severity of the bug, and suggest a fix for developers to implement.
According to AWS, Project C2 has been put to the test across 22 popular open-source software projects and already found numerous flaws, including nine in a widely-used Rust language profiling library. It also found several data-loss risks in a well-known open-source in-memory database, and a lease-revocation bug in a Raft-based distributed key-value store used in payment systems, which had the potential to charge customers twice for each transaction.
AWS said it’s making Project C2 available in early access and inviting interested developers to apply. It will also be using it to improve the security of its own services, including Amazon Aurora, DynamoDB and Elastic Block Store.
Self-learning AI agents
Finding bugs isn’t the only way to improve AI. AWS believes that autonomous agents can also learn from each other over time, and with AWS Kiro Crews it’s trying to prove that. It’s a collaborative workspace for AI coding bots that encourages them to work together as teams, rather than in isolation, controlled by a single developer.
Kiro Crews enables developers to create “shared crews” of AI agents that work together on software projects. The idea is that when a developer corrects an agent that made a mistake or explains a best practice it should follow, the knowledge is shared with every other agent in the crew as a reusable “skill.”
The biggest advantage of Kiro Crews is collaboration. As each crew learns from its work, developers will be able to go beyond just typing out prompts one at a time and instead just give their crews ongoing responsibilities. For instance, a developer might tell a crew to review every new pull request the moment it shows up, update a number of dependencies each night or investigate security alerts. Best of all, Kiro Crew agents will be accessible wherever developers live, across the Kiro integrated development environment, command line interface, the web and mobile, and in Kiro Crew itself.
Accelerated app launches
It’s tempting to think that self-learning AI agents that write cleaner, bug-free code will make the lives of developers easier than ever, but that’s not really true so long as they have to manually spin up the infrastructure, databases, authentication systems and everything else required to get software up and running. In fact, the sheer volume of AI-generated code has made developers busier than ever, and they can barely keep up.
That’s why AWS is also introducing a revamped AWS Amplify service, which aims to automate away much of this configuration friction. The service bundles everything from managed hosting to databases and user sign-in into a single system that runs on the AWS cloud and automates everything. By doing this, the company claims, developers will be able to launch their applications in less than a minute and scale them to millions of users.
AWS Amplify is designed specifically for developers who’re using autonomous agents, and provides a unified application programming interface, plus dedicated tools for agents including Claude Code, Cursor and AWS Kiro. Other features include staging environments for testing new applications in private preview, easy to setup safety guardrails through the Agent Toolkit for AWS, and one-click rollbacks. It’s launching soon, with a free tier for developers to check it out, and flat-rate pricing for those who decide to use it all the time.
Images: AWS
A message from John Furrier, co-founder of SiliconANGLE:
Support our mission to keep content open and free by engaging with theCUBE community. Join theCUBE’s Alumni Trust Network, where technology leaders connect, share intelligence and create opportunities.
- 15M+ viewers of theCUBE videos, powering conversations across AI, cloud, cybersecurity and more
- 11.4k+ theCUBE alumni — Connect with more than 11,400 tech and business leaders shaping the future through a unique trusted-based network
Are you an AWS customer? Support SiliconANGLE financially by buying your AWS services from our Marketplace portal page and links: https://siliconangle.com/aws-marketplace/
About SiliconANGLE Media
Founded by tech visionaries John Furrier and Dave Vellante, SiliconANGLE Media has built a dynamic ecosystem of industry-leading digital media brands that reach 15+ million elite tech professionals. Our new proprietary theCUBE AI Video Cloud is breaking ground in audience interaction, leveraging theCUBEai.com neural network to help technology companies make data-driven decisions and stay at the forefront of industry conversations.
Auto-fetched and translated by AI Atlas. All rights belong to the original author.