← All AI Engineer talks

AI Engineer Summit 2025

OpenAI for VPs of AI

Prashant Mital· Member of Technical Staff, OpenAIToki Sherbakov· Head of Solutions Architecture, OpenAI16:52

Read the talk

From enterprise AI adoption to agents that work

Start with business priorities, build measurable use cases, and let observed failures guide the move from a single agent to specialized networks with explicit safety gates.

From a talk by Prashant Mital and Toki Sherbakov

Before you start: Basic familiarity with language-model APIs, prompts, and retrieval will help with the agent architecture examples.

Getting models into everyday work

How does an enterprise turn access to powerful models into useful work for employees, internal operations, and customers? The problem extends beyond choosing a model: capabilities must become products, those products must fit real workflows, and deployment must generate feedback that improves the next iteration.

OpenAI’s division of responsibilities follows that path. Research builds foundational models. Applied engineering turns them into products such as ChatGPT and the API. Go-to-market teams help enterprises put those products into employees’ hands, automate operations, and integrate AI into customer-facing products. Feedback from those deployments then returns to both product teams and model research, closing the loop.

Three panels labeled Research, Apply, and Deploy, with deployment covering workforce, operations, and product, and dotted arrows looping back.
OpenAI’s research, application, and deployment loop.
0:170:34
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

0:17 · section reference included

Three surfaces for enterprise adoption

Enterprise adoption commonly begins by giving employees AI they can use every day. That builds AI literacy through practice. Internal automation follows: copilots and workflows begin doing more of the organization’s work. Customer-facing integration brings those capabilities into the product itself. These are common phases, not a mandatory sequence.

Adoption surfacePurposeTypical product surface
WorkforceDaily assistance and AI literacyChatGPT
Internal operationsAutomation and customized copilotsChatGPT; API for greater customization
Customer productsAI inside the end-user experiencePrimarily the API

The transition to the API is driven by the integration and customization a use case requires. Internal operations can begin within ChatGPT; more complex workflows need closer control over how AI fits into the surrounding application.

1:492:04
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

1:49 · section reference included

Business strategy before organizational scale

Start with the business strategy, then identify where AI can advance it. A top-down mandate is useful when it establishes priorities and constraints, rather than treating AI adoption as an independent objective. From those priorities, select one or two substantial, high-impact use cases and scope them tightly enough to deliver.

Once those initial use cases are underway, build the organization’s capacity to repeat the work. That can mean enabling teams, establishing a center of excellence, or creating a shared technical platform that other divisions can build on. The progression is from strategic direction to bounded delivery, then to broader capability—not an organization-wide platform built before the first use case is understood.

3:023:15
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

3:02 · section reference included

Define success before development

Toki Sherbakov describes an illustrative three-month use-case journey, not a delivery guarantee. Its first steps establish what the system must do and how the team will know whether it works:

  1. Ideate and scope. Choose the workflow and bound the problem.
  2. Review the architecture. Determine how AI fits into the existing stack.
  3. Define success. Establish metrics and KPIs before implementation becomes the main activity.

These decisions give development a target beyond producing a convincing demonstration.

Most of the work then goes into iteration: changing prompts, incorporating retrieval-augmented generation, and improving whichever parts of the system constrain the use case. OpenAI’s collaboration with engineering teams can include workshops, office hours, paired programming, and webinars to accelerate that development.

Testing returns to the evaluations defined upfront. A/B tests and beta rollouts establish how the application behaves in practice before a broader launch. Production rollout adds scale optimization testing, followed by continuing maintenance. Deployment is therefore another stage of the use-case lifecycle, with its own checks, rather than the point at which development simply stops.

4:264:45
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

4:26 · section reference included

Dedicated teams, bounded roadmap visibility

This partnership requires dedicated teams on both sides. Early access to models and features can help an enterprise prepare for capabilities that are approaching release, but that access does not imply a long, dependable forecast. Sherbakov describes his visibility at the time as roughly six months, or two quarters; he explicitly cannot supply an eighteen-month roadmap.

Research engineering and product experts can support the work, while joint roadmap sessions connect the customer’s plans to the capabilities OpenAI can see coming. The useful planning horizon is the one the participants can actually discuss, with ongoing alignment as those plans develop.

5:546:07
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

5:54 · section reference included

Morgan Stanley: improving the whole retrieval system

