Automating Domino's local competitor pricing research.Read the case study
Articles

From Demo to Production: A Head of AI's Guide to Shipping the First Agents

Brainbase teamUpdated
Table of Contents

Quick answer

If you're a new Head of AI, the fastest safe path from agent demo to production is to write the success criteria first, turn them into a test suite, and pick a platform that runs that suite on every change before it reaches users. The platform choice comes after the criteria, not before.

  • Many internal agents across models and harnesses, with test gates before deploy and checks on live work: Brainbase
  • Your engineers write agents in code and want deep tracing, datasets, and CI evals: LangGraph with LangSmith
  • AWS is your standard cloud: Amazon Bedrock AgentCore with AgentCore Evaluations
  • Azure is your standard cloud: Microsoft Foundry with its evaluation and monitoring tools
  • You're building on OpenAI models in code: OpenAI Agents SDK with trace grading and evals

Disclosure: Brainbase publishes this guide and is one of the options compared. We reviewed public product, documentation, and pricing pages on November 25, 2026. We did not run a hands-on benchmark or an independent security review.

Why demos don't make it to production

A demo shows an agent can do a task once. Production needs it to do the task the same way next week, after someone changes the prompt, swaps the model, or adds a tool. Most stalled agent projects are missing one of three things:

  1. A written definition of "good." Without it, every review turns into a debate about one example.
  2. A fixed test set. Without it, nobody can tell if a change helped or hurt.
  3. A gate. Without it, changes ship because the demo looked fine.

Your job as Head of AI is to put those three in place before the first agent ships, then reuse them for every agent after.

Step 1: Define success for each agent

Write one page per agent before anyone builds it:

  • The task: what the agent does, for whom, and what it must never do.
  • Tools and permissions: which systems it can read, which it can change, and which actions need a person to approve.
  • Success criteria: split into things code can check (it called the right tool, the amount is under a limit, the output is valid) and things a person or model judge has to score (the answer is useful, the tone is right).
  • Hard failures: actions that fail the release no matter how good the average score is, such as exposing data to the wrong person.
  • Owner: one named business owner who signs off.

Step 2: Turn the criteria into a test suite

Collect 30 to 50 real examples per agent. Include normal requests, edge cases, missing data, and attempts to make the agent break its rules. For each case, write the expected outcome and how it will be checked.

Version the suite. If the cases change silently, a score today won't mean the same thing as a score next month.

Step 3: Gate every change

Treat these as changes that need a test run: a new model, an edited prompt, a new or changed tool, a new data source, or new permissions. Run the suite, compare the results to the last release, and block the release on regressions or any hard failure.

Step 4: Keep checking in production

Tests only cover the cases you thought of. In production, score a sample of real work against the same criteria, review failures each week, and add new failures to the test suite.

Step 5: Build many small agents, not one big one

An agent that does one job is easier to test than one that does ten. When work spans several steps, connect small agents that each have their own criteria and tests, and pass context between them. When something goes wrong, you can see which agent failed.

What to look for in a platform

NeedWhat to check
Pre-release testsVersioned test cases, side-by-side runs, and a gate in your deploy pipeline
Checks on live workScoring of real traffic with rules and a model judge
Grader typesCode checks for facts, model judges for quality, human review
Model choiceCan you test the same cases across models and compare cost?
Multi-agentCan small agents be connected, each with its own tests?
TracingEvery model call and tool call visible for failed cases
DeploymentWhere agents and data run: vendor cloud, your cloud, on-premise

How the options compare

Each row reflects public vendor pages on November 25, 2026. "Not stated" means we didn't find it on the pages reviewed.

OptionBefore releaseIn productionConnecting agentsWhere it runs
BrainbaseVersioned benchmarks, up to ten model configurations side by side, deploy gate via APIEvals on every agent turn, rules or model judgeAgents on different models and harnesses wired into one graphBrainbase cloud, your AWS, Azure, or Google Cloud account, on-premise, or hybrid
LangGraph + LangSmithOffline datasets; pytest, Vitest, and GitHub workflow integrationOnline evaluators on production traffic; annotation queuesSingle, multi-agent, and hierarchical flows in codeLangChain cloud, hybrid, or self-hosted (Enterprise)
Amazon Bedrock AgentCoreOn-demand, batch, and dataset evaluation; simulationOnline evaluationA2A protocol support in AgentCore RuntimeAWS
Microsoft FoundryEvaluation datasets, AI red teaming agent, CI/CD quality gatesContinuous evaluation of sampled traffic, scheduled evaluation, alertsNot stated on pages reviewedAzure
OpenAI Agents SDKTrace grading, datasets, and eval runsNot stated on pages reviewedHandoffs and agents as toolsNot stated on pages reviewed

