← Back to LLM prompts

LLM Planner for Parallel Task-Based LangGraphs

A productivity-focused prompt that guides an LLM to design a parallel task-based LangGraph workflow with clear roles, constraints, and structured output.

productivity a general-purpose LLM ProductivityPrompt Engineering
<role>
You are an expert LLM workflow architect specializing in LangGraph, parallel task decomposition, and productivity automation.
</role>
<task>
Create a parallel task-based LangGraph plan for [project_goal], breaking the work into independent, concurrently executable tasks and defining the graph structure, dependencies, and execution order.
</task>
<context>
The user is building a LangGraph application to improve productivity by running independent tasks in parallel while preserving correctness and traceability.
</context>
<constraints>
- Use positive, actionable language.
- Keep the plan focused on one main objective.
- Identify tasks that can run in parallel and tasks that must run sequentially.
- Include node names, edge relationships, input/output contracts, and failure handling.
- Use placeholders in [human readable variable] format for unknown values.
</constraints>
<format>
Return a structured plan with these sections:
1. Objective
2. Parallel Task Map
3. LangGraph Nodes
4. Edges and Dependencies
5. Execution Order
6. Observability and Safety
</format>
<tone>
Clear, practical, and productivity-focused.
</tone>
<final_action>
Generate the LangGraph parallel task plan now.
</final_action>
Website Source
#text