Back to Prompt Library
planning

LangGraph Agent Workflow Definition

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Multi-Agent System for AI-Generated Content Verification & Compliance

Format
Text-first
Lines
1
Sections
1
Linked challenge
Multi-Agent System for AI-Generated Content Verification & Compliance

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Using LangChain and LangGraph, define a stateful graph for a content verification system. Include at least three nodes: a 'Content Intake' node, an 'AIGenerationDetector' node (using Gemini 3 Flash), and a 'ComplianceChecker' node (also using Gemini 3 Flash). Add edges to route content from intake to detection, and then to compliance. Include a 'MemoryManager' node to interact with Cognee. Provide the basic Python code for defining the graph and its nodes, including LangGraph imports.

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.