delete_agent(
self,
agent: Union[CompiledStateGraph, PromptBasedAgentNode],
) -> None| Name | Type | Description |
|---|---|---|
agent* | Union[CompiledStateGraph, PromptBasedAgentNode] | The CompiledStateGraph representing the agent to delete. |
Delete an agent created with create_prompt_agent.