Letta
Letta is a app in the osFoundry community catalog. Stateful agents with persistent memory beyond the context window. Letta (formerly MemGPT) is the canonical implementation of self-editing memory — agents that decide what to remember, what to forget, and what to write to long-term storage. Comes with a web UI for inspecting agent state, editing memory blocks, sending messages, and watching tool calls. Postgres + pgvector bundled in-image. The reference agent server for any project needing 'persistent personality' across sessions.
Details
- Workspace: osfoundry
- Category: AI
- Pricing: Free
- Access: Community
Features
- Self-editing context windows — agents decide what to remember + what to forget
- Persistent memory across sessions — archival + recall stores backed by pgvector
- Built-in web UI for inspecting agent state, editing memory blocks, watching tool calls
- Multi-LLM: OpenAI, Anthropic, Google, Groq, Ollama, Together, Fireworks, custom OpenAI-compatible
- Full REST API + Python SDK — build your own UI or embed in larger applications
- Postgres + pgvector bundled in-image — no external DB to provision
Documentation
# Letta
## First-boot
The Letta web UI ships open by default — anyone with the public URL can create + control agents. **Set `SECURE=true` + `LETTA_SERVER_PASSWORD=<long random>` for any non-throwaway deployment.**
## Create your first agent
1. Open the web UI — click **+ New Agent**.
2. Pick the LLM (OpenAI / Anthropic / local).
3. Set the persona (the agent's character, e.g. 'You are Sam, a thoughtful research assistant.').
4. Set the human (what the agent should remember about you).
5. Start chatting.
## Memory model
Every agent has a self-editing context made of **core memory blocks** (always in context, edited by the agent itself):
- `persona` — who the agent is
- `human` — who the user is
- (custom blocks you define)
Plus **archival memory** (vector-indexed, the agent searches it as needed) and **recall memory** (full conversation log, also searchable). The agent decides when to write/read each store using built-in tools.
## API
Full OpenAPI server at port 8283. Drop-in for any client:
```python
from letta import RESTClient
client = RESTClient(base_url='https://<your-public-url>')
agent = client.create_agent(name='sam', persona='...', human='...')
response = client.send_message(agent_id=agent.id, message='hello')
```
## Storage
Postgres + pgvector bundled in-image. Persistent data at `/persist/pgdata`. 20 GB volume.
How to use Letta in osFoundry
Install Letta into your workspace in one click, then fork it in osStudio to customise the prompts, tools, or configuration for your stack. Anyone in your workspace can pick up where you left off.
Other apps from the community
- CRM — Customer relationship management with contacts, deals, and pipeline tracking.
- Kanban Board — Drag-and-drop task board with swimlanes, labels, and team assignments.
- Helpdesk — Ticket triage and customer support inbox with SLA tracking.
- Page Builder — Block-based page editor with publishing to public URLs.
- Website Builder — Multi-page site builder with CMS, templates, and custom domains.
- Storefront — E-commerce storefront with product catalog, cart, and checkout.