Skip to content

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 TypeDescription
TerminalToolRuleEnds agent execution when the specified tool is called
InitToolRuleRequires a tool to be called first during agent invocation
ToolRuleSpecifies 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.