Amazon Web Services has a new favorite customer, and it doesn’t drink the free coffee at re:Invent. Or grab swag from the endless partner booths in the Venetian Expo Hall. In fact it doesn’t even breathe.

The new customer? It’s an AI agent. Or, more accurately, billions of agents.

Meredith Whalen, IDC’s Chief Research Officer, recently told me that enterprises are preparing for billions upon billions of agents, likely vastly outstripping the number of humans on the planet. And AWS is hearing the message.

“At AWS, we always listen to our customers, and today the customer is an agent,” Julia White, the chief marketing officer for AWS, told hundreds of journalists to a overflow crowd of reporters at a press briefing here at the company’s re:Invent conference in Las Vegas on Monday.

AWS seems to mean it. Almost every major announcement – and there are many this week – is aimed at the same problem: agents can now do real, multi-step consequential work, but most companies still don’t trust them enough to let them. (Small wonder, considering all the hacking and security vulnerabilities we’re learning about day after day in the AI era.) So companies keep a human in the loop, checking every step, which kills most of the value of having an agent in the first place.

AWS says the blockers fall into three buckets: trusting agents to do what you want (and not what you don’t), controlling what they cost, and securing both the agents and everything they touch.

“Agents move fast, and they can spin up costs fast,” White said.

So AWS is building a whole computing stack for the new first-class citizen of the digital world:

  1. A new open-weights AI model
  2. New chips to run it
  3. A data platform rebuilt around DuckDB (which is apparently optimized for agentic computing)
  4. A free context graph that gives agents better information so they provide better results
  5. Identity for agents (and their sub-agents) so we (and other agents, and security systems) know who they are
  6. And, perhaps most interestingly, a service that uses mathematical proof to keep agents inside the lines, somewhat like mathematicians trust Lean to always provide perfect proofs

Let’s start there, because it’s perhaps the most novel thing AWS announced.

Can Amazon Make AI Agents Follow The Rules?

AWS Greenlight, now in preview, uses automated reasoning to turn a company’s policies into deterministic rules that agents can’t break. Automated reasoning is a branch of computer science that uses mathematical logic to prove whether a statement about a system is true across every possible path, not just the ones someone thought to test, and AWS has been using it internally for more than a decade. It’s how AWS determines exactly who can reach which resources, and it’s also how AWS checks whether a storage resource is exposed to the internet through any possible route.

The problem with agents is that they’re non-deterministic. That’s also their strength, but corporations have never wanted too much independence from human employees, and they’re even less keen on it from digital workers.

If you constrain agents too much, they stop being useful. On the other hand, if you give them too much freedom, they do things you can’t predict, and some of those could be dangerous or costly, or both. About 18 months ago, AWS’s automated reasoning team sat down with its agentic AI team to see if they could make a non-deterministic system follow deterministic rules.

The answer, AWS says, is yes. (I’m not sure if that’s the agentic version of the P = NP problem, but here we are.)

Here’s how it works: companies describe their rules in natural language. Greenlight can also draft rules from a company’s business data, procedures, security standards, and runbooks, plus prior agent behavior. The system checks those rules for gaps and conflicts, including arcane combination of access permissions that could unexpectedly let an agent do something nobody intended. Importantly, once the rules are approved, they’re not enforced inside the agent’s reasoning loop, where a goal-seeking agent might find its way around them. They’re deployed to an enforcement engine that sits outside the agent’s harness where the agent can’t see or change them. Every action gets checked. Any action that breaks a rule gets blocked.

This may introduce some performance overhead, but it could also make autonomous AI agents safer to deploy.

AWS Chief AI & Technology Officer Matt Wood used a refund analogy in a blog post about the launches. A new customer service rep needs a manager’s approval to issue refunds. Over time, the business gives that rep authority up to a certain amount, under certain circumstances.

“We need to help customers do something similar with agents,” Wood writes. “Customers should be able to choose which decisions agents make independently and which require human approval, based on the consequences of the decision and the evidence of how the agent performs.”

Customers have been testing this, including Delta Air Lines and LoanLogics, which audits mortgages against thousands of policies from government agencies, investors, and banks.

“In mortgage lending, knowing a loan passed isn’t enough, and AWS Greenlight lets you show why and that every step is accounted for,” LoanLogics EVP Terrell C. Cassada said in a statement.

Salesforce, ServiceNow, Datadog, Accenture, and PwC are among the other companies AWS says are lining up. Developers can access it as a plugin for Claude Code or Codex, then just prompt “govern my agent.”

(As someone who employs multiple agents, this is literally a problem I face. One of the agents I use to create is consistently overspending its budget, and technology like this could allow me to restrain it as it approaches limits.)

One caveat of course is that automated reasoning can prove an agent will follow the rules, but it can’t prove the rules are the right ones. Corporations are made of people, and people make mistakes.

Giving AI Agents Their Own Identities

Rules also need to apply to the right agent, and right now a lot of people are simply handing agents huge levels of personal and corporate permissions just because there isn’t a better option. AWS is launching IAM for agents to give each agent its own verifiable identity, generated dynamically at runtime, cryptographically verifiable, and extended to any sub-agents it spins up. (Agent identity is a problem a lot of people are working on: Vint Cerf recently joined a project giving agents identifiers too.)

Then there’s proving all of this to the people who ask. Agents can change behavior even if nobody touches their code thanks to model changes, new prompts or new tools. So Amazon’s new AWS Assurance continuously collects and versions evidence and maps it to 15 compliance frameworks.

Controlling The Cost Of AI Agents

Trust is just one of the potential blockers, of course. Cost is another. (Remember my agent that keeps overspending its budget?)

