Skip to main content

Environment Variables

Reference for all environment variables used by Simili Bot.

Required

At minimum, you need Qdrant credentials and at least one AI provider key.

QDRANT_URL

Vector database URL.

QDRANT_API_KEY

Vector database API key.

GEMINI_API_KEY

Google Gemini API key (for embeddings and/or LLM).

OPENAI_API_KEY

OpenAI API key (alternative to Gemini, or used alongside it).
If both GEMINI_API_KEY and OPENAI_API_KEY are set, Gemini takes priority.

Optional

GITHUB_TOKEN

GitHub personal access token for API calls. Automatically provided in GitHub Actions.
Required scopes: repo, write:checks

TRANSFER_TOKEN

Elevated GitHub token for cross-repository transfers.

LLM_MODEL

Override the LLM model at runtime without changing simili.yaml.

GITHUB_REPOSITORY

Repository in owner/repo format. Used by simili auto-close when --repo is not specified.
This is set automatically in GitHub Actions environments.

Provider precedence

Configuration variable expansion

Use variables in simili.yaml with ${VAR_NAME} syntax:
Simili Bot expands ${VARIABLE_NAME} from the environment at runtime.

GitHub Actions

Set secrets in your repository and reference them in workflows:

Docker

Pass variables with -e: