Energy Bilateral Trade Agreement Compliance Agent with AutoGen
Energy conglomerates managing multi-billion dollar cross-border commercial agreements require continuous compliance negotiation and contract term checks. Build a multi-agent conversation framework using Microsoft AutoGen where buyer, seller, and legal agents cross-examine agreement clauses.
What you are building
Utilize Microsoft AutoGen multi-agent conversations to conduct automated compliance checks on bilateral trade contracts.
How work is evaluated
Evaluates clause compliance detection and group chat termination accuracy.
Datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
compliance_flag_check
Ensures agent conversation correctly identifies non-compliant clause status.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
legal_reasoning_precision
Precision of extracted legal reasoning relative to target trade regulation. • target: 0.91 • range: 0-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
Learning goals
Construct multi-agent chat conversations using Microsoft AutoGen UserProxyAgent and AssistantAgent
Enforce compliance validation against French and Saudi trade legal frameworks
Incorporate human-in-the-loop validation triggers for non-standard indemnity clauses
Extract structured clause obligation matrices from conversational turns
Resources
Sample bilateral trade agreements, supply contract clauses, and cross-border commercial compliance rules between French and Saudi energy entities.
Challenge setup
Evaluates clause compliance detection and group chat termination accuracy.
Challenge input
JSON with agreement_clause_text and target_jurisdiction
AutoGen
Microsoft framework for building multi-agent conversational ecosystems.
Evaluated output
JSON with compliance_status (COMPLIANT|NON_COMPLIANT), flag_reason, and suggested_revision
- Ensures agent conversation correctly identifies non-compliant clause status.
- Precision of extracted legal reasoning relative to target trade regulation. • target: 0.91 • range: 0-1
- Benchmark: Legal-Compliance-Bench
- Legal Reasoning Precision target: 0.91
- 1 public reference case
- Python execution harness
- Python sandbox (unavailable on Versalist)
Shows the first task, up to three tools, and up to three evidence items.
View technical recipe
Configured tools
- AutoGen · Required
- Exa · Optional
- Vercel AI Gateway · Optional
- Vercel AI Gateway · Optional
Evaluation contract
- compliance_flag_check · Weight 1
- legal_reasoning_precision · Weight 1
Metrics
- legal_reasoning_precision · Target 0.91
Benchmarks
- Legal-Compliance-Bench
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON with agreement_clause_text and target_jurisdiction
Output: JSON with compliance_status (COMPLIANT|NON_COMPLIANT), flag_reason, and suggested_revision
Execution harness: Python
Evaluation tools
- AutoGen · agent_framework
Recipe freeze marker
No recipe freeze time is recorded.