home / skills / willsigmon / sigstack / letta-expert

letta-expert skill

/plugins/memory-ai/skills/letta-expert

This skill helps you build AI agents with true long-term memory using Letta to remember, learn, and improve across sessions.

npx playbooks add skill willsigmon/sigstack --skill letta-expert

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
2.4 KB
---
name: Letta Expert
description: Letta (MemGPT) - stateful AI agents with long-term memory, self-improving agents
allowed-tools: Read, Edit, Bash, WebFetch
model: sonnet
---

# Letta (MemGPT) Expert

Build AI agents with true long-term memory using Letta.

## Pricing (2026)

### Free Plan
- Access to Letta API
- Visual Agent Development Environment (ADE)
- 2 agent templates
- 1 GB storage

### Pro ($20/mo)
- 20,000 monthly credits
- Pay-as-you-go overage
- Unlimited agents
- 20 agent templates
- 10 GB storage

### Enterprise
- BYOK (Bring Your Own Key)
- SAML/OIDC SSO
- RBAC
- Unlimited agents & storage
- Custom model deployments

## Key Concepts

### Memory Architecture
```
Core Memory (always in context)
├── Human: User preferences, history
├── Persona: Agent personality, goals
└── System: Rules, constraints

Archival Memory (searchable, unlimited)
└── Long-term facts, conversations, documents

Recall Memory (recent context)
└── Short-term working memory
```

### Agent Microservices
- REST APIs for agent interaction
- Stateless requests, stateful agents
- Model-agnostic (OpenAI, Anthropic, local)

## Quick Start

### Install
```bash
pip install letta
letta quickstart
```

### Create Agent
```python
from letta import create_client

client = create_client()

agent = client.create_agent(
    name="my-assistant",
    memory={
        "human": "User: Developer building iOS apps",
        "persona": "I am a helpful coding assistant with expertise in Swift."
    }
)
```

### Chat with Memory
```python
response = client.send_message(
    agent_id=agent.id,
    message="Remember: I prefer SwiftUI over UIKit"
)

# Later conversation...
response = client.send_message(
    agent_id=agent.id,
    message="What UI framework should I use?"
)
# Agent remembers SwiftUI preference
```

### Archival Memory
```python
# Store long-term knowledge
client.insert_archival_memory(
    agent_id=agent.id,
    memory="Project architecture uses MVVM pattern with SwiftData"
)

# Agent can search this when relevant
```

## Use Cases
- Personal assistants that remember you
- Customer support with context
- Coding agents that learn codebase
- Research assistants with persistent knowledge

## MCP Integration
Letta agents can connect to MCP servers for tool access while maintaining memory across sessions.

Use when: Building AI agents that need to remember, learn, and improve over time

Overview

This skill helps you build stateful AI agents with true long-term memory using Letta (MemGPT). It provides a visual agent development environment, memory layers for persistent context, and APIs to run model-agnostic, self-improving assistants. The skill is tuned for business, infrastructure, and personal agent use at scale.

How this skill works

Letta structures agent memory into Core (always in context), Recall (short-term working memory), and Archival (searchable long-term store). Agents expose REST microservices so requests stay stateless while agents retain state across sessions. The platform is model-agnostic and supports integrations for tool access, SSO, and custom deployment.

When to use it

  • Building personal assistants that must remember user preferences over months or years
  • Customer support systems that need conversation history and context-aware replies
  • Coding agents that learn and recall codebase specifics and team conventions
  • Research assistants that accumulate and search long-term findings
  • Enterprise deployments requiring SSO, RBAC, or BYOK compliance

Best practices

  • Seed Core Memory with stable user preferences and agent persona to keep behavior consistent
  • Store reproducible facts and documents in Archival Memory and index for retrieval when relevant
  • Limit Recall Memory size to recent turns to keep context windows efficient
  • Use model-agnostic endpoints so you can swap models without redesigning agents
  • Monitor and audit memory contents regularly to maintain privacy and compliance

Example use cases

  • A developer assistant that remembers preferred languages, frameworks, and project architecture across sprints
  • Customer support agent that recalls prior tickets, resolutions, and account settings
  • Onboarding assistant that tracks employee progress and personalized training notes
  • Research companion that accumulates literature notes and surfaces relevant past findings during queries
  • Ops tool integration where agents invoke tools via MCP while retaining session memory

FAQ

Can Letta agents work with different LLM providers?

Yes. Agents are model-agnostic and can run with OpenAI, Anthropic, or local models via the same APIs.

How is long-term data stored and retrieved?

Use Archival Memory to insert searchable facts and documents; the agent will query this store when relevance signals match the current conversation.

Is there an enterprise option for security and compliance?

Yes. Enterprise features include BYOK, SAML/OIDC SSO, and RBAC for secure deployments.