Update Agent
Update an exsiting agent
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
The id of the agent.
The description of the agent.
The metadata of the agent.
The user id of the agent.
The name of the agent.
The tools used by the agent.
The tags associated with the agent.
The system prompt used by the agent.
The LLM configuration used by the agent.
The embedding configuration used by the agent.
The ids of the messages in the agent's in-context memory.
The in-context memory of the agent.
Response
Representation of an agent's state. This is the state of the agent at a given time, and is persisted in the DB backend. The state has all the information needed to recreate a persisted agent.
Parameters:
id (str): The unique identifier of the agent.
name (str): The name of the agent (must be unique to the user).
created_at (datetime): The datetime the agent was created.
message_ids (List[str]): The ids of the messages in the agent's in-context memory.
memory (Memory): The in-context memory of the agent.
tools (List[str]): The tools used by the agent. This includes any memory editing functions specified in memory
.
system (str): The system prompt used by the agent.
llm_config (LLMConfig): The LLM configuration used by the agent.
embedding_config (EmbeddingConfig): The embedding configuration used by the agent.
The name of the agent.
The tools used by the agent.
The system prompt used by the agent.
The type of agent.
memgpt_agent
, split_thread_agent
, o1_agent
The LLM configuration used by the agent.
The embedding configuration used by the agent.
The description of the agent.
The metadata of the agent.
The user id of the agent.
The human-friendly ID of the Agent
The datetime the agent was created.
The ids of the messages in the agent's in-context memory.
Represents the in-context memory of the agent. This includes both the Block
objects (labelled by sections), as well as tools to edit the blocks.
Attributes: memory (Dict[str, Block]): Mapping from memory block section to memory block.
The list of tool rules.
The tags associated with the agent.