# LettaBot Configuration # Copy this to lettabot.yaml and fill in your values. # # Server modes: # - 'cloud': Use Letta Cloud (api.letta.com) with API key # - 'selfhosted': Use self-hosted Letta server server: mode: cloud # For cloud mode, set your API key (get one at https://app.letta.com): apiKey: sk-let-YOUR-API-KEY # For selfhosted mode, uncomment and set the base URL: # mode: selfhosted # baseUrl: http://localhost:8283 agent: name: LettaBot # Note: model is configured on the Letta agent server-side. # Select a model during `lettabot onboard` or change it with `lettabot model set `. # BYOK Providers (optional, cloud mode only) # These will be synced to Letta Cloud on startup # providers: # - id: anthropic # name: lc-anthropic # type: anthropic # apiKey: sk-ant-YOUR-ANTHROPIC-KEY # - id: openai # name: lc-openai # type: openai # apiKey: sk-YOUR-OPENAI-KEY channels: telegram: enabled: true token: YOUR-TELEGRAM-BOT-TOKEN dmPolicy: pairing # 'pairing', 'allowlist', or 'open' # groupPollIntervalMin: 5 # Batch interval for group messages (default: 10) # instantGroups: ["-100123456"] # Groups that bypass batching # listeningGroups: ["-100123456"] # Groups where bot observes but only replies when @mentioned # slack: # enabled: true # appToken: xapp-... # botToken: xoxb-... # listeningGroups: ["C0123456789"] # Channels where bot observes only # discord: # enabled: true # token: YOUR-DISCORD-BOT-TOKEN # listeningGroups: ["1234567890123456789"] # Server/channel IDs where bot observes only # whatsapp: # enabled: true # selfChat: false features: cron: false heartbeat: enabled: false intervalMin: 30 # Attachment handling (defaults to 20MB if omitted) # attachments: # maxMB: 20 # maxAgeDays: 14