For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
メインナビゲーション

モデルガイド

OpenAI モデルのベストプラクティス、機能、移行方法を学びます。

GPT-6 Astra の使い方

GPT-6 Astra のベストプラクティス、機能、移行方法を紹介します。

はじめに

GPT-6 Astra は、OpenAI 史上最も高い知能を備えたモデルです。コンピューターの使用、ブラウジング、ソフトウェアエンジニアリング、科学、専門的な業務で最先端の性能を発揮します。コード、ブラウザ、専門業務用ソフトウェアを横断する複数ステップのワークフローを得意としています。複数の評価で、Astra は出力トークン数を大幅に抑えながら、より優れた結果を達成しています。そのため、トークン単価は高くても、タスクあたりの推定 API コストは従来のモデルを下回ります。

GPT-6 Astra は、アラインメントの面でも OpenAI 史上最も優れたモデルです。慎重に行動し、タスクの範囲を守り、透明性のあるコミュニケーションを行うことに優れています。指示に解釈の余地がある場合は、手元のコンテキストを使って通常の判断で補える部分を補い、回答によって結果が変わり得る場合には、要点を絞って質問します。新たな要件を取り入れ、求められれば方針を変更し、タスク全体を見失うことなく途中の質問にも答えます。

Astra を使って開発するには、Responses API リクエストで modelgpt-6-astra に設定します。

新着情報

  • 非同期ツール呼び出し: アプリケーションがツールを実行している間も、GPT-6 Astra は推論を続けたり、ほかのツールを呼び出したり、リクエストのうち独立して対応できる部分に回答したりできます。関数またはカスタムツールに async: true を設定し、結果が用意できたら元の call_id を使って返します。ツールの実行と未完了の作業の管理は、引き続きアプリケーションが行います。基本的な使い方と、開発者が定義する待機ツールのパターンについては、非同期ツール呼び出しを参照してください。
  • ターン途中の指示変更: GPT-6 Astra が作業している間に、訂正や要件の変更など、ユーザーからの追加指示を送信できます。WebSocket 接続では、Responses API が完了済みの作業を保持し、更新内容を反映して処理を継続します。イベントの流れとツール結果の扱いについては、ターン途中の指示変更を参照してください。
  • キャッシュを保持したまま会話途中で推論を変更: configuration_update 入力項目を追加すると、元のプロンプトプレフィックスを書き換えることなく、難しい作業では推論強度を上げ、定型的な追加対応では下げられます。変更後の推論強度は、別の configuration_update 入力項目で上書きされるまで適用されます。例と互換性については、会話途中での推論の変更を参照してください。
  • ミスアラインメントの監視: GPT-6 Astra の安全対策強化の一環として、OpenAI のシステムはミスアラインメントを非同期で監視し、必要に応じてアラートを発します。詳しくは、ミスアラインメントの監視を参照してください。
  • 制限事項: GPT-6 Astra は推論強度の none をサポートしていません。EU データレジデンシーを利用する場合、GPT-6 Astra では Fast モードを利用できません。

GPT-6 Astra は、GPT-5.6 で利用できる既存の API 機能もサポートしています。これには、コンピューターの使用構造化出力ストリーミングプログラムによるツール呼び出しマルチエージェントオーケストレーションプロンプトキャッシュ推論の保持コンパクションPro モードが含まれます。

プロンプトのベストプラクティス

GPT-6 Astra は、GPT-5.6 Sol などの従来のモデルよりも高い知能と能力を備えています。また、ユースケースに合わせたプロンプトによって最適化できる行動の傾向もあります。

GPT-6 Astra の行動特性

  • 主体性とタスクの完遂:このモデルは、より効果的にユーザーと協働できるよう設計されているため、追加情報によって結果が大きく変わり得る場合には、ユーザーに質問する傾向が強くなっています。そのため、ユーザーが妥当な仮定を置いて作業を続けることを期待していても、作業を止めてしまう場合があります。
  • 指示への追従:GPT-6 Astra は、従来のモデルよりも全般的に指示への追従能力が高く、動作をより細かく制御できます。一方で、スキルや AGENTS.md などのファイルに含まれる指示の影響を、より強く受ける場合があります。モデルがアクセスできるスキルやその他のファイルを点検し、動作に影響する指示がないか確認することを 強く推奨します
  • パーソナリティと文体:このモデルは、書式を整えた詳細な回答を返す傾向があり、複数のセッションで同じような表現を繰り返し使う場合があります。アプリケーションに必要な文体と構成を指定してください。
  • サブエージェントへの委任:ワークフローで期待するほど頻繁には、作業を委任しない場合があります。並行作業でサブエージェントをいつ、どの程度使うべきか指定してください。
  • テストと検証:コーディングタスクでは、完了と判断する前に念入りにテストする傾向があります。小さなタスクでは、そのタスクに必要な範囲を超えてテストを行う場合があります。

