Open Source CLI + SDK ❤️ Letta

kubectl for Stateful AI Agent Fleets

Declarative YAML. Per-agent memory powered by Letta. Git-native versioning. Canary deployments. One command to deploy your entire fleet.

$ npm install -g lettactl
$ npx playbooks add skill letta-ai/skills --skill fleet-management
lettactl CLI demo

Define once, deploy everywhere

Your entire agent fleet in one YAML file. Version-controlled, git-native, reproducible.

yaml
shared_blocks:
  - name: brand_guidelines
    description: "Company voice and style"
    limit: 5000
    from_file: "memory/guidelines.md"
  - name: product_catalog
    description: "Current products and pricing"
    limit: 8000
    from_file: "memory/catalog.md"

shared_folders:
  - path: "knowledge/"
    description: "Company knowledge base"

agents:
  - name: support-agent
    description: "Customer support AI"
    tags: { team: support, tier: production }
    llm_config:
      model: "google_ai/gemini-2.5-pro"
      context_window: 32000
    system_prompt:
      from_file: "prompts/support.md"
    shared_blocks:
      - brand_guidelines
      - product_catalog
    shared_folders:
      - "knowledge/"
    memory_blocks:
      - name: customer_data
        agent_owned: true
        limit: 5000
      - name: ticket_context
        agent_owned: true
        limit: 3000
    tools:
      - archival_memory_search
      - archival_memory_insert
      - send_email
      - search_tickets

  - name: sales-agent
    description: "Outbound sales assistant"
    tags: { team: sales, tier: canary }
    llm_config:
      model: "google_ai/gemini-2.5-pro"
      context_window: 32000
    system_prompt:
      from_file: "prompts/sales.md"
    shared_blocks:
      - brand_guidelines
      - product_catalog
    shared_folders:
      - "knowledge/"
    memory_blocks:
      - name: lead_profiles
        agent_owned: true
        limit: 10000
    tools:
      - archival_memory_search
      - archival_memory_insert
      - search_crm
1

Write your config

Define agents, memory blocks, tools, and shared resources in declarative YAML.

2

Deploy with one command

Run lettactl apply and the diff engine figures out exactly what needs to change.

3

Iterate with confidence

Git-native versioning means you can roll back any change. Canary first if you want.

Ready to manage your fleet?

One YAML file. One command. Your entire agent fleet deployed.

lettactl is not a Letta product. It is an independent, open source tool built on top of the Letta ecosystem to provide easy fleet management on either self-hosted or Letta Cloud instances.