Create a new agent with the specified configuration.
The name of the agent.
The blocks to create in the agent’s in-context memory.
The tools used by the agent.
The ids of the tools used by the agent.
The ids of the sources used by the agent.
The ids of the blocks used by the agent.
The tool rules governing the agent.
The system prompt used by the agent.
The type of agent.
The LLM configuration used by the agent.
The embedding configuration used by the agent.
The initial set of messages to put in the agent’s in-context memory.
If true, attaches the Letta core tools (e.g. archival_memory and core_memory related functions).
If true, attaches the Letta multi-agent tools (e.g. sending a message to another agent).
The description of the agent.
The metadata of the agent.
The LLM configuration handle used by the agent, specified in the format provider/model-name, as an alternative to specifying llm_config.
The embedding configuration handle used by the agent, specified in the format provider/model-name.
The context window limit used by the agent.
The embedding chunk size used by the agent.
The template id used to configure the agent
Whether the agent is a template
The project slug that the agent will be associated with.
The environment variables for tool execution specific to this agent.
The variables that should be set for the agent.
Successful Response
The id of the agent. Assigned by the database.
The name of the agent.
The system prompt used by the agent.
The type of agent.
The LLM configuration used by the agent.
The embedding configuration used by the agent.
The in-context memory of the agent.
The tools used by the agent.
The sources used by the agent.
The id of the user that made this object.
The id of the user that made this object.
The timestamp when the object was created.
The timestamp when the object was last updated.
The list of tool rules.
The ids of the messages in the agent’s in-context memory.
The description of the agent.
The metadata of the agent.
The environment variables for tool execution specific to this agent.
The id of the project the agent belongs to.
The id of the template the agent belongs to.
The base template id of the agent.