You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This is a simple demonstration of more advanced, agentic patterns built on top of the Realtime API. In particular, this demonstrates:
4
4
- Sequential agent handoffs according to a defined agent graph (taking inspiration from [OpenAI Swarm](https://github.com/openai/swarm))
5
-
- Background escalation to more intelligent models like o1-mini for high-stakes decisions
5
+
- Background escalation to more intelligent models like o4-mini for high-stakes decisions
6
6
- Prompting models to follow a state machine, for example to accurately collect things like names and phone numbers with confirmation character by character to authenticate a user.
7
7
8
8
Here's a quick [demo video](https://x.com/OpenAIDevs/status/1880306081517432936) if you'd like a walkthrough. You should be able to use this repo to prototype your own multi-agent realtime voice app in less than 20 minutes!
@@ -63,7 +63,7 @@ sequenceDiagram
63
63
participant NextAPI as /api/session
64
64
participant RealtimeAPI as OpenAI Realtime API
65
65
participant AgentManager as Agents (authentication, returns, sales, simulatedHuman)
66
-
participant o1mini as "o1-mini" (Escalation Model)
66
+
participant o1mini as "o4-mini" (Escalation Model)
67
67
68
68
Note over WebClient: User navigates to ?agentConfig=customerServiceRetail
- Check out the configs in `src/app/agentConfigs`. The example above is a minimal demo that illustrates the core concepts.
114
114
-[frontDeskAuthentication](src/app/agentConfigs/frontDeskAuthentication) Guides the user through a step-by-step authentication flow, confirming each value character-by-character, authenticates the user with a tool call, and then transfers to another agent. Note that the second agent is intentionally "bored" to show how to prompt for personality and tone.
115
-
-[customerServiceRetail](src/app/agentConfigs/customerServiceRetail) Also guides through an authentication flow, reads a long offer from a canned script verbatim, and then walks through a complex return flow which requires looking up orders and policies, gathering user context, and checking with `o1-mini` to ensure the return is eligible. To test this flow, say that you'd like to return your snowboard and go through the necessary prompts!
115
+
-[customerServiceRetail](src/app/agentConfigs/customerServiceRetail) Also guides through an authentication flow, reads a long offer from a canned script verbatim, and then walks through a complex return flow which requires looking up orders and policies, gathering user context, and checking with `o4-mini` to ensure the return is eligible. To test this flow, say that you'd like to return your snowboard and go through the necessary prompts!
116
116
117
117
### Defining your own agents
118
118
- You can copy these to make your own multi-agent voice app! Once you make a new agent set config, add it to `src/app/agentConfigs/index.ts` and you should be able to select it in the UI in the "Scenario" dropdown menu.
0 commit comments