Agents burn tokens, and a lot of companies have been holding back because they’re worried about runaway bills. Amazon Bedrock Gateway, now available in limited preview, lets companies connect an identity provider, decide which teams can use which models, and assign budgets to users and groups. Because it’s a gateway, limits are enforced before a request hits the model, not discovered on next month’s invoice. Spending shows up within minutes – good because on frontier models, tokens go fast – and it’s broken down by model, provider, token type, and identity. Companies can choose alerts or hard blocks.

Amazon’s Bet On Faster, Cheaper AI

AWS also wants to make the tokens themselves cheaper, which brings us to Amazon Ergo.

Ergo is a new open-weights AI model from Amazon, built for software engineering and agentic work. It’s a mixture-of-experts model with 1.1 trillion total parameters, 55 billion active per token, and a 1 million token context window. The weights are on Hugging Face under a free license that allows commercial use. On Bedrock, it costs $1 per million input tokens and $3 per million output tokens, and runs at more than 400 output tokens per second.

It’s not the smartest model available. On Amazon’s internal software engineering benchmark, Ergo scores 65.4, versus 85.3 for Anthropic’s Opus 5.5 and 80.8 for OpenAI’s GPT-6 Astra. On the public DeepSWE benchmark, it trails Kimi K3.1 Pro, 74.2 to 77.9, while edging out Opus 5.5’s 71.3. Amazon says it ranks first among U.S. open-weights models on all seven coding benchmarks it reports.

The pitch is cost and speed. Compared with Opus 5.5, Wood says Ergo completed tasks 3.5X as fast at one-tenth the cost on Amazon’s held-out evaluations. Against Kimi K3.1 Pro, it was 50% faster at about 10% lower cost.

I haven’t tested it myself yet, but a less capable model is often sufficient. Not everything needs an expensive frontier model, and using mid-grade models is a smart decision depending on the type of work you want your agents to do.

Also, Ergo can go even faster. It was co-designed with Trainium3SR, a new system that pairs Trainium3 with a new SRAM-based chip. Trainium3 handles prefill, reading the prompt. The SRAM chip handles decode, generating the answer token by token, which is where memory bandwidth becomes the bottleneck. In “turbo mode,” Ergo hits 2,200 output tokens per second, nearly 5X its standard speed. That’s seriously fast. Turbo mode is currently in limited preview, with pricing to come.

(Anyone who’s watched a coding agent grind through a task for 20 minutes knows why that matters. When an agent takes hundreds of steps, a 5X speedup per step is the difference between a coffee break and a lunch break.)

Rebuilding Cloud Data For AI Agents

Data is the third leg, and AWS is betting big on an open source database most enterprise buyers had never heard of until recently. I certainly hadn’t.

“The data came back loud and clear that agents choose DuckDB time and time again,” White said.

So AWS went all in. It brought in DuckLabs, the team that created DuckDB, which now operates as part of AWS. Amazon Athena is now powered by DuckDB in preview, running queries up to twice as fast as the previous engine and cutting costs up to 50% on queries of 100 gigabytes or more. DuckDB is coming to other AWS services like EMR and Redshift as well, and DuckDB SQL – slightly different than standard database query language – is becoming the common dialect across AWS analytics. The idea is that agents fire off dozens of queries at once and want answers in milliseconds, and every SQL dialect mismatch between systems is another chance for an agent to stumble.

Agents also need to know what the data means. AWS Context builds a graph of how a company’s data connects and what its business terms mean, which will help agents make smarter decisions. And AWS is making it free to create and store context graphs across its database and analytics services.

Spanish bank BBVA tested it for assessing default risk during loan processing.

“In banking, a confident wrong number is worse than no number at all,” BBVA head of data for AI Gregorio Blanco said in a statement. “Before AWS Context, our agents only had raw data, so just 54% of their answers were right. In early testing with AWS Context, the agent uses our business rules, asks when something is undefined, and learns from every correction, which raised accuracy to 89% in early testing and up to 97% after corrections.”

That’s impressive. 3M says accuracy on its top questions doubled.

Fighting AI-Powered Cyberattacks With AI

Finally, there’s also security, where fairly obviously, the entire digital landscape has been upended in just the past nine months thanks to AI.

Frontier AI models are now finding vulnerabilities that have sat undiscovered for decades, and attackers have access to perhaps not quite as good but still similar tools. AWS says the time from finding a vulnerability to exploiting it has collapsed from hours to minutes.

So AWS Continuum, Amazon’s autonomous security service, runs on frontier cyber models including Anthropic’s Mythos and OpenAI’s GPT-6 Cyber, which very few companies can access directly, and three new Continuum capabilities launched in preview today. These capabilities will block malicious open source packages, agent skills, and MCP servers before developers or their agents install them, investigate alerts on live systems, isolate resources or quarantine credentials on its own and even hunt down “shadow agents” that developers deployed without telling anyone.

“AI-driven attacks are moving faster than ever, and teams need defenses that move at machine speed,” Robinhood CISO Evan McHenry said in a statement.

OpenAI is also making GPT-6 Cyber available to eligible customers on Bedrock, with Sam Altman joining the keynote. OpenAI is offering eligible customers up to $50,000 each to get started with its cyber models, up to $25 million in total AWS credits, and Continuum is being integrated with Codex Security so developers see issues inside their existing tools.

And for the code agents are writing at record pace, AWS announced Project C2, which combines large language models with automated reasoning to find deep bugs, especially concurrency issues hiding in rarely used error-handling code. It’s open to only a small number of customers for now.

“It just runs through millions, sometimes billions of paths in that code,” an AWS representative said.

A year ago, Amazon was already using AI agents to find bugs. Now it’s pointing proof engines at them too.

AWS spent the last 20 years building a cloud for developers. It’s now rebuilding it for software that writes its own queries, spends its own budget, and needs to be watched by other software.

“There’s still so much for all of us to learn about working with agents,” Wood writes.