Morgan Stanley’s internal knowledge assistant gives wealth managers a way to ask questions across a large collection of information, including research reports and stock-related data. The operational requirement is accurate information that advisers can use when responding to clients. A fluent answer alone does not satisfy that requirement.

Sherbakov reports an initial accuracy of 45%. The team introduced HyDE retrieval, fine-tuned embeddings, and different chunking strategies. These changes address the retrieval side of the application: how a question connects to relevant material and how that material is represented and divided for use.

Reported milestoneAccuracyDevelopment context
After further retrieval work85%Added reranking and classification
Customer target90%Desired accuracy
Final reported result98%Further prompt engineering and query expansion

These are Sherbakov’s deployment-specific accuracy figures. The talk does not define the evaluation set or scoring protocol, and the sequence does not isolate the contribution of any individual technique. It illustrates cumulative improvement against a customer metric, rather than a general benchmark for retrieval systems.

The next step in this progression is moving from systems that answer questions toward systems that carry out work. The speakers frame 2025 as an expected year of agents, then turn from enterprise delivery to the architecture lessons emerging from those deployments.

6:507:10
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

6:50 · section reference included

The model controls an execution loop

Prashant Mital draws on customer work and OpenAI’s own agentic products, including deep research and the original Operator research preview. His framing is a transition from an assistant to a coworker: an application that can take successive steps toward an objective.

An agent combines a model, instructions, access to tools, and an execution loop. Instructions usually arrive through a prompt. Tools let the application retrieve information or interact with external systems. The defining feature of this account is that the model controls when the loop terminates.

Within that loop, the application proceeds through a recurring cycle:

  1. Receive and interpret natural-language instructions.
  2. Determine whether to call tools.
  3. Execute the requested tools.
  4. Incorporate their return values into a response.
  5. Decide whether the objective has been met and execution should end.

The tool results become information for the next model decision. That makes the trajectory of the interaction—not just one generated answer—part of the system’s behavior.

8:218:36
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

8:21 · section reference included

Understand the primitives before abstracting

Suppose an agent must orchestrate models, retrieve data, reason over it, and generate an output. Building directly with primitives means making API calls and recording outputs and failures yourself. A framework can handle many of those details and make a proof of concept much faster to assemble. The risk is accepting its design choices before understanding the system’s behavior or constraints.

Build enough of the system directly to understand what needs improvement. Observe how the task decomposes, where failures arise, and which constraints prevent better results. Abstractions become useful when they remove repetition you have actually encountered—for example, repeatedly implementing an embedding strategy or model graders.

The decision is therefore not primarily which framework to choose. It is whether an abstraction improves a system whose data, failure points, and constraints the team understands. Start simply, optimize the parts that need it, and introduce abstraction when it makes the application better.

9:5610:07
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

9:56 · section reference included

Learn from one focused agent in production

The same reasoning applies to agent count. Agents calling other agents, coordinating tasks, and reasoning across long trajectories create many interacting unknowns when introduced too early. Mital recommends beginning with one agent, purpose-built for one task, and deploying it to a limited set of production users.

That release exposes bottlenecks that an architectural diagram cannot resolve:

  • Conversation reliability: hallucinations may emerge over an extended interaction.
  • Latency and adoption: a system may be capable but too slow for users to adopt.
  • Retrieval accuracy: poor evidence retrieval may constrain the quality of answers.

Once the team understands how the application underperforms and what users value, it can improve the relevant parts incrementally. Complexity grows as new intents, failure cases, and constraints become visible.

11:4311:57
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

11:43 · section reference included

Handoffs preserve context while changing specialists

When the task calls for multiple specializations, a network of agents can divide a larger workflow into related subflows. Each agent handles a particular part of the request. A handoff transfers control of the active conversation from one agent to another—like a phone transfer, but with the ability to carry the conversation history forward so the user does not have to start again.

The sample customer-service architecture assigns models according to the work they perform:

RoleModelResponsibility
TriageGPT-4o miniRoute the incoming request
Dispute agentGPT-4oManage the conversation with the user
Eligibility specialisto3-miniCheck refund eligibility

This is a sample architecture, not a reported production result. It illustrates how a small model can handle triage, a conversational model can manage a dispute, and a reasoning model can handle an accuracy-sensitive decision within the same service flow.

