Prompt Content
Initialize the OpenAI Agents SDK and define a custom tool named 'legal_database_lookup' that simulates querying a legal database. This tool should accept a 'query' string and return a relevant legal document snippet or summary. Also, define another tool named 'policy_evaluation_tool' that takes a proposed action and a regulation, returning a 'PASS' or 'FAIL' along with a reason. Use Claude Opus 4.1 as your underlying LLM for the agent. Implement Hydra for managing the agent's configuration parameters.
Try this prompt
Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.
Related Prompts
Explore similar prompts from our community
Usage Tips
Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)
Customize placeholder values with your specific requirements and context
For best results, provide clear examples and test different variations