Passer au contenu principalAWS Startups
Langue du contenu
À l’heure actuelle, tous les contenus ne sont pas traduits.
  1. Apprendre
  2. Prove It, Part 1: Why "probably correct" is not good enough for your AI startup

Prove It, Part 1: Why "probably correct" is not good enough for your AI startup

Comment a été ce contenu ?

Startups winning in the AI era won’t be defined by the most advanced models or largest training datasets, but by trust. The key differentiator is whether users trust them, and whether they can answer “what happens when your AI is wrong?” with mathematical certainty, not just probabilistic assurance. In regulated markets, verification is becoming more important than model capability alone.

You just closed your seed round. Your AI-powered lending assistant went live last week with 200 beta users. On day three, a customer screenshots your chatbot telling them they qualify for a conventional mortgage with 8 percent down. They post it on social media. Your policy requires 20 percent.

Your co-founder sees it first. Your investor sees it second. Your legal counsel sees it third.

This is not hypothetical. It is the lived reality of building AI products in 2026. Three-person teams are shipping products that would have required fifty engineers two years ago, going from idea to MVP in days, not months.

But speed without verification is a liability. Generative AI has made it trivially and dangerously easy to ship something that hallucinates, contradicts your own policies, or gives your customers provably wrong answers. The gap between "we shipped" and "we shipped something trustworthy" is where startups fail.

The root cause is structural. Large language models are stochastic systems. They generate text by predicting the next probable token. This process involves randomness by design: temperature, sampling strategies, and top-k/top-p parameters all introduce variability. The same prompt can produce different answers on different runs. This is what makes LLMs creative and useful. It is also what makes them fundamentally unreliable for tasks that require correctness. Your model was not trying to give bad mortgage advice. It was predicting the most probable next token.

Every AI startup must resolve this tension: how do you build on probabilistic systems while delivering correctness guarantees to your customers, your regulators, and your investors?

What happens when AI gives the wrong answer?

When your AI gives incorrect guidance and a customer acts on it, you own the outcome. If your healthcare AI misstates a coverage decision across a few hundred patient interactions, HIPAA civil penalties range from $137 to $68,928 USD per violation depending on the severity tier, with annual caps reaching $2,067,813 USD per violation category under the latest inflation-adjusted figures. The fines can exceed your total funding before you even know there is a problem. Under the GDPR, fines for serious violations can reach €20 million EUR or 4 percent of total worldwide annual turnover, whichever is higher. For an early-stage startup processing EU customer data, this is not a fine. It is a shutdown. A fintech chatbot that approves a loan for someone who does not qualify creates regulatory liability. An insurance bot that misquotes coverage terms creates a contractual dispute you cannot win.

And beyond the direct penalties, there are second-order costs: the enterprise deal that falls apart because you cannot pass their security review, the SOC 2 audit that stalls because you cannot explain how your AI makes decisions, the Series A investor who asks "what happens when your AI is wrong?" and does not get a satisfying answer.

Why prompt engineering and RAG are not enough

Every startup building with LLMs has a version of the same safety stack: careful prompt engineering, retrieval-augmented generation (RAG), and some amount of manual review. These are good practices. They are also insufficient.

Prompt engineering is heuristic, not provable. You craft instructions that nudge the model toward correct behavior, but there is no guarantee the model follows them. When you upgrade to a newer model version, or adjust your system prompt to handle a new edge case, previously safe behavior can break silently. You are building safety on informal contracts with no enforcement mechanism.

RAG reduces hallucination probability by grounding the model in retrieved documents. This is a real improvement. But the model can still ignore, misinterpret, or selectively use the retrieved context. RAG shifts the probability distribution toward better answers. It does not eliminate the possibility of wrong ones. "Usually correct" is not a compliance strategy.

Manual QA does not scale with your growth. Even aggressive sampling (checking 10 percent of interactions) leaves 90 percent unverified. For a startup handling 100,000 customer interactions monthly, hiring reviewers to sample-check outputs costs hundreds of thousands of dollars annually. That is headcount you do not have on a seed-stage team, and you are still operating on hope for the 90 percent you did not check. This expense is not one-off. The way your customers phrase questions changes over time. The models themselves change beneath you. Previously reliable behaviors can degrade after a routine model update. Careful prompting that worked last month can silently fail next month. You have to continually evaluate, re-test, and adapt your QA process, making it a perpetual cost center rather than a problem you solve once.

