Skip to main content
Loading navigation
Back to prompt library

Implement Legal Analyst Agent with Claude Opus 4.1 & LlamaIndex

Linked challenge: Multi-Agent Content Rights Auditor

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Develop the 'Legal Analyst' agent using Langroid. This agent should receive a piece of generated content and use Claude Opus 4.1 to analyze its copyright implications. It must leverage LlamaIndex with multi-query RAG to retrieve relevant legal statutes and precedents from a simulated legal corpus. The agent's output should include a risk assessment, explanation, and reference to legal sources, conforming to the `CopyrightAnalysisTask` output.