OptionaldesignPlanning Designer agent section
Complete agent hierarchy structure
Architecture documentation
How data flows between agents
Error handling and recovery strategies
How agents will execute in sequence/parallel
OptionalimplementationAgent Manager implementation section
Agents that have been created in the system
Validation results for the created agent system
OptionalloadedAgent Loader section - for modification workflow Contains the loaded agent when modifying an existing agent
Full AgentSpec loaded from database with all nested structure
When the agent was last modified in database
Copy of original spec for comparison during modification
Agent's current status
Metadata about the agent creation process
The agent who last modified the payload
Original user request for agent creation
Unique identifier for this agent creation session
Current status of the agent creation process
OptionalmodificationModification Planner section - for modification workflow Contains the detailed plan for modifying an existing agent
OptionalactionsToAdd?: { id: string; name: string; reason: string }[]Actions to add (with action IDs from Find Candidate Actions)
OptionalactionsToRemove?: string[]Action IDs to remove from the agent
High-level summary of all changes to be made
OptionalfieldsToUpdate?: Record<string, { new: any; old: any }>Fields that will be updated (field name -> old/new values)
OptionalpathsToModify?: {Paths modifications for Flow agents only
OptionalpromptsToUpdate?: {Prompts to update or add
OptionalstepsToModify?: {Steps modifications for Flow agents only
OptionalsubAgentsToModify?: {Sub-agents modifications (add/remove/update)
OptionalpromptsPrompt Designer agent section
Map of agent names to their prompt configurations
Analysis and optimization notes
Complete system prompt for the agent
Documentation of template variables used
OptionalrequirementsRequirements Analyst agent section
Key assumptions made during requirements gathering
High-level business objective this agent will serve
Data sources and data handling requirements
Specific functional capabilities the agent must have
System integration requirements
Explicitly defined scope boundaries
Identified risks and mitigation strategies
Measurable criteria for success
Technical constraints and requirements
Agent Manager Payload Definition This type defines the structure for data passed between Agent Manager sub-agents