### elizaOS Environment Variables ### # To get started, copy this file to .env, or make a .env and add the settings you'd like to override # Please read the comments for each of the configurations # The only thing you ABSOLUTELY NEED to get up and running is one of the model provider keys, # i.e. OPENAI_API_KEY or ANTHROPIC_API_KEY, or setup the local-ai plugin # Everything else is optional, and most settings and secrets can be configured in your agent or through the GUI # For multi-agent, each agent will need keys for the various services it is connected to # You can use the .env or environment variables generally for shared keys, such as to model providers, # database, etc, with scoped keys for services such as Telegram, Discord, etc ### MODEL PROVIDER KEYS ### # Eliza is compatible with a wide array of model providers. Many have OpenAI compatible APIs, # and you can use them by overriding the base URL # NOTE: You will need a provider that provides embeddings. So even if you use Claude, you will # need to get embeddings using another provider, for example openai or our local-ai plugin # OpenAI Configuration OPENAI_API_KEY= # Use this to override the openai endpoint, for example for using together.ai, fireworks or other providers # OPENAI_BASE_URL= # Anthropic Configuration # By default in most of our starter kits, Anthropic will take precedence over OpenAI in handling requests # Anthropic does not handle embeddings, so you may wish to use OpenAI for that, even while Claude is handling text generation ANTHROPIC_API_KEY= # Cloudflare AI CLOUDFLARE_GW_ENABLED= CLOUDFLARE_AI_ACCOUNT_ID= CLOUDFLARE_AI_GATEWAY_ID= ### LOCAL AI CONFIGURATION ### USE_LOCAL_AI= USE_STUDIOLM_TEXT_MODELS= USE_OLLAMA_TEXT_MODELS= # Ollama Configuration OLLAMA_API_ENDPOINT= OLLAMA_MODEL= USE_OLLAMA_EMBEDDING= OLLAMA_EMBEDDING_MODEL= OLLAMA_SMALL_MODEL= OLLAMA_MEDIUM_MODEL= OLLAMA_LARGE_MODEL= # StudioLM Configuration STUDIOLM_SERVER_URL= STUDIOLM_SMALL_MODEL= STUDIOLM_MEDIUM_MODEL= STUDIOLM_EMBEDDING_MODEL= ### DATABASE ### # By default, Eliza will use a local pglite instance # If you fill out POSTGRES_URL, the agent will connect to your postgres instance instead of using the local path # You can override the pglite data directory # PGLITE_DATA_DIR=/Users/UserName/eliza/packages/.pglite/ # Fill this out if you want to use Postgres POSTGRES_URL= ### LOGGING CONFIGURATION ### # Logging Configuration (supported: fatal, error, warn, info, debug, trace | default: info) LOG_LEVEL= # Sentry Configuration SENTRY_LOGGING=true SENTRY_DSN= SENTRY_ENVIRONMENT= SENTRY_TRACES_SAMPLE_RATE= SENTRY_SEND_DEFAULT_PII= ### API KEYS ### # Many services require API keys to function # Most plugins will indicate what is needed in their README.md and throw helpful errors if they are missing BIRDEYE_API_KEY= JUPITER_API_KEY= HELIUS_API_KEY= COINMARKETCAP_API_KEY= ZEROEX_API_KEY= COINGECKO_API_KEY= ### SINGLE AGENT VARIABLES ### # If you are running multiple agents, you will need to configure these variables in the agent secrets # (available in the GUI) OR you can namespace the secrets and connect them up in your character definition # Example: # settings: { # process.env.COMMUNITY_MANAGER_DISCORD_API_TOKEN # } # Note: See below for multi-agent examples # Discord Configuration DISCORD_APPLICATION_ID= DISCORD_API_TOKEN= # Telegram Configuration TELEGRAM_BOT_TOKEN= # Twitter Configuration TWITTER_USERNAME= TWITTER_PASSWORD= TWITTER_EMAIL= TWITTER_ENABLE_POST_GENERATION= TWITTER_POST_IMMEDIATELY= TWITTER_INTERACTION_ENABLE= TWITTER_TIMELINE_ENABLE= TWITTER_SPACES_ENABLE= TWITTER_TIMELINE_MODE= TWITTER_TIMELINE_POLL_INTERVAL= # EVM Configuration EVM_PRIVATE_KEY= EVM_CHAINS=mainnet,sepolia,base,arbitrum,polygon EVM_PROVIDER_URL= # Solana Configuration SOLANA_PUBLIC_KEY= SOLANA_PRIVATE_KEY= ### MULTI-AGENT CONFIGURATION ### # Settings for The Org # The Org is an example of a multi-agent swarm # Available here: https://github.com/elizaOS/the-org # This is an example of how environment variables can be scoped per-project # Community Manager COMMUNITY_MANAGER_DISCORD_APPLICATION_ID= COMMUNITY_MANAGER_DISCORD_API_TOKEN= # Social Media Manager SOCIAL_MEDIA_MANAGER_DISCORD_APPLICATION_ID= SOCIAL_MEDIA_MANAGER_DISCORD_API_TOKEN= # Liaison LIAISON_DISCORD_APPLICATION_ID= LIAISON_DISCORD_API_TOKEN= # Project Manager PROJECT_MANAGER_DISCORD_APPLICATION_ID= PROJECT_MANAGER_DISCORD_API_TOKEN= # Developer Relations DEV_REL_DISCORD_APPLICATION_ID= DEV_REL_DISCORD_API_TOKEN= DEVREL_IMPORT_KNOWLEDGE=true # Investment Manager INVESTMENT_MANAGER_DISCORD_APPLICATION_ID= INVESTMENT_MANAGER_DISCORD_API_TOKEN= # Docker Configuration (required if using Docker) DOCKER_IMAGE=