Loading...
Loading...
Get AI-powered legal guidance with verifiable citations, confidence scoring, and full conversation management. Designed for compliance teams managing AI governance.
Every response includes verifiable citations to legal sources, regulations, and case law.
AI responses include confidence percentages so your team knows when to seek human counsel.
Maintains full conversation context with workspace-level knowledge for accurate guidance.
Automatically flags conversations that may need human legal review.
The Legal Co-Pilot is trained on AI governance regulations, IP law, content licensing frameworks, and digital rights case law.
Analyze AI regulations (EU AI Act, NIST AI RMF, state laws) and determine applicability to your AI systems.
Assess content licensing obligations, fair use, and intellectual property implications for AI training data.
Review data processing agreements, model licenses, and vendor contracts for compliance risks.
Search and analyze relevant case law with jurisdiction filtering and citation verification.
The Legal Co-Pilot is an assistive tool for legal research and analysis. It does not provide legal advice and its outputs should always be reviewed by qualified legal counsel before being acted upon. Confidence scores and citations must be verified.
Create, manage, and archive legal conversations. Each conversation maintains full context for accurate guidance over multiple exchanges.
import { DRD } from '@drd/sdk';
const drd = new DRD({ apiKey: process.env.DRD_API_KEY });
// Create a new legal consultation
const conversation = await drd.legalCopilot.createConversation({
title: 'GDPR Data Retention Policy Review',
context: {
jurisdiction: 'EU',
framework: 'GDPR',
topic: 'data_retention',
},
});
// Send a message
const response = await drd.legalCopilot.sendMessage({
conversationId: conversation.id,
role: 'user',
content: 'What are the GDPR requirements for data retention periods?',
});
// AI response includes citations and confidence
console.log(response.content);
console.log(response.citations); // Legal source references
console.log(response.confidence); // 0-100 confidence scoreLegal analysis happens through multi-turn conversations. Each conversation maintains context, tracks citations, and produces a structured analysis that can be exported as a legal memo.
{
"title": "EU AI Act Compliance for Agent Fleet",
"context": {
"jurisdiction": "EU",
"domain": "regulatory-compliance",
"agents": ["019agent-scanner-...", "019agent-classifier-..."],
"relevantPolicies": ["019policy-content-...", "019policy-data-..."]
},
"initialMessage": "We deploy AI agents that classify content and detect copyright violations. What are our obligations under the EU AI Act?"
}
// Response
{
"ok": true,
"data": {
"conversationId": "019conv-abcd-1234-...",
"title": "EU AI Act Compliance for Agent Fleet",
"response": {
"content": "Based on the EU AI Act (Regulation 2024/1689), your content classification agents likely fall under Article 6(2) as they may qualify as high-risk AI systems...",
"confidence": 0.87,
"citations": [
{
"id": "cit-001",
"source": "EU AI Act, Article 6(2)",
"text": "AI systems referred to in Annex III shall be considered high-risk",
"url": "https://eur-lex.europa.eu/eli/reg/2024/1689",
"verified": true
}
],
"analysisType": "regulatory",
"followUpQuestions": [
"Would you like me to analyze specific compliance requirements for high-risk classification?",
"Should I assess whether any exemptions under Article 6(3) apply to your agents?"
]
},
"messageCount": 1,
"createdAt": "2026-02-14T09:00:00Z"
}
}Every AI response includes structured citations that reference specific legal sources, enabling verification and audit trails.
{
"content": "Under GDPR Article 5(1)(e), personal data must be kept...",
"confidence": 92,
"citations": [
{
"source": "GDPR Article 5(1)(e)",
"title": "Principles relating to processing of personal data",
"url": "https://gdpr-info.eu/art-5-gdpr/",
"relevance": 0.95
},
{
"source": "WP29 Guidelines",
"title": "Guidelines on Data Protection Impact Assessment",
"relevance": 0.78
}
]
}DRD tracks citations across the conversation, verifies their accuracy against the source material, and flags any citations that could not be verified.
{
"ok": true,
"data": {
"conversationId": "019conv-abcd-1234-...",
"citations": [
{
"id": "cit-001",
"source": "EU AI Act, Article 6(2)",
"text": "AI systems referred to in Annex III shall be considered high-risk",
"url": "https://eur-lex.europa.eu/eli/reg/2024/1689",
"verified": true,
"verifiedAt": "2026-02-14T09:00:01Z",
"usedInMessages": [1, 3, 5],
"category": "legislation"
},
{
"id": "cit-003",
"source": "Case C-401/19, Poland v Parliament",
"text": "Content moderation systems must respect fundamental rights",
"verified": true,
"usedInMessages": [3],
"category": "case-law"
}
],
"summary": {
"total": 12,
"verified": 11,
"unverified": 1,
"byCategory": {
"legislation": 5,
"case-law": 4,
"guidance": 2,
"academic": 1
}
}
}
}Every response includes a confidence score from 0 to 1 indicating how reliable the analysis is. Confidence is computed based on citation availability, jurisdictional coverage, and the specificity of the question.
0.9 - 1.0Very HighWell-established law with clear precedent and verified citations
0.7 - 0.89HighStrong legal basis with some areas of interpretive uncertainty
0.5 - 0.69ModerateRelevant law exists but application to facts is unclear
0.3 - 0.49LowLimited legal precedent or significant jurisdictional gaps
0.0 - 0.29Very LowNovel area with minimal legal guidance -- high uncertainty
Continue a conversation with follow-up questions. The Co-Pilot maintains full context from previous messages, refining its analysis as you provide more details.
{
"message": "Yes, please perform a gap analysis against the conformity assessment requirements for our content classification agent."
}
// Response
{
"ok": true,
"data": {
"messageId": "019msg-efgh-...",
"response": {
"content": "Based on Article 43 of the EU AI Act, high-risk AI systems require conformity assessment before market placement...",
"confidence": 0.82,
"citations": [
{
"id": "cit-004",
"source": "EU AI Act, Article 43",
"text": "Conformity assessment procedures for high-risk AI systems",
"verified": true
}
],
"gapAnalysis": {
"totalRequirements": 12,
"compliant": 4,
"partiallyCompliant": 3,
"nonCompliant": 5,
"gaps": [
{
"requirement": "Technical Documentation (Art. 11)",
"status": "non_compliant",
"priority": "high",
"remediation": "Create comprehensive system documentation including design specs, training methodology, and validation results"
}
]
}
}
}
}Export conversation analysis as a structured legal memorandum suitable for review by counsel. Memos include all citations, confidence scores, and a summary of findings.
{
"format": "pdf",
"template": "legal-memo",
"options": {
"includeCitations": true,
"includeConfidenceScores": true,
"includeGapAnalysis": true,
"headerText": "PRIVILEGED AND CONFIDENTIAL"
}
}
// Response
{
"ok": true,
"data": {
"exportId": "019export-ijkl-...",
"format": "pdf",
"downloadUrl": "https://exports.drd.io/019export-ijkl-...?token=...",
"expiresAt": "2026-02-15T09:00:00Z",
"pages": 8,
"citationCount": 12
}
}Integrate the Legal Co-Pilot into your workflows with the DRD TypeScript SDK.
import { DRD } from '@drd/sdk';
const drd = new DRD({ apiKey: process.env.DRD_API_KEY });
// Start a legal analysis conversation
const conversation = await drd.legalCopilot.createConversation({
title: 'Training Data Licensing Review',
context: { jurisdiction: 'US', domain: 'ip-licensing' },
initialMessage: 'We want to use a dataset licensed under CC BY-NC-SA 4.0 to fine-tune a commercial AI model. Is this permissible?',
});
console.log(`Confidence: ${conversation.response.confidence}`);
console.log(`Citations: ${conversation.response.citations.length}`);
// Follow up
const followUp = await drd.legalCopilot.sendMessage({
conversationId: conversation.conversationId,
role: 'user',
content: 'What if we use the dataset only for evaluation, not training?',
});
// Export as legal memo
const memo = await drd.legalCopilot.exportMemo({
conversationId: conversation.conversationId,
format: 'pdf',
template: 'legal-memo',
});
console.log(`Memo available at: ${memo.downloadUrl}`);