Create Agents From Template
templates.agents.create(strtemplate_version, AgentCreateParams**kwargs) -> AgentCreateResponse
/v1/templates/{template_version}/agents
Creates an Agent or multiple Agents from a template
Parameters
template_version: str
Returns
Create Agents From Template
from letta_client import Letta
client = Letta(
api_key="My API Key",
)
agent = client.templates.agents.create(
template_version="template_version",
)
print(agent.agent_ids)
{
"agent_ids": [
"string"
],
"deployment_id": "deployment_id",
"group_id": "group_id"
}Returns Examples
{
"agent_ids": [
"string"
],
"deployment_id": "deployment_id",
"group_id": "group_id"
}