Import an AI agent from a template and create a new agent instance
"๐ง" | "๐" | "๐ผ"true: Imports all knowledge bases with their documents and files (if included in template)false: Imports only agent configuration without knowledge baseswith_knowledge_bases: trueAIAgent object:
ACTIVE or INACTIVEserverless or containeropenai)gpt-4o, gpt-4.1)agno)with_knowledge_bases: true)with_knowledge_bases: true)with_knowledge_bases: true has no effectorigin_template field tracks which template was used for importAPI Key for authentication
Successful Response
Enumeration of the agent delegation end strategies.
Attributes: ReturnToStart: when last agent is finished and about to announce "finish" it will summarize and return to the first agent. FinishWithLast: finish at the last agent.
return-to-start, finish-with-last serverless, container personal, organizational Enumeration of possible agent statuses.
Attributes: DRAFT: Agent is in a draft state. ACTIVE: Agent is active and operational. INACTIVE: Agent is inactive and not operational.
DRAFT, ACTIVE, INACTIVE Enumeration of the agent types.
Attributes: Manager: marks the agent as a Managing agent. Regular: marks the agent as a regular agent. A2A: marks the agent as an external agent used via A2A protocol. Curl: marks the agent as an external agent used via a CURL.
manager, regular, a2a, curl Enumeration of the agent delegation types.
Attributes: Router: Marks the agent as a router agent - xpanderAI's LLM will decide which sub-agent to trigger. Sequence: Marks the agent as a sequence agent - sub-agents will delegate to other sub-agents.
router, sequence Enumeration of the agent delegation memory strategies.
Attributes: Full: The memory object will be passed completely between agents. Summarization: Between each sub-agent delegation, a summarization will occur, and a new thread will be created for each agent. OriginalInput: the sub agent will get the initial task with a fresh memory thread
full, summarization, original-input openai, nim, amazon_bedrock, huggingFace, friendlyAI, anthropic, gemini, fireworks, google_ai_studio, helicone, open_router, nebius text, markdown, json xpander, custom