NachschlagenQuellenregister

Dokumentationerreichbar

OpenAI Agents SDK, Guardrails

openai.github.io (externe Seite)

Der Werkzeugkasten von OpenAI für Agenten führt Guardrails als drei Stationen: am Eingang, an der Ausgabe und am Tool Call. Die Seite sagt auch, wo sie jeweils greifen, nämlich am ersten Agenten einer Kette und an dem, der die Endausgabe erzeugt. Für die Strecke dazwischen verweist sie auf die Prüfung am Tool, die bei jedem Aufruf läuft; die Übergabe an einen anderen Agenten und die vom Anbieter betriebenen Tools deckt sie nicht ab. Am Tool Call nennt sie drei Reaktionen: den Aufruf überspringen, seine Ausgabe durch eine Meldung ersetzen, oder den Lauf abbrechen. Die Eingangsprüfung läuft im Standard gleichzeitig mit dem Agenten.

geprüft 10.11.2026

Worauf sich diese Seite beruft, wörtlich, abgerufen am 07.08.2026:

  • Guardrails enable you to do checks and validations of user input and agent output.bestätigt 10.11.2026
  • Input guardrails run only for the first agent in the chain.bestätigt 10.11.2026
  • Output guardrails run only for the agent that produces the final output.bestätigt 10.11.2026
  • Input tool guardrails run before the tool executes and can skip the call, replace the output with a message, or raise a tripwire.bestätigt 10.11.2026
  • Blocking execution guarantees that the expensive model does not start; with parallel execution, the expensive model may already have started before the guardrail completes.bestätigt 10.11.2026
  • If you need checks before and/or after each custom function-tool call in a workflow that includes managers, handoffs, or delegated specialists, use tool guardrails instead of relying only on agent-level input/output guardrails.bestätigt 10.11.2026
  • If a function tool requires approval, input tool guardrails normally run after approval and immediately before execution.bestätigt 10.11.2026

07 Guardrails

Alle Quellen

↑↓ auswählenEnter öffnenDie Suche läuft im Browser. Nichts wird übertragen.