.env file in the project root, or via real environment variables at runtime. Variables defined in the environment take precedence over .env.
Variables
The OpenAI-compatible endpoint URL of your Gemini Proxy Balancer. All LLM requests are routed through this URL.
Absolute path to your Obsidian vault directory. Second Brain reads and writes all notes relative to this path.On Railway deployments, vaults are typically stored under
/app/obsidian-vaults.Comma-separated list of Gemini model IDs in priority order. The first model in the list is used by default. Provide multiple models to enable fallback if a model is unavailable.
Maximum number of agent reasoning rounds per task. Each round is one full Manager → Agent → Manager cycle. Increase this for complex tasks that require more back-and-forth between agents.
Logging verbosity. Accepted values:
DEBUG, INFO, WARNING, ERROR.Directory for workspace vaults created inside the app. This is relative to the project root unless you provide an absolute path.
Directory for log files. Relative to the project root unless an absolute path is provided.
Example .env
.env
OBSIDIAN_VAULT_PATH can also be set from within the app UI — open or create a vault in the Vault Launcher and the path is persisted automatically to your .env file.