主体性とタスクの完遂

GPT-6 Astra は、GPT-5.6 Sol やそれ以前のモデルに比べ、長時間のタスクでも一貫性を保つことに概して優れています。また、従来のモデルなら仮定を置いて進めていた場面でも、確認を求める傾向が強くなっています。

より自律的な作業を促すには、まず次のプロンプトを使ってみてください。

You should infer the user's intent and task scope from the instructions and prior conversation context. Your job is to bias towards action and carry the user's intended task to completion.

When the user expresses intent to perform new work or fix an existing issue, persist until the user's intended goal is complete. Progress autonomously towards the user's goal (e.g. creating isolated worktrees / checkouts if needed, resolving merge conflicts, read-only actions, creating draft PRs etc.) unless they are clearly destructive or irreversible.

ユーザーの意図が不明確な場合、モデルは作業を進めるためにユーザーへ確認を求める傾向が強くなっています。ユーザーのプロンプトに許可の意図が含まれている場合は、作業を最後まで進めるよう指示してください。

When the user's prompt indicates a request for action, such as "can you...", "I want to...", "help me..." and similar expressions, treat these as instructions to do the work and take action. Do not stop at acknowledging capability (e.g. "Yes…"), proposing a plan, or offering to continue. Do not settle for a partial or "helpful enough" solution that does not fully satisfy the user's task to save time, effort or tokens. If a task requires sustained work, complete all the necessary work until the intended outcome is fulfilled.

具体的でレビュー可能な成果物を用意してから承認を求めるよう、モデルに指示してください。これにより、実行できる作業を終える前にタスクが止まるのを避けられ、多くの場合、完了までの時間も短くなります。

Before asking the user clarifying questions, you should complete the work that is already authorized from context and necessary to make the proposed action concrete and reviewable. The user should be approving a concrete, reviewable result. For example, before deploying a change, writing to an external application, merging a PR or publishing a site, do all the required work first so that user approval is the final step. You don't need user permission for reversible tasks, read-only actions, reviews or fixes, or anything for which authorization is provided earlier in the session or strongly implied from the task instruction.

Do not introduce unsolicited warnings, disclaimers, approval flows, or safety/compliance checklists due to hypothetical risk.

モデルはデフォルトで、作業を続けながら、回答を待たずに進められる質問をする傾向もあります。アプリケーションに必要な自律性の程度に合わせて、これらのプロンプトを調整してください。

指示への追従

GPT-6 Astra は長い指示にもより的確に従える一方で、コンテキスト内の情報の影響をより強く受ける場合があります。たとえば、スキルファイル内の不明確な指針や矛盾する指針によって、作業の早い段階でモデルが停止し、先に進めなくなることがあります。ユーザーの指示とスキルのどちらを優先するか、明示してください。

The user's instructions take precedence over guidelines provided in a skill. If explicit user instructions conflict with a skill's instructions, prioritize the user's instructions.

停止や方針変更の原因となったスキルと指示をモデルに示すよう求めることも、モデルの動作の透明性を高めるうえで効果的です。

If a skill causes you to ask for permission or confirmation, pause, leave requested work unfinished, or diverge from the user's intent, name and link to the exact SKILL.md file you read, quote the relevant instruction, and briefly explain how it applies. Distinguish explicit skill requirements from your interpretation of guidelines.

アプリケーションが多数のスキルや AGENTS.md などの指示ファイルを読み込む場合は、このプロンプトを使って、明示されずに作用している指針や矛盾する指針を見つけてください。

パーソナリティと文体

GPT-6 Astra は、回答の要点を拾いやすくするためにリスト、表、Markdown を使う傾向があります。アプリケーションで書式を控えた文章が必要な場合は、その希望を指定してください。

Default to using clear, concise paragraphs, each developing one main idea. Use lists only when the information is genuinely parallel, sequential, or easier to compare, and avoid nested lists unless the hierarchy cannot be expressed clearly in prose. Use plain, simple language: familiar words, concrete examples, and precise verbs. Prefer active voice and direct statements.

Make sure to state the main point clearly and early, then develop it with the explanation and detail the reader needs. Let each sentence build on what came before. Develop the points that matter and provide enough support to be useful.

技術的な内容を伝える際には、次のプロンプトが、明快で筋の通った表現と専門分野にふさわしい表現の両立に役立ちます。

Use plain language over jargon, and reference technical details only to the degree that it helps illustrate an idea or your work to the user. Communicate complex concepts in a clear and cohesive manner, and calibrate your writing to the level of background knowledge assumed from the user's prompt and context.

