Break down complex prompts into manageable subtasks and execute them with specialized agents.
The Task Planning System offers both XML and JSON-based APIs for integration with your applications.
Analyze a prompt for task complexity and possible decomposition.
/task-planner/analyze
POST /task-planner/analyze Content-Type: application/xml <AnalyzeRequest> <prompt>Complex multi-step prompt here</prompt> <model>gpt-4o</model> <!-- Optional, default: gpt-4o --> </AnalyzeRequest>
/task-planner/api/analyze
POST /task-planner/api/analyze Content-Type: application/json { "prompt": "Complex multi-step prompt here", "model": "gpt-4o" // Optional, default: gpt-4o }
Execute a complex prompt through task decomposition and execution.
/task-planner/execute
POST /task-planner/execute Content-Type: application/xml <TaskExecuteRequest> <prompt>Complex multi-step prompt here</prompt> <model>gpt-4o</model> <!-- Optional, default: gpt-4o --> </TaskExecuteRequest>
/task-planner/api/execute
POST /task-planner/api/execute Content-Type: application/json { "prompt": "Complex multi-step prompt here", "model": "gpt-4o" // Optional, default: gpt-4o }