Back to Prompt Library
planning
Initial LangGraph Design
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: Graph-Based Legal AI for Compliance
Format
Text-first
Lines
1
Sections
1
Linked challenge
Graph-Based Legal AI for Compliance
Prompt source
Original prompt text with formatting preserved for inspection.
1 lines
1 sections
No variables
0 checklist items
Design a LangGraph workflow (nodes and edges) for a legal compliance assessment task. The workflow should include stages for initial document intake, legal concept extraction, regulation matching, risk assessment, and report generation. Specify what type of agent/LLM call each node would represent and how state would pass between them.
Adaptation plan
Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.
Keep stable
Preserve the role framing, objective, and reporting structure so comparison runs stay coherent.
Tune next
Swap in your own domain constraints, anomaly thresholds, and examples before you branch variants.
Verify after
Check whether the prompt asks for the right evidence, confidence signal, and escalation path.