文章中の専門用語や決まり文句を減らすには、まず次のプロンプトを使ってみてください。

Avoid using slop words or phrases like "Bottom Line:" in conclusions, "delve," "foster," "leverage," "it's worth noting," "importantly," "Question? Answer." or "This isn't about X. It's about Y.", "genuinely" or hyphenated compound descriptions and adjectives. Do not use concluding summary statements such as "In short:..", "The simplest mental model is:...".

State the intended action directly. Avoid adding what you won't do, what will remain unchanged, or how you'll separate or categorize results. Do not use contrastive framing such as "X, not Y" or "X—not Y" that introduces an unprompted alternative that the user didn't ask about. Avoid invented compound labels like "exact-head checks" and "editorial-row layouts", vague qualifiers, and canned transitions; use plain verbs and prepositions to state the actual relationship directly.

サブエージェントへの委任

GPT-6 Astra は、作業を分割し、並行して動くサブエージェントに委任できるよう学習されています。ハーネスにマルチエージェントシステムを実装している場合は、次のプロンプトを使って、GPT-6 Astra が作業を委任する程度を調整してください。

If at any point you can parallelize work by delegating tasks to another agent (no matter if you are the root or subagent), you should do so using collaboration tools if it could save time or improve quality.

エージェント間のメッセージには、文法やスペースの誤りが含まれる場合があります。エージェント間のメッセージを読みやすくするには、次のプロンプトを使ってください。

Messages that you send to other agents and your final answer may be read by a human, so ensure they are legible. Always put proper spaces between words and/or numbers.

サブエージェントに作業を委任する方法やタイミングをプロンプトで指定すると、モデルはその指示によく従う傾向があります。ハーネスとマルチエージェントの実装に合わせて、この動作を調整してください。

テストと検証

コーディングタスクでは、変更に必要なテストと検証の程度を調整してください。これにより、小さな変更に対する不要なテストや繰り返しの確認を避けやすくなります。

Do not write tests for reversible, low-impact changes that mirror the implementation. If you do choose to verify your work with tests, make sure that the tests are meaningful and necessary to verify implementation.

Run tests appropriate to the change and complete required checks. Once those pass, broaden or repeat testing only when new changes, failures, or unresolved concerns justify it; otherwise, continue toward completing the task.

移行クイックスタート

Codex を使った移行

Codex は OpenAI ドキュメントスキルを使って、このガイドで推奨されている変更を適用できます。

$openai-docs migrate this project to GPT-6 Astra

他のコーディングエージェントでこのスキルを使用するには、Codex リポジトリからダウンロードしてください。

API とモデルのパラメータの更新

modelgpt-6-astra に設定し、次の点を確認してください。

  • 推論強度: 現在 none または minimal を使っている場合は、まず low を試して結果を比較してください。それ以外の場合は、現在実際に適用されている推論強度を維持してください。Responses では reasoning.effort、Chat Completions では reasoning_effort を使います。
  • ツール呼び出し: Responses API を使ってください。GPT-6 Astra は Chat Completions をサポートしていますが、ツール呼び出しには Responses が必要です。
  • サポートされていないパラメータ: temperaturetop_ptop_logprobs を削除してください。Chat Completions では、logprobs も削除してください。Responses では、include から message.output_text.logprobs を削除してください。
  • Fast モード: EU データレジデンシーを利用する場合は、Standard 処理を使ってください。GPT-6 Astra は、EU データレジデンシーでの service_tier: "fast" または service_tier: "priority" をサポートしていません。GPT-6 Astra の Fast モードには、レイテンシの SLA は含まれません。Fast モードの互換性を参照してください。
  • 推論強度の変更: アプリケーションで応答ごとに推論強度を変更する場合は、通常の単一エージェントのリクエストで configuration_update 項目を使ってください。キャッシュ用のプロンプトプレフィックスを保持するため、リクエストレベルの reasoning.effort は変更しないでください。この機能を導入する前に、互換性に関する制限を確認してください。
  • プロンプトキャッシュ: GPT-5.5 以前から移行する場合は、prompt_cache_retentionprompt_cache_options.ttl に置き換え、値を "30m" に設定してください。キャッシュの境界やキャッシュ書き込みの課金を含む、プロンプトキャッシュの変更点を確認してください。
  • 不要な承認待ちによる停止: モデルが作業を進める前に何度も承認を求める問題が発生した場合は、主体性とタスクの完遂に関するガイダンスを使って、より自律的に実行するよう指示してください。指示への追従、文体、サブエージェントへの委任、テストについては、プロンプトのベストプラクティスのほかの項目を参照してください。