-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy path.env.example
More file actions
33 lines (29 loc) · 1.3 KB
/
Copy path.env.example
File metadata and controls
33 lines (29 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# =====================================
# Backend selection
# =====================================
# LETTA_BACKEND controls where agents live and where tools run:
# cloud - agents stored in Letta Cloud, tools run on this machine (requires LETTA_API_KEY)
# local - fully local runtime: agents stored on this machine, no API key needed
# remote - connect to a self-hosted Letta app server (see https://docs.letta.com/self-hosting)
#
# If unset, defaults to cloud when LETTA_API_KEY is set, otherwise local.
# =====================================
# Letta Cloud (recommended for most users)
# =====================================
# Get your API key from: https://app.letta.com/settings
LETTA_BACKEND=cloud
LETTA_API_KEY=your-api-key-here
# Optional: override the Letta API base URL
# LETTA_BASE_URL=https://api.letta.com
# =====================================
# Fully local runtime (no API key needed)
# =====================================
# LETTA_BACKEND=local
# =====================================
# Self-hosted app server
# =====================================
# Start the server with: letta server --backend local --listen ws://127.0.0.1:4500
# LETTA_BACKEND=remote
# LETTA_SERVER_URL=ws://127.0.0.1:4500
# Optional capability token if the server was started with --ws-auth:
# LETTA_SERVER_TOKEN=your-token-here