Back to prompt library
OpenAI Agents SDK Setup
Linked challenge: OpenAI Agents Litigation Engine: Nuclear Verdict Risk Predictor
Prompt source
implementation8 lines2 sectionsNo variables0 checklist items
from openai import OpenAI
from openai.lib.agents import Agent, Runner
# Configure litigation agent using OpenAI Agents SDK with custom legal venue lookup tools
litigation_agent = Agent(
name='NuclearVerdictPredictor',
instructions='Analyze casualty legal claims and calculate nuclear verdict probability.',
tools=[lookup_venue_risk_score]
)