The common thread is that all of these approaches reduce risk without providing certainty. When your investor asks "can your AI produce incorrect output?" the honest answer with these tools alone is "probably not, most of the time." That is not the answer that closes a Series A, or that satisfies a regulator.

What is automated reasoning?

Automated reasoning is a field of computer science that uses mathematical logic to provide assurance about what a system will or will not do. Unlike machine learning, which learns patterns from data, automated reasoning uses mathematical logic, theorem proving, and constraint solving to prove that specific properties hold across the infinite space of all possible inputs.

The distinction is critical. When a machine learning model says "this output is 95 percentx likely to be correct," it is making a statistical claim. When an automated reasoning system says "this output is valid," it has constructed a mathematical proof that the output satisfies every constraint you defined. There is no confidence interval. The proof either exists or it does not.

Automated reasoning is not a replacement for large language models (LLMs). Your chatbot still needs a language model to understand customer questions and generate natural responses. What automated reasoning provides is the verification layer on top: LLMs generate, automated reasoning verifies.

Together, they form the complete stack where creativity and correctness coexist. Your AI can still be conversational, helpful, and fast. But automated reasoning ensures it remains within the business and compliance constraints you define.

How AWS uses automated reasoning

AWS has been using automated reasoning in production for years, protecting the infrastructure that startups (and everyone else) run on.

  • Zelkova, the automated reasoning engine that underlies AWS IAM Access Analyzer, uses satisfiability modulo theories (SMT) solving to mathematically verify that your IAM and Amazon Simple Storage Service (Amazon S3) policies work exactly as intended, catching unintended access paths invisible to manual review
  • Cedar, now a CNCF Sandbox project, is the first authorization policy language built from the ground up to be verified with automated reasoning, and it powers Amazon Verified Permissions
  • The Nitro Isolation Engine, the first formally verified cloud hypervisor, ensures tenant isolation for Amazon Elastic Compute Cloud (Amazon EC2) with approximately 260,000 lines of machine-checked proofs
  • s2n-tls, AWS's open-source TLS library, uses formal proofs to verify that its cryptographic operations resist timing side-channel attacks

The point for startup builders is this: the mathematical verification techniques available to you through Amazon Bedrock and Amazon Bedrock AgentCore are not research prototypes. They come from the same engineering discipline that AWS uses to guarantee the durability of S3, the isolation of EC2, and the security of every TLS connection to AWS services. Until recently, accessing this discipline meant building an in-house team of formal methods PhDs, a luxury reserved for organizations with research lab budgets. Bedrock and AgentCore make it a pay-per-use API call.

How can startups use Automated Reasoning?

For startup teams, that same discipline of mathematical verification is now directly available through two products, each addressing a different layer of the AI trust problem. 

Automated reasoning checks in Amazon Bedrock Guardrails uses SMT-based formal logic (the same approach behind Zelkova) to verify that your LLM's output content follows your business rules. First, you define your policies: lending criteria, healthcare protocols, compliance rules, whatever your business requires. Then, the system translates them into formal logic and verifies every LLM response against those rules. When the model says something that contradicts your policy, the system catches it and tells you exactly which rule was violated and why.

For the mortgage scenario at the top of this post, the system would have caught the 8 percent down payment error and suggested the correct value for the LLM to rewrite the answer before it ever reached the user.

Policy in Amazon Bedrock AgentCore uses Cedar (open-source policy language for authorization) to enforce deterministic boundaries on AI agent actions. If you are building agentic applications where your AI makes critical decisions by invoking tools, whether that means accessing sensitive data, writing to external systems, or taking actions on behalf of users, Policy intercepts every agent-to-tool request at the gateway boundary and evaluates it against Cedar policies before execution. The enforcement is deterministic. It operates independently from the agent's reasoning and cannot be bypassed by prompt injection, hallucination, or bugs in your agent code. For a startup in healthcare, fintech, or legal, this means you can tell your regulator exactly what your agent can and cannot do, backed by mathematically validated policy.

The other systems in AWS's formal methods portfolio (the Nitro Isolation Engine, s2n-tls, s2n-quic, Dafny) benefit you indirectly: every EC2 instance you run sits on formally verified isolation, and every TLS connection uses formally verified cryptography. Bedrock Guardrails and Policy in AgentCore are where formal methods enter your application code directly.

Two layers, one principle: formal mathematical verification over stochastic trust.

