@@ -4,58 +4,59 @@ search:
44---
55# コード例
66
7- [ repo] ( https://github.com/openai/openai-agents-python/tree/main/examples ) の examples セクションで、SDK のさまざまなサンプル実装をご覧いただけます 。examples は、異なるパターンと機能を示す複数のカテゴリーに整理されています。
7+ [ repo] ( https://github.com/openai/openai-agents-python/tree/main/examples ) の examples セクションで、 SDK のさまざまなサンプル実装をご確認ください 。examples は、異なるパターンと機能を示す複数のカテゴリーに整理されています。
88
99## カテゴリー
1010
1111- ** [ agent_patterns] ( https://github.com/openai/openai-agents-python/tree/main/examples/agent_patterns ) :**
12- このカテゴリーのコード例では、次のような一般的なエージェント設計パターンを紹介しています 。
12+ このカテゴリーのコード例では、一般的なエージェント設計パターンを示しています。たとえば次のとおりです 。
1313
1414 - 決定論的ワークフロー
1515 - Agents as tools
16- - 並列エージェント実行
16+ - エージェントの並列実行
1717 - 条件付きツール使用
18- - 入力 / 出力ガードレール
19- - 判定者としての LLM
18+ - 入出力ガードレール
19+ - 審判としての LLM
2020 - ルーティング
2121 - ストリーミングガードレール
22+ - 承認フロー向けのカスタム拒否メッセージ (` examples/agent_patterns/human_in_the_loop_custom_rejection.py ` )
2223
2324- ** [ basic] ( https://github.com/openai/openai-agents-python/tree/main/examples/basic ) :**
24- これらのコード例では、次のような SDK の基本機能を紹介しています 。
25+ これらのコード例では、 SDK の基本的な機能を紹介しています。たとえば次のとおりです 。
2526
26- - Hello World のコード例( デフォルトモデル、GPT-5、open-weight model)
27+ - Hello World のコード例 ( デフォルトモデル、 GPT-5、オープンウェイトモデル)
2728 - エージェントライフサイクル管理
2829 - 動的システムプロンプト
29- - ストリーミング出力(text、items、function call args)
30- - ターン間で共有セッションヘルパーを使う Responses websocket transport( ` examples/basic/stream_ws.py ` )
30+ - ストリーミング出力 (テキスト、項目、関数呼び出し引数)
31+ - ターン間で共有セッションヘルパーを使用する Responses websocket transport ( ` examples/basic/stream_ws.py ` )
3132 - プロンプトテンプレート
32- - ファイル処理(ローカル / リモート、画像 / PDF)
33- - 使用状況追跡
34- - Runner 管理の retry 設定( ` examples/basic/retry.py ` )
35- - LiteLLM を使った Runner 管理の retry( ` examples/basic/retry_litellm.py ` )
33+ - ファイル処理 (ローカルおよびリモート、画像および PDF)
34+ - 使用状況トラッキング
35+ - Runner 管理の再試行設定 ( ` examples/basic/retry.py ` )
36+ - LiteLLM を使用した Runner 管理の再試行 ( ` examples/basic/retry_litellm.py ` )
3637 - 非 strict な出力型
37- - 前回 response ID の使用
38+ - 以前のレスポンス ID の使用
3839
3940- ** [ customer_service] ( https://github.com/openai/openai-agents-python/tree/main/examples/customer_service ) :**
4041 航空会社向けのカスタマーサービスシステムのコード例です。
4142
4243- ** [ financial_research_agent] ( https://github.com/openai/openai-agents-python/tree/main/examples/financial_research_agent ) :**
43- 金融データ分析のためのエージェントとツールを使った構造化された調査ワークフローを示す、financial research agent です 。
44+ 金融データ分析向けに、エージェントとツールを使った構造化リサーチワークフローを示す金融リサーチエージェントです 。
4445
4546- ** [ handoffs] ( https://github.com/openai/openai-agents-python/tree/main/examples/handoffs ) :**
46- メッセージフィルタリングを用いたエージェントのハンドオフの実践的なコード例をご覧ください 。
47+ メッセージフィルタリングを使ったエージェントハンドオフの実践的なコード例をご覧ください 。
4748
4849- ** [ hosted_mcp] ( https://github.com/openai/openai-agents-python/tree/main/examples/hosted_mcp ) :**
49- hosted MCP( Model context protocol) コネクタと承認の使い方を示すコード例です。
50+ ホストされた MCP ( Model context protocol) コネクタと承認の使い方を示すコード例です。
5051
5152- ** [ mcp] ( https://github.com/openai/openai-agents-python/tree/main/examples/mcp ) :**
52- MCP( Model context protocol) を使ってエージェントを構築する方法を学べます。内容は次のとおりです。
53+ MCP ( Model context protocol) を使ってエージェントを構築する方法を学べます。内容は次のとおりです。
5354
54- - Filesystem のコード例
55+ - ファイルシステムのコード例
5556 - Git のコード例
56- - MCP prompt server のコード例
57- - SSE( Server-Sent Events) のコード例
58- - Streamable HTTP のコード例
57+ - MCP プロンプトサーバーのコード例
58+ - SSE ( Server-Sent Events) のコード例
59+ - ストリーム可能な HTTP のコード例
5960
6061- ** [ memory] ( https://github.com/openai/openai-agents-python/tree/main/examples/memory ) :**
6162 エージェント向けのさまざまなメモリ実装のコード例です。内容は次のとおりです。
@@ -68,38 +69,39 @@ search:
6869 - 暗号化セッションストレージ
6970 - OpenAI Conversations セッションストレージ
7071 - Responses compaction セッションストレージ
72+ - ` ModelSettings(store=False) ` を使ったステートレスな Responses compaction (` examples/memory/compaction_session_stateless_example.py ` )
7173
7274- ** [ model_providers] ( https://github.com/openai/openai-agents-python/tree/main/examples/model_providers ) :**
73- カスタムプロバイダーや LiteLLM 統合を含め、SDK で非 OpenAI モデルを使う方法を紹介します 。
75+ カスタムプロバイダーや LiteLLM 統合を含め、 SDK で非 OpenAI モデルを使う方法を確認できます 。
7476
7577- ** [ realtime] ( https://github.com/openai/openai-agents-python/tree/main/examples/realtime ) :**
76- SDK を使ってリアルタイム体験を構築する方法を示すコード例です 。内容は次のとおりです。
78+ SDK を使用してリアルタイム体験を構築する方法を示すコード例です 。内容は次のとおりです。
7779
78- - 構造化 text / image メッセージを使った Web アプリケーションパターン
80+ - 構造化テキストと画像メッセージを使う Web アプリケーションパターン
7981 - コマンドライン音声ループと再生処理
8082 - WebSocket 経由の Twilio Media Streams 統合
81- - Realtime Calls API の attach フローを使った Twilio SIP 統合
83+ - Realtime Calls API のアタッチフローを使う Twilio SIP 統合
8284
8385- ** [ reasoning_content] ( https://github.com/openai/openai-agents-python/tree/main/examples/reasoning_content ) :**
8486 reasoning content と structured outputs の扱い方を示すコード例です。
8587
8688- ** [ research_bot] ( https://github.com/openai/openai-agents-python/tree/main/examples/research_bot ) :**
87- 複雑なマルチエージェント調査ワークフローを示す、シンプルなディープリサーチ clone です 。
89+ 複雑なマルチエージェントのリサーチワークフローを示す、シンプルなディープリサーチクローンです 。
8890
8991- ** [ tools] ( https://github.com/openai/openai-agents-python/tree/main/examples/tools ) :**
90- 次のような OpenAI がホストするツールと実験的な Codex tooling の実装方法を学べます 。
92+ 次のような OpenAI がホストするツールと実験的な Codex ツール機能の実装方法を学べます 。
9193
9294 - Web 検索 とフィルター付き Web 検索
9395 - ファイル検索
9496 - Code Interpreter
95- - インラインスキル付き hosted container shell( ` examples/tools/container_shell_inline_skill.py ` )
96- - スキル参照付き hosted container shell( ` examples/tools/container_shell_skill_reference.py ` )
97- - ローカルスキル付き local shell( ` examples/tools/local_shell_skill.py ` )
98- - namespace と deferred tools を使った tool search( ` examples/tools/tool_search.py ` )
97+ - インラインスキル付きホストコンテナーシェル ( ` examples/tools/container_shell_inline_skill.py ` )
98+ - スキル参照付きホストコンテナーシェル ( ` examples/tools/container_shell_skill_reference.py ` )
99+ - ローカルスキル付きローカルシェル ( ` examples/tools/local_shell_skill.py ` )
100+ - 名前空間と遅延ツールを使ったツール検索 ( ` examples/tools/tool_search.py ` )
99101 - コンピュータ操作
100102 - 画像生成
101- - 実験的な Codex ツールワークフロー( ` examples/tools/codex.py ` )
102- - 実験的な Codex same-thread ワークフロー( ` examples/tools/codex_same_thread.py ` )
103+ - 実験的な Codex ツールワークフロー ( ` examples/tools/codex.py ` )
104+ - 実験的な Codex 同一スレッドワークフロー ( ` examples/tools/codex_same_thread.py ` )
103105
104106- ** [ voice] ( https://github.com/openai/openai-agents-python/tree/main/examples/voice ) :**
105- ストリーミング音声のコード例を含む、TTS / STT モデルを使った音声エージェントのコード例をご覧ください 。
107+ ストリーミング音声のコード例を含む、 TTS および STT モデルを使用した音声エージェントのコード例をご覧ください 。
0 commit comments