The mechanism is straightforward: retain the conversation history and context while replacing the active model, prompt, and tool definitions. The new agent receives the prior interaction but operates with the instructions and capabilities appropriate to its specialization. Full-history preservation is the pattern illustrated here, rather than a requirement that every handoff implementation must follow.

12:5713:08
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

12:57 · section reference included

Run guardrails separately, gate consequential actions

Guardrails enforce safety, security, and reliability around the application. Keeping the main instructions simple and focused on the target task makes the system easier to compose and its accuracy and performance easier to improve predictably. Safety checks need not all become extra instructions inside that main prompt; they can run separately, in parallel.

Faster, cheaper models such as GPT-4o mini make separate checks more accessible. But parallel checking must be paired with an explicit action gate: a high-stakes tool call, such as issuing a refund, or a response disclosing personal-account information should wait until the relevant checks have completed. A proposed action is not yet an authorized action.

For a refund workflow, the separation can be expressed with a small Python orchestration function. Here, propose_refund only prepares a proposal; the side effect belongs exclusively to issue_refund. Every check returns a Boolean approval.

python

import asyncio


async def guarded_refund(
    request,
    *,
    propose_refund,
    input_check,
    output_checks,
    issue_refund,
):
    proposal, input_allowed = await asyncio.gather(
        propose_refund(request),
        input_check(request),
    )
    if not input_allowed:
        return {"status": "blocked"}

    approvals = await asyncio.gather(
        *(check(proposal) for check in output_checks)
    )
    if not approvals or not all(approvals):
        return {"status": "blocked"}

    return await issue_refund(proposal)

The input check overlaps with proposal generation. Output checks require the proposal and then run concurrently with each other. Rejection or a raised exception prevents execution from reaching issue_refund; speculative work before that point must remain free of consequential side effects.

The illustrated guardrail arrangement uses an input check for prompt injection and multiple checks on the agent’s response. The slide shows a user and an appointment agent, with hallucination and misinformation detection and a content-policy filter around the output. The architecture separates the task from its checks while retaining the requirement to defer consequential tool calls and responses until those checks return.

Diagram linking a user to an appointment agent, with prompt injection detection, hallucination and misinformation detection, and a content policy filter. A note describes deferring tool calls and responses until guardrails return.
Keep prompts simple, with lightweight guardrails running in parallel.

These design choices fit together: understand the primitives before adding abstractions, learn from one focused agent, introduce specialists as the set of intents expands, and keep task prompts focused while guardrails handle edge cases. The system becomes more capable through observed needs, with explicit boundaries around what it may actually do.

14:5315:11
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

14:53 · section reference included

Resources

From the talk

Updates since the talk

