Appearance
Letta v0.5.2 Release Aging
Published: November 6, 2024 | Original Post
Tool Rules for Constrained Agent Behavior
Three rule types for controlling tool usage:
| Rule Type | Description |
|---|---|
| TerminalToolRule | Ends agent execution when the specified tool is called |
| InitToolRule | Requires a tool to be called first during agent invocation |
| ToolRule | Specifies which tools must follow after a particular tool |
Tool rules are defined per-agent and passed when creating agents. Currently, TerminalToolRule is the only type compatible with all models.
Agent Tags for User Association
Developers can assign tags to agents via the AgentState.tags field, enabling mapping agents to end users and querying agents by their assigned tags.