Files

27 lines
1.2 KiB
Bash
Raw Permalink Normal View History

# Copy to .env.local and fill in. .env.local is gitignored and never sent to the browser.
# --- Analysis agent transport ---
# "claude-cli" (default): runs the local Claude Code CLI in headless mode on your
# existing Claude auth (e.g. subscription). No API key needed; near-zero marginal
# cost for internal use. Requires `claude` to be installed and authenticated.
# "api": uses the Anthropic API via @anthropic-ai/sdk (metered). Use this if the
# app will serve external users.
AGENT_TRANSPORT=claude-cli
# Anthropic API key — only used when AGENT_TRANSPORT=api. Server-side only.
ANTHROPIC_API_KEY=
# --- Market data ---
# Which market-data provider to use: "fixture" (offline demo data) or "fmp".
# Defaults to "fixture" when unset so the app runs with zero configuration.
MARKET_DATA_PROVIDER=fixture
# Market-data provider API key (default provider: Financial Modeling Prep free tier).
# Get a free key at https://site.financialmodelingprep.com/developer/docs
MARKET_DATA_API_KEY=
# --- Cost controls ---
# Optional monthly spend budget in USD for the cost guard. 0 or unset = disabled.
# (With the claude-cli transport on a subscription, reported marginal cost is ~$0.)
MONTHLY_BUDGET_USD=0