Read the complete timestamped transcript
  1. 0:00

    [on-hold music] Hello.

  2. 0:17

    Uh, thanks for having us here. And today, we're gonna talk a bit about building and scaling use cases with OpenAI and what this means in terms of enterprises working with OpenAI to bring use cases to production, and a little sneak peek into agents and how we've seen some of our experience building these use cases and now agentic

  3. 0:34

    workflows, uh, in the field. So, uh, on our side, um, just a quick introduction into OpenAI. I'm sure folks have probably heard of OpenAI, but just in terms of how we operate, we have two core engineering teams.

  4. 0:48

    We have our research team, which is twelve hundred researchers that are inventing these models, right? We-- They, they build and deploy these foundational models. These kinda come down from the heavens.

  5. 0:59

    Our apply team, our second engineering team, take this and build it into product. So this is where you see things like ChatGPT, you see things like the API, where our GPT models are available, and that's where we actually deploy this.

  6. 1:10

    Finally, in the go-to-market sense, where we take these products and put it in end users' hands. That's kinda where our team comes into play with go-to-market, where we actually help get this in the hands of your workforce, in the hands of your product, and really start to automate these internal operations.

  7. 1:26

    And once we finally deploy these, there's kinda this iterative loop where we take feedback from the field to improve our product directly, and then also improve our core models through this research flywheel.

  8. 1:38

    So that's kinda the last step of getting it back to research. So this is typically how OpenAI operates. Um, in terms of the enterprise, we see the kind of AI customer journey happen typically in three phases.

  9. 1:49

    It doesn't have to happen in sequence in this way, but this is what we usually see, is first and foremost, building an AI-enabled workforce. This is getting AI in the hands of your employees to become AI literate, to use AI every day in their day-to-day work.

  10. 2:04

    That's the first and foremost, that first step typically that we see. Then from there, you typically graduate to- towards automating your AI operations. This is actually more internal use cases to build an automation or maybe some co-pilot type use cases into the workforce.

  11. 2:20

    Then the last step here is actually infusing AI into end product. This is end user facing. So when it comes to OpenAI's product, specifically enabling your workforce, typically starts with something like ChatGPT.

  12. 2:33

    So this is our, you know, first party product to put in the hands of users to use day in and day out. Then when you talk about automating operations internally, you can do this partially with ChatGPT.

  13. 2:42

    For the more complex use cases or more, more customization is needed, that's where something like the API comes in. And then finally, infusing this into your end user products is where it's primarily API use cases.

  14. 2:53

    But just to give a flavor of how these products come into play when actually as-- executing this across your AI customer journey.

  15. 3:02

    So in terms of how we see enterprises actually craft this strategy and practice, it kinda happens in a few different ways. I'd say first and foremost, you determine a little bit from a top-down level of what should the strategy be.

  16. 3:15

    And one core thing that we acknowledge here, it's not actually what's your AI strategy, it's actually what's your broader business strategy. And what OpenAI does is help figure out where does the technology meet that broader business strategy, first and foremost.

  17. 3:28

    So that kinda top-down strat-- uh, strategic guidance is really important to start with. And then once you start with that top-down guidance, you then move to use cases. Like let's identify one or two meaty use cases that are high impact to start with and scope those out to really just deliver on, um, kind of that scoped scale.

  18. 3:47

    So once you have the strategy, you execute upon those two use ca-- one to two use cases, and then you think about how to build divisional capability across your enterprise.

  19. 3:55

    This is where you start to enable the team and to fuse AI throughout the organization. And this happens in many ways. This comes through enablement, this comes through building centers of excellence, this comes with building maybe a centralized technological platform that other people in the enterprise can build on.

  20. 4:10

    And I feel like that's typically the journey we see is, again, set the strategy, pick those one to two use cases, and then build that capability across your organization through enablement.

  21. 4:20

    So that's usually the, the type of journey we see. And just to illustrate this a little bit with an example

  22. 4:26

    is this is how we've seen the use case journey play out. So, um, this is ill- illustrative of a three-month type of example of a use case. But when you've identified that one to two use cases that you want to tackle, first and foremost, you have to ideate upon that, do some initial scoping, do some architecture review

  23. 4:45

    to understand how does AI gonna fit into your current stack, and then really clearly define what the success metrics and KPIs are. Once you have that established, the bulk of the time is really spent in development.

  24. 4:55

    This is where you iterate. This is where you are iterating on prompting strategies, incorporating RAG, what- whatever it may be, to constantly improve the, uh, use case that you're tackling.

  25. 5:06

    When it comes to engaging with OpenAI, this is where our team, like Prashant and myself, really interact closely with your engineering team through things like workshops, things like office hours, paired programming sessions, webinars, whatever it kinda takes to accelerate the use case forward.

  26. 5:21

    Once we do that development phase, we kinda move to testing and evaluation, which is with the evals we've typically defined upfront, we're able to actually now do some A/B testing, do some beta rollout to understand how this actually works in practice.

  27. 5:36

    And then finally, we go to production. This is where you just do some launch rollout, do some, uh, scale optimization testing to make sure it's gonna work once you deploy to m- many end users.

  28. 5:44

    And then we have kind of constant maintenance that's, that's ongoing. So that's like the typical phase you'll see. And again, the bulk of the time, especially in partnership with OpenAI, will be around development.

  29. 5:54

    Um, in this, we bring a dedicated team. We ask you bring us also a dedicated team to make this work in practice. And the things that we deploy also to enable you are things like early access to new models and features.

  30. 6:07

    That's one of the key things of working closely with, uh, OpenAI is that we can see a little bit into the future, not much. Like, our roadmap, I, I don't see beyond much, maybe, like, six months.

  31. 6:17

    People ask, "What's your eighteen-month roadmap?" I cannot tell you. I can tell you basically what's gonna happen in the next two quarters. But that, like, purview into the future is really important to bring forward to these use cases and en- enable customers to build and innovate for what's coming next.

  32. 6:32

    So that's a really critical part of our partnership. Um, also, we bring in, you know, internal experts from our research engineering team, our product team, to help kind of accelerate you on this path.

  33. 6:41

    And then lastly, just kind of do joint roadmap sessions to make sure that we're on track for what your future roadmap is as well. So that's hopefully an illustration of how we partner together.

  34. 6:50

    And then one concrete example on this is something we did with Morgan Stanley. So Morgan Stanley, here based in New York, uh, was building a internal knowledge assistant. So what this was, was giving their wealth managers the ability to que-- uh, ask questions of their large corporus-- corpus of da-- uh, knowledge, which was research reports, like, live

  35. 7:10

    views on stock ticker data, whatever it may be, and they wanted to get highly accurate information back to be able to respond to their end clients, right? And accuracy was pretty bad to start, right?

  36. 7:21

    It was forty-five percent typically what they saw. So interacting with us, we introduced new methods throughout the use case development, things like hide retrieval. We did some fine-tune embeddings, different chunking strategies, which improved performance.

  37. 7:32

    And then once we kept introducing more and more methods, we saw accuracy go up. We introduced things like reranking and classification stuff that got it to eighty-five percent, and ultimately, their goal was ninety percent.

  38. 7:41

    We got to ninety-eight percent accuracy through other things like prompt engineering and query expansion. So more of just an example of how we introduced methods throughout this use case journey to, uh, improve their core metric for Morgan Stanley in this case.

  39. 7:54

    Um, so this is hopefully one illustration of how OpenAI's partnered with customers. And one common use case we're seeing more and more of is now building in this agent space.

  40. 8:03

    You maybe hear that twenty twenty-five is the year of agents. Agentic workflows has been a buzzword for a long time. I think we're seeing that actually come to reality this year.

  41. 8:11

    And, um, I think with that, we've seen, uh, some ba-- we have some battle scars and some best practices of what we've seen in the field, and I'll hand it off to Prashant to talk about what we've seen on the agent side.

  42. 8:21

    Thanks, Toki. So at OpenAI, we are lucky to work alongside customers who are building state-of-the-art agents and working alongside team members who are building our own agentic products, like deep research and operator.

  43. 8:36

    Like Toki said, we expect twenty twenty-five to be the year of agents, the year Gen, GenAI truly graduates from being an assistant to being a coworker. And to help usher in this era, we've been hard at work identifying the patterns and anti-patterns prevalent in agent development.

  44. 8:54

    I'm excited to share four of those with you today.

  45. 8:58

    Before we can go further, I'd like to quickly define, uh, what we mean by the term agent. So we think of an agent as an AI application that consists of a model that has some instructions, usually in the form of a prompt, access to some tools for retrieving information and interacting with e- external systems, all encapsulated in

  46. 9:18

    a, in an execution loop whose termination is controlled by the model itself.

  47. 9:22

    So one way of thinking about this is that in each execution cycle, the agent can be thought of as an entity that's receiving instructions in natural language, determining whether or not to issue any tool calls, running those tools, synthesizing a response with the tool return values, and then providing an answer to the user.

  48. 9:41

    Additionally, the user may determine-- Sorry. The agent may determine that it's met its objective, and therefore terminate the execution loop. So with that definition, let's move on to some of the lessons that we've learned, uh, building these agents in the field.

  49. 9:56

    So for the first insight, imagine you're designing an AI agent. You need to orchestrate multiple models. You need to retrieve data, reason over it, and generate an output. You have two choices.

  50. 10:07

    You can start with primitives, making raw API calls, logging results yourselves, um, and logging outputs and failures,

  51. 10:15

    or you can start with a framework. You can pick an abstraction, you can wire it up, and you can let it handle a lot of the details. And I have to say, starting with a framework is pretty enticing.

  52. 10:25

    It's how I got started building agents. It's really easy to get started, have a proof of concept, concept stood up in no time. But the problem is that if you start with a framework, you often don't actually know how your system behaves or what primitives it uses.

  53. 10:41

    You've deferred design, design decisions before you've understood your constraints, and if you don't know your constraints, you can't optimize your solution. So we believe a better approach is to first build with primitives, understand how your task decomposes, where the failures happen, and what actually needs improvement.

  54. 11:02

    Then introduce abstraction. When you find that you're reinventing the wheel, for example, by re-implementing an embedding strategy or re-implementing model graders, that may be a good time to bring in some abstractions.

  55. 11:17

    Many teams today are spending a lot of time picking the right framework. Um, we actually believe that developing agents in a scalable way isn't so much about choosing the right abstraction.

  56. 11:27

    It's really about understanding your data, understanding your failure points and your constraints. So in summary, the first lesson is to start simple, optimize where needed, and abstract only when it makes your system better.

  57. 11:43

    Which leads us straight to our second insight, starting simple. So too often, teams are jumping straight into designing multi-agent systems, agents calling agents, coordinating tasks, dynamically reasoning over long trajectories.

  58. 11:57

    It all sounds really powerful, but when it's done too soon, it creates a lot of unknowns, and it doesn't give you all that much insight.

  59. 12:07

    We like a different approach. We generally recommend starting with a single agent that's purpose-built for a single task. Put that into production with a limited set of users and observe how it performs.

  60. 12:20

    Doing this allows you to identify the real bottlenecks: hallucinations over conversation trajectories, low adoption due to high latency, or maybe inaccuracy due to poor retrieval performance.

  61. 12:34

    Then, knowing how the system underperforms and knowing what's important to your users, we can work to incrementally improve it.

  62. 12:43

    In a nutshell, we should think of complexity as something which increases as we discover more intents, failure cases, and constraints. Because the goal isn't really to build a complicated system, it's just to build a system that works.

  63. 12:57

    So starting simple sounds great, uh, but we all know that complexity is where true value is realized. So how should we handle more complex tasks?

  64. 13:08

    This is where a network of agents and the concept of handoffs comes in.

  65. 13:14

    So you can think of handoffs... Uh, sorry. Let's start with a network of agents. So a, a network of agents is a collaborative system where multiple agents work in concert to resolve complex requests or perform a series of interrelated tasks.

  66. 13:28

    You can think of this as a series of specialized agents handling sub-flows within a large agentic workflow.

  67. 13:37

    On the topic of handoffs, you can think of these

  68. 13:40

    as the process by which one agent transfers control of a active conversation to another agent. It's pretty similar to how you get transferred to someone else on a phone call, except in this case, you can preserve your entire conversation history, and the new agent just magically knows everything you've talked about already.

  69. 13:59

    So let's see an example of this. In this sample architecture, we are showing how a fully automated customer service flow may be implemented with a network of agents and handoffs.

  70. 14:10

    This approach is allowing us to build, bring the right tools to the right job. So for example, on the left-hand side, we are using a GPT-4.0 Mini call to, uh, perform triage on the incoming request.

  71. 14:23

    We're then using GPT-4.0 on the dispute agent to actually manage the conversation with the user, and finally, we are using a o3-mini reasoning model to perform accuracy-sensitive tasks, like checking whether the customer is eligible for a refund.

  72. 14:38

    It turns out that handoffs work really well, and keeping the entire conversation history and context while swapping out the model, the prompt, the tool definitions, provides sufficient flexibility to solve a wide range of scenarios.

  73. 14:53

    So our final lesson pertains to guardrails. And just to level set, guardrails is a catch-all term today for any mechanism that enforces safety, security, and reliability within your application, and it's generally used to prevent misuse and ensure that your system maintains integrity.

  74. 15:11

    So keeping the model instructions simple and focused on the target task ensures maximum interoperability of your system and also ensures that we are able to hill climb on perf-- on accuracy and performance most, uh, predictably.

  75. 15:26

    Guardrails should not necessarily be made part of your main prompts, but should instead be run in parallel,

  76. 15:33

    and the proliferation of faster and cheaper models like GPT-4.0 Mini is making that m- making this more accessible than ever. Tool calls and user responses that are high-stakes, for example, issuing a refund or showing a user what information, uh, some information from their personal account, these can be deferred until all of the guardrails have returned.

  77. 15:56

    In this example, we see that we're running a single input guardrail to prevent prompt injection, and then a couple of output guardrails, uh, on the use- on the agent's response.

  78. 16:07

    So to recap, we have four lessons from our time building agents: use abstractions minimally, start with a single agent, graduate to a network of agents when you have more intents, and finally, keep your prompts simple and focused on the happy path, and use guardrails to handle edge cases. [outro music]

  79. 16:28

    Thank you. [audience applauding] [outro music]