---
title: "Deploy letta"
description: "Deploy a Letta server (uses the latest Letta Docker image)"
category: "AI/ML"
url: https://railway.com/deploy/jgUR1t
---

# Deploy letta

Deploy a Letta server (uses the latest Letta Docker image)

**[Deploy letta on Railway](https://railway.com/template/jgUR1t)**

- **Creator:** Charles Packer's Projects
- **Category:** AI/ML
- **Total deploys:** 332

## Template content

### letta/letta:latest

- **Image:** letta/letta:latest
- **Health check:** /v1/health/
- **Public domain:** Yes

## Documentation

## Letta

👾 Letta is an open source framework for building stateful LLM applications. You can use Letta to build stateful agents with advanced reasoning capabilities and transparent long-term memory. The Letta framework is white box and model-agnostic.

For more information see: https://github.com/letta-ai/letta

## Usage

For a tutorial on how to deploy a Letta server on Railway, see our docs page: https://docs.letta.com/guides/server/railway

1. Deploy the Railway template.
2. To use the Letta ADE, go to https://app.letta.com and connect to a remote development server. Use the IP address exposed by Railway as the server URL, and use the password set in the "Variables" section of your Railway deployment.
3. The Letta server will need to be configured with at least one LLM API provider, to do so set your environment variables (e.g. `OPENAI_API_KEY`) in the "Variables" section.

### Adding additional environment variables

To help you get started, when you deploy the template you have the option to fill in the example environment variables `OPENAI_API_KEY` (to connect your Letta agents to GPT models), `ANTHROPIC_API_KEY` (to connect your Letta agents to Claude models), and `COMPOSIO_API_KEY` (to connect your Letta agents to Composio's library of over 7k pre-made tools).

There are many more providers you can enable on the Letta server via additional environment variables (for example vLLM, Ollama, etc). For more information on available providers, see our documentation: https://docs.letta.com/guides/server/docker

To connect Letta to an additional API provider, you can go to your Railway deployment (after you've deployed the template), click `Variables` to see the current environment variables, then click `+ New Variable` to add a new variable. Once you've saved a new variable, you will need to restart the server for the changes to take effect.

## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

Open this page in a browser: https://railway.com/deploy/jgUR1t
