@openai/agents 0.5.3 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -22
- package/dist/metadata.js +3 -3
- package/dist/metadata.mjs +3 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -12,31 +12,17 @@ The OpenAI Agents SDK is a lightweight yet powerful framework for building multi
|
|
|
12
12
|
|
|
13
13
|
## Core concepts
|
|
14
14
|
|
|
15
|
-
1. **Agents
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
1. [**Agents**](https://openai.github.io/openai-agents-js/guides/agents): LLMs configured with instructions, tools, guardrails, and handoffs
|
|
16
|
+
1. **[Agents as tools](https://openai.github.io/openai-agents-js/guides/tools/#4-agents-as-tools) / [Handoffs](https://openai.github.io/openai-agents-js/guides/handoffs/)**: Delegating to other agents for specific tasks
|
|
17
|
+
1. [**Tools**](https://openai.github.io/openai-agents-js/guides/tools/): Various Tools let agents take actions (functions, MCP, hosted tools)
|
|
18
|
+
1. [**Guardrails**](https://openai.github.io/openai-agents-js/guides/guardrails/): Configurable safety checks for input and output validation
|
|
19
|
+
1. [**Human in the loop**](https://openai.github.io/openai-agents-js/guides/human-in-the-loop/): Built-in mechanisms for involving humans across agent runs
|
|
20
|
+
1. [**Sessions**](https://openai.github.io/openai-agents-js/guides/sessions/): Automatic conversation history management across agent runs
|
|
21
|
+
1. [**Tracing**](https://openai.github.io/openai-agents-js/guides/tracing/): Built-in tracking of agent runs, allowing you to view, debug and optimize your workflows
|
|
22
|
+
1. [**Realtime Agents**](https://openai.github.io/openai-agents-js/guides/voice-agents/quickstart/): Build powerful voice agents with full features
|
|
19
23
|
|
|
20
24
|
Explore the [`examples/`](https://github.com/openai/openai-agents-js/tree/main/examples) directory to see the SDK in action.
|
|
21
25
|
|
|
22
|
-
## Supported Features
|
|
23
|
-
|
|
24
|
-
- [x] **Multi-Agent Workflows**: Compose and orchestrate multiple agents in a single workflow.
|
|
25
|
-
- [x] **Tool Integration**: Seamlessly call tools/functions from within agent responses.
|
|
26
|
-
- [x] **Handoffs**: Transfer control between agents dynamically during a run.
|
|
27
|
-
- [x] **Structured Outputs**: Support for both plain text and schema-validated structured outputs.
|
|
28
|
-
- [x] **Streaming Responses**: Stream agent outputs and events in real time.
|
|
29
|
-
- [x] **Tracing & Debugging**: Built-in tracing for visualizing and debugging agent runs.
|
|
30
|
-
- [x] **Guardrails**: Input and output validation for safety and reliability.
|
|
31
|
-
- [x] **Parallelization**: Run agents or tool calls in parallel and aggregate results.
|
|
32
|
-
- [x] **Human-in-the-Loop**: Integrate human approval or intervention into workflows.
|
|
33
|
-
- [x] **Realtime Voice Agents**: Build realtime voice agents using WebRTC or WebSockets
|
|
34
|
-
- [x] **Local MCP Server Support**: Give an Agent access to a locally running MCP server to provide tools
|
|
35
|
-
- [x] **Separate optimized browser package**: Dedicated package meant to run in the browser for Realtime agents.
|
|
36
|
-
- [x] **Broader model support**: Use non-OpenAI models through the Vercel AI SDK adapter
|
|
37
|
-
- [ ] **Long running functions**: Suspend an agent loop to execute a long-running function and revive it later <img src="https://img.shields.io/badge/Future-lightgrey" alt="Future" style="width: auto; height: 1em; vertical-align: middle;">
|
|
38
|
-
- [ ] **Voice pipeline**: Chain text-based agents using speech-to-text and text-to-speech into a voice agent <img src="https://img.shields.io/badge/Future-lightgrey" alt="Future" style="width: auto; height: 1em; vertical-align: middle;">
|
|
39
|
-
|
|
40
26
|
## Get started
|
|
41
27
|
|
|
42
28
|
### Supported environments
|
package/dist/metadata.js
CHANGED
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.METADATA = void 0;
|
|
5
5
|
exports.METADATA = {
|
|
6
6
|
"name": "@openai/agents",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.6.0",
|
|
8
8
|
"versions": {
|
|
9
|
-
"@openai/agents": "0.
|
|
9
|
+
"@openai/agents": "0.6.0",
|
|
10
10
|
"@openai/agents-core": "workspace:*",
|
|
11
11
|
"@openai/agents-openai": "workspace:*",
|
|
12
12
|
"@openai/agents-realtime": "workspace:*",
|
|
13
|
-
"openai": "^6.
|
|
13
|
+
"openai": "^6.26.0"
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
exports.default = exports.METADATA;
|
package/dist/metadata.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// This file is automatically generated
|
|
2
2
|
export const METADATA = {
|
|
3
3
|
"name": "@openai/agents",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"versions": {
|
|
6
|
-
"@openai/agents": "0.
|
|
6
|
+
"@openai/agents": "0.6.0",
|
|
7
7
|
"@openai/agents-core": "workspace:*",
|
|
8
8
|
"@openai/agents-openai": "workspace:*",
|
|
9
9
|
"@openai/agents-realtime": "workspace:*",
|
|
10
|
-
"openai": "^6.
|
|
10
|
+
"openai": "^6.26.0"
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
export default METADATA;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@openai/agents",
|
|
3
3
|
"repository": "https://github.com/openai/openai-agents-js",
|
|
4
4
|
"homepage": "https://openai.github.io/openai-agents-js/",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.6.0",
|
|
6
6
|
"description": "The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.",
|
|
7
7
|
"author": "OpenAI <support@openai.com>",
|
|
8
8
|
"main": "dist/index.js",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"debug": "^4.4.0",
|
|
29
|
-
"openai": "^6.
|
|
30
|
-
"@openai/agents-
|
|
31
|
-
"@openai/agents-
|
|
32
|
-
"@openai/agents-
|
|
29
|
+
"openai": "^6.26.0",
|
|
30
|
+
"@openai/agents-openai": "0.6.0",
|
|
31
|
+
"@openai/agents-realtime": "0.6.0",
|
|
32
|
+
"@openai/agents-core": "0.6.0"
|
|
33
33
|
},
|
|
34
34
|
"keywords": [
|
|
35
35
|
"openai",
|