Build LangGraph Workflow for Risk Analysis

implementationChallenge

Prompt Content

Design a LangGraph workflow that takes a security query (e.g., 'Find all dormant admin accounts') as input. The workflow should use LlamaIndex for RAG against the knowledge graph, feed retrieved context to Gemini 2.5 Pro for analysis, and then iteratively refine the query or explore related graph nodes until a definitive answer or risk assessment is formed. Implement an adaptive thinking budget.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations