Inspection

List and inspect agents, blocks, tools, and other resources.

get

List resources on the Letta server. Supports agents, blocks, archives, tools, folders, files, mcp-servers, conversations, and archival memory.

lettactl get <resource> [options]

Options

FlagTypeDescription
--output, -otable | json | yaml | wideOutput format
--agent, -astringFilter by agent name
--sharedbooleanShow resources used by 2+ agents
--orphanedbooleanShow resources attached to 0 agents
--tagsstringFilter agents by tags (AND logic)
--canarybooleanShow only canary agents
--fullbooleanShow full archival entry text
--querystringSemantic search in archival memory

Examples

List all agents
lettactl get agents
JSON output
lettactl get agents -o json
Shared blocks
lettactl get blocks --shared
Filter by tag
lettactl get agents --tags 'tenant:acme'
Search archival
lettactl get archival -a my-agent --query 'pricing'
List conversations
lettactl get conversations my-agent

describe

Show detailed information about a specific resource including full config, attached resources, and source code.

lettactl describe <resource> <name> [options]

Options

FlagTypeDescription
--canarybooleanDescribe the canary version

Examples

Describe agent
lettactl describe agent my-agent
Describe block
lettactl describe block brand_guidelines
Describe tool
lettactl describe tool my-custom-tool
Describe conversation
lettactl describe conversation <conv-id>

files

Show file attachment state (open/closed) for an agent.

lettactl files <agent-name>

Examples

View files
lettactl files my-agent

context

Show context window token usage breakdown for an agent.

lettactl context <agent-name>

Examples

View context
lettactl context my-agent