Back to Prompt Library
implementation
OpenAI Agents SDK Definition
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: OpenAI Agents SDK Threat Telemetry & Cyber Loss Payout Triage System
Format
Code-aware
Lines
7
Sections
4
Linked challenge
OpenAI Agents SDK Threat Telemetry & Cyber Loss Payout Triage System
Prompt source
Original prompt text with formatting preserved for inspection.
7 lines
4 sections
No variables
0 checklist items
from openai_agents import Agent, Runner, tool
@tool
def analyze_siem_logs(logs: str) -> dict:
# Tool logic for parsing SIEM event logs
return {'breach_detected': True, 'type': 'Ransomware'}
agent = Agent(name='CyberClaimsAgent', instructions='Analyze cyber breach claims using telemetry tools.', tools=[analyze_siem_logs])
# Run agent on incident...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.