Back to Prompt Library
implementation

GPT-5 Policy Interpreter with Adaptive Budget

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Agentic Identity & Access Management with OpenAI Swarm, GPT-5, and MCP

Format
Text-first
Lines
1
Sections
1
Linked challenge
Agentic Identity & Access Management with OpenAI Swarm, GPT-5, and MCP

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Implement the 'Policy Guardian' agent's core logic. This agent should use GPT-5 to interpret a natural language security policy (e.g., 'Only agents with 'data_scientist' role can access 'sensitive_data' after explicit approval'). Detail how GPT-5's extended thinking capabilities will be used for complex policy interpretation and how an adaptive reasoning budget will be applied based on the sensitivity of the access request.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Hold the task contract and output shape stable so generated implementations remain comparable.

Tune next

Update libraries, interfaces, and environment assumptions to match the stack you actually run.

Verify after

Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.