What this series covers next

This is Part 1 of a three-part series. In Part 2: Formal Logic, Cedar Policies, and the Economics of Verification, we go under the hood: how automated reasoning policies work, how your business rules become formal logic, what the verification pipeline looks like, and the economics of mathematical verification versus manual QA teams. In Part 3: A Step-by-Step Implementation Playbook, we provide a hands-on guide with production-ready code patterns for integrating Bedrock Guardrails AR checks and Policy in AgentCore into your stack.


Harshvardhan Chunawala

Harshvardhan Chunawala

Harshvardhan Chunawala est architecte de solutions chez AWS et formateur agréé par l’AWS Academy ; il est basé aux États-Unis. Il collabore avec des dirigeants de grandes entreprises, des fondateurs de start-ups et des cadres supérieurs du monde entier afin de concevoir des infrastructures cloud évolutives et sécurisées sur AWS, tous secteurs confondus. Lauréat du prix AWS Golden Jacket, il travaille en collaboration avec plusieurs équipes d’Amazon pour développer et déployer des capacités cloud de pointe dans les domaines de la sécurité, des satellites et des services d’IA agentique fiables. En dehors de son travail chez AWS, c’est un technologue et un expert en sécurité cloud de renommée mondiale, fort de plus d’une décennie d’expérience. Il est également affilié à l’université Carnegie Mellon, où il contribue à la recherche et au mentorat dans les domaines du cloud computing et des technologies émergentes. Lorsqu’il n’est pas devant son clavier, il aime pratiquer le parachutisme et piloter des avions.

Mike Miller

Mike Miller

Mike Miller est directeur de la gestion des produits d’IA chez AWS, où il apporte son expertise sur des initiatives clés en matière d’IA générative, notamment les capacités de raisonnement automatisé visant à prévenir les hallucinations, Amazon Q et Amazon Bedrock. C’est lui qui a rendu public PartyRock, un environnement de développement sans programmation permettant de créer des applications d’IA générative, après qu’une version interne eut connu un succès fulgurant auprès des employés d’Amazon. Auparavant, M. Miller a dirigé l’équipe de leadership éclairé en machine learning chez AWS, où il a lancé AWS DeepLens, AWS DeepRacer et AWS DeepComposer, mettant ainsi le machine learning à la portée des développeurs du monde entier de manière ludique et captivante. M. Miller travaille chez Amazon depuis plus de 13 ans ; avant de rejoindre AWS, il dirigeait la gestion des produits Fire TV au sein de Lab126.

Rahul Kumar

Rahul Kumar

Le Dr Rahul Kumar est responsable senior des sciences appliquées chez AWS, où il dirige les efforts visant à développer des technologies de vérification pour les programmes Rust et C, ainsi qu’à faire progresser l’IA neurosymbolique qui combine de grands modèles linguistiques et le raisonnement automatisé. Chez AWS, M. Kumar pilote des initiatives open source, notamment le vérificateur de modèles Kani et le défi « Vérifier la sécurité de la bibliothèque standard Rust ». Titulaire d’un doctorat de l’université Brigham Young, il a auparavant travaillé sur la vérification formelle et l’analyse statique chez Microsoft Research et au JPL de la NASA, et a été maître de conférences au Caltech. Fervent défenseur de la démocratisation du raisonnement automatisé, il intervient régulièrement sur la manière dont les techniques de preuve mathématique peuvent éliminer les hallucinations de l’IA et garantir la correction des logiciels. Il est basé à Seattle, dans l’État de Washington.

Stefano Buliani

Stefano Buliani

Stefano Buliani est chef de produit principal au sein du groupe Raisonnement automatisé chez AWS, où il dirige les efforts visant à intégrer des capacités de vérification formelle à l’IA générative via les barrières de protection Amazon Bedrock. Ingénieur logiciel de formation, Stefano travaille chez AWS depuis plus de 12 ans, où il a occupé les fonctions d’architecte de solutions spécialisé et de chef de produit au sein des équipes chargées du sans serveur et du raisonnement automatisé. Dans le cadre de ses fonctions précédentes, il a aidé les clients à développer et à faire évoluer des applications sans serveur sur AWS Lambda et Amazon API Gateway. En dehors du travail, M. Buliani aime explorer les grands espaces de la région du Nord-Ouest Pacifique. Il est basé à Vancouver, au Canada.

Comment a été ce contenu ?