Commit Graph

111 Commits

Author SHA1 Message Date
Sir Qasim 5f7a0b9508
fixed from agents.voice import SingleAgentVoiceWorkflow, VoicePipeline in quickstart.md
from agents.voice import SingleAgentVoiceWorkflow, VoicePipeline,

remove extra "," from the first line
2025-03-21 06:58:47 +05:00
Kazuhiro Sera 98c4b45b6a Make the optional dependency installation compatible with zsh 2025-03-21 10:01:24 +09:00
Rohan Mehta 180a8ab043
Updating tracing doc for new spans (#272) 2025-03-20 20:05:42 -04:00
Dmitry Pimenov 1b12fce95d fixing object path 2025-03-20 17:03:52 -07:00
Yoshinori Sano 0dd5b37936 [doc] fix invalid imports 2025-03-21 08:37:45 +09:00
Dmitry Pimenov 21634f31d5 removing erroneous changes 2025-03-20 15:53:41 -07:00
Dominik Kundel c7ce154637 feat: add voice pipeline support
> Co-authored-by: rm@openai.com
2025-03-20 09:43:13 -07:00
xianghuijin d169d79288 Update documentation for tool_choice auto-reset feature 2025-03-20 21:49:38 +08:00
James Hills d295a53e53
formatting updates to examples doc 2025-03-19 14:23:28 -07:00
jhills20 4dd3e210ac add examples section to docs 2025-03-19 11:43:09 -07:00
Rohan Mehta 545c20342a
chore(docs): Added comet opik to tracing AND formatted into a list (#73)
Comet Opik added support for Agent SDK tracing and should be included.
2025-03-19 12:31:02 -04:00
Rohan Mehta 6d35c33592
Introduce tool_use_behavior on agents (#203)
## Context
By default, the outputs of tools are sent to the LLM again. The LLM gets
to read the outputs, and produce a new response. There are cases where
this is not desired:
1. Every tool results in another round trip, and sometimes the output of
the tool is enough.
2. If you force tool use (via model settings `tool_choice=required`),
then the agent will just infinite loop.

This enables you to have different behavior, e.g. use the first tool
output as the final output, or write a custom function to process tool
results and potentially produce an output.

## Test plan
Added new tests and ran existing tests
Also added examples.


Closes #117
2025-03-19 12:27:02 -04:00
Vincent Koc e7c2c19564
Merge branch 'main' into patch-1 2025-03-20 02:57:34 +11:00
CCM bc8369c76a
fix reasoning order in guardrails.md 2025-03-19 11:10:58 +08:00
Rohan Mehta 10aa5555af Introduce tool_use_behavior on agents 2025-03-18 21:55:12 -04:00
Dmitry Pimenov 3b2afe118d
chore: adds Maxim AI to tracing processors (#210) 2025-03-18 09:10:52 -07:00
Martín Bravo c745fe156a feat: add documentation for agent visualization using Graphviz 2025-03-18 09:55:23 +01:00
B-Step62 e0eb4be145 [doc] add mlflow tracing integration
Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
2025-03-18 11:29:21 +09:00
Akshay Deo e5befd0cba
chore: adds Maxim AI to tracing processors 2025-03-18 07:49:33 +05:30
Martín Bravo aff1d60ea1 Merge branch 'main' of https://github.com/openai/openai-agents-python into feat/draw_graph 2025-03-17 23:50:52 +01:00
Rohan Mehta 82136d7439
docs: add arize-phoenix to tracing documentation (#169) 2025-03-17 15:58:28 -04:00
Rohan Mehta a612e6a090
docs: List LangSmith tracing integration (#197)
LangChain employee/maintainer, happy to make edits to our
docs/integrations if needed.
2025-03-17 15:58:20 -04:00
Dmitry Pimenov a8390350ab
Update tracing docs (#204)
Update the README to point to the list of tracing processors. The docs
will contain all the external processors, so the readme doesn't get too
long.
2025-03-17 12:02:44 -07:00
Rohan Mehta 1368e7ffe6 Update tracing docs 2025-03-17 14:57:43 -04:00
James Hills 370a748bcc
Update tracing.md
Add callout for ZDR intracing
2025-03-17 09:13:22 -07:00
Bagatur 4ebf0742f1 docs: List LangSmith tracing integration 2025-03-17 08:47:28 -07:00
MartinEBravo e984274da1 Merge branch 'main' of https://github.com/openai/openai-agents-python into feat/draw_graph 2025-03-17 10:17:36 +01:00
Alexander Song f0ef7d71eb docs: add arize-phoenix to tracing documentation 2025-03-14 17:50:10 -07:00
Vincent Koc 333858b518
Merge branch 'main' into patch-1 2025-03-14 05:33:08 +11:00
Martín Bravo 2993d26d58 Add documentation and example for agent visualization using Graphviz 2025-03-13 18:48:12 +01:00
Rohan Mehta 8a6967b6d4 Update model docs with common issues 2025-03-13 13:43:18 -04:00
Rohan Mehta 16cfce117c
Add examples and documentation for using custom model providers (#110) 2025-03-13 08:17:25 -07:00
Rohan Mehta 25a633139d Add examples and documentation for using custom model providers 2025-03-12 17:34:38 -07:00
Dare f8655c3b44
Merge branch 'main' into main 2025-03-12 17:24:39 -07:00
Dingkang Wang 9f938716d1 fix typo in tracing.md 2025-03-12 14:54:11 -07:00
Vincent Koc 7e85c03533
Update tracing.md 2025-03-13 07:56:27 +11:00
Vincent Koc 03869a75ac
Merge branch 'main' into patch-1 2025-03-13 07:53:07 +11:00
Dmitry Pimenov 97a09067cf
Merge pull request #104 from openai/readme/new-trace-provider
Adding Keywords AI as a trace processor
2025-03-12 13:33:02 -07:00
Rohan Mehta 3a95993753
Merge pull request #84 from leykun10/fix-doc-error
Replace undefined variable name in documentation code snippet
2025-03-12 13:31:12 -07:00
Dmitry Pimenov 2f2e2fce5a adding Keywords AI as a trace processor 2025-03-12 13:15:53 -07:00
jhills20 a373162bb0 use @function_tool decorator in docs 2025-03-12 11:15:42 -07:00
Vincent Koc 40dcad3f94
Update tracing.md 2025-03-12 23:26:57 +11:00
leykun10 4fb9aefdd8 fix: replace undefined variable name in documentation code snippet 2025-03-12 15:07:56 +03:00
Dare 6010bd49cf Update tracing.md 2025-03-12 04:46:05 -07:00
Dare 9952d2667e Adding link to docs on Scorecard AgentSDK Support
Incredibly excited to add support the agentsdk for Scorecard tracing!
2025-03-12 04:43:50 -07:00
Vincent Koc 87f397d37b
chore(docs): Update tracing.md 2025-03-12 20:46:54 +11:00
Rohan Mehta 9a32ff5172
Merge pull request #57 from sumitaryal/fix-typo-models.md
Fix typo in models.md
2025-03-11 22:33:33 -07:00
sumitaryal 9598b2954a fix: Added missing space after 'the' for better clarity 2025-03-12 11:04:29 +05:45
sumitaryal 56500bf120 fix: Removed the repeated the 2025-03-12 11:03:28 +05:45
sumitaryal f50a55c82f fix: hyphenated compound adjective out of the box -> out-of-the-box for clarity 2025-03-12 11:03:03 +05:45
sumitaryal e022d2c2a3 fix: hyphenated compound adjective real world -> real-world for clarity 2025-03-12 10:48:29 +05:45
sumitaryal 8b5f2fd042 fix: hyphenated compound adjective easy to use -> easy-to-use for clarity 2025-03-12 10:47:48 +05:45
Rohan Mehta 0ea6994406
Merge pull request #45 from junjzhang/typo_fix
fix typo in docs of configuring custom client
2025-03-11 21:46:42 -07:00
Junjie_ZHANG a5f74008cb fix typo 2025-03-12 11:24:12 +08:00
Matthew Ford 261998582a
Update quickstart.md
Add an example that works before the guard, so people don't think the task just failed.
2025-03-12 00:48:29 +00:00
Ali Yaman fce4872f32 docs: Fix typos in documentation files 2025-03-12 00:12:31 +01:00
Ali Yaman c4c31a6015 docs: clarify multi-agent orchestration description 2025-03-11 23:57:03 +01:00
Ali Yaman 684b8cfc9a fix: correct typos in general documentation 2025-03-11 23:48:34 +01:00
arnavsharma93 5e5340f041 Fix: Multi-agent design patterns link 2025-03-12 03:29:29 +05:30
Christina Huang 668b3463bf hyper link 2025-03-11 11:17:49 -07:00
Rohan Mehta aaec57a426 Initial commit 2025-03-11 09:42:28 -07:00