The options in detail

Brainbase

Brainbase is one platform with every primitive you need to deploy internal agents, managed by Brainbase or on-premise, across any model or harness. For the release discipline above, two primitives do most of the work.

Benchmarks are reusable test suites. Cases are saved as immutable versions "so a result today means the same as one next month." You can change the instructions, tools, skills, model, or runtime, run the benchmark, and see what improved and what regressed before it ships. Checks can grade the output, the agent's behavior, the files it changed, and the commands it ran, or use a model judge. You can run up to ten model configurations on the same cases and see pass rate and cost for each. Because everything is in the API, a benchmark can stand between a change and production.

Evals are automatic checks that run every time an agent finishes a turn on real work. Each check is a rule or a model judge, and returns pass/fail, a 1–5 score, or a category.

For many small agents, orchestration wires agents on different models, harnesses, and runtimes into one directed graph. Each edge passes context to the next agent, and work can start from an app event, a schedule, or a webhook. Per the pricing page, orchestration, evals, and benchmarks with LLM-as-judge and agent-as-judge grading are on the $500-a-month Teams plan; SSO, custom RBAC, and hybrid or on-premise deployment are on Enterprise.

The trade-off: you configure agents rather than write the agent loop yourself. Teams that want to control every step in code may prefer LangGraph.

LangGraph with LangSmith

LangGraph is an MIT-licensed, open-source framework for "single, multi-agent, hierarchical" control flows, with human-in-the-loop checks to approve agent actions. LangSmith evaluation adds offline datasets to catch regressions before deployment, online evaluators on production traffic, LLM-as-judge, and human annotation queues. It integrates with pytest, Vitest, and GitHub workflows so evals run on every pull request and can fail the pipeline when scores drop.

It's the better choice if your team writes agents in code and wants the most mature evaluation workflow tied to that code. Hosting is on LangSmith Plus or Enterprise, per the pricing page.

Amazon Bedrock AgentCore

AgentCore Evaluations scores agent traces with built-in and custom evaluators, using LLM-as-a-judge, "before and after deployment." It supports online, on-demand, batch, and dataset evaluation, plus dataset generation and simulation. The FAQs list 13 built-in evaluators.

It's the better choice if your agents run on AWS and you want evaluation in the same account as the runtime.

Microsoft Foundry

Foundry's observability tools cover pre-production evaluation with your own data, built-in agent evaluators such as tool call accuracy and task completion, and an AI red teaming agent that simulates attacks before deployment. After launch, it supports continuous evaluation of sampled production traffic, scheduled evaluation to detect drift, and Azure Monitor alerts. It also describes automated quality gates in CI/CD pipelines.

It's the better choice if your agents run on Azure and you want safety testing and monitoring in one place.

OpenAI Agents SDK

The Agents SDK is a lightweight framework with agents, handoffs, guardrails, sessions, and built-in tracing. It supports non-OpenAI providers through adapters. OpenAI's agent evals guide describes grading traces "to find regressions and failure modes at scale," then moving to datasets and eval runs to benchmark changes.

It's the better choice if your team builds on OpenAI models in code. You'll choose your own hosting.

Questions to ask vendors

  1. Can test cases be versioned, and can we see results for two versions side by side?
  2. Can we block a deploy automatically when a test fails?
  3. Can we run the same cases across several models and compare cost?
  4. How are live interactions scored, and can we use both code checks and a model judge?
  5. Can a production failure be added to the test suite in one step?
  6. Where do agents, traces, and test data run and live?

Your first 90 days

Days 1–30: Pick one agent with a clear owner. Write its one-page spec and a 30–50 case test suite. Build it on your top two platforms and run the suite on both.

Days 31–60: Ship the better version to a small group with a person reviewing outputs. Turn on live checks. Add every real failure to the suite.

Days 61–90: Start agents two and three using the same spec template, test format, and release gate. If the second agent took far less work than the first, you've picked the right platform.

FAQ

What platform should a new Head of AI use for the first agents?

Pick the platform that makes testing and gating changes easy on the cloud and models you already use. Brainbase, LangSmith, AgentCore, and Foundry all cover pre-release tests and production checks in different ways. See our enterprise AI agent platforms guide.

How many test cases does a first agent need?

Start with 30 to 50 real examples covering normal requests, edge cases, and rule-breaking attempts. Grow the set from production failures. Our AI agent evaluation platforms guide compares tools for this.

Should I build one large agent or many small ones?

Start with small agents that each do one job and have their own tests. Connect them when a workflow needs several steps. See our multi-agent orchestration guide.

Sources

Reviewed November 25, 2026. Check current vendor documentation and contracts before you decide.

Related guides