1 line
30 KiB
JSON
1 line
30 KiB
JSON
{"repo": "antojuict/antojuict-auto-claude", "files": {"apps/backend/.env.example": {"ebb761dd7d76f264e3ccf056d9a16e8ea2d97343": {"t": 1785747431.7080073, "n": 14933, "h": "3b19152b331c1405", "c": "# Auto Claude Environment Variables\n# Copy this file to .env and fill in your values\n\n# =============================================================================\n# AUTHENTICATION (REQUIRED)\n# =============================================================================\n# Auto Claude uses Claude Code OAuth authentication.\n# Direct API keys (ANTHROPIC_API_KEY) are NOT supported to prevent silent billing.\n#\n# Option 1: Run `claude setup-token` to save token to system keychain (recommended)\n# (macOS: Keychain, Windows: Credential Manager, Linux: secret-service)\n# Option 2: Set the token explicitly:\n# CLAUDE_CODE_OAUTH_TOKEN=your-oauth-token-here\n#\n# For enterprise/proxy setups (CCR):\n# ANTHROPIC_AUTH_TOKEN=sk-zcf-x-ccr\n\n# =============================================================================\n# CUSTOM API ENDPOINT (OPTIONAL)\n# =============================================================================\n# Override the default Anthropic API endpoint. Useful for:\n# - Local proxies (ccr, litellm)\n# - API gateways\n# - Self-hosted Claude instances\n#\n# ANTHROPIC_BASE_URL=http://127.0.0.1:3456\n#\n# Related settings (usually set together with ANTHROPIC_BASE_URL):\n# NO_PROXY=127.0.0.1\n# DISABLE_TELEMETRY=true\n# DISABLE_COST_WARNINGS=true\n# API_TIMEOUT_MS=600000\n\n# Model override (OPTIONAL)\n# Default: claude-opus-4-6\n# AUTO_BUILD_MODEL=claude-opus-4-6\n\n\n# =============================================================================\n# GIT/WORKTREE SETTINGS (OPTIONAL)\n# =============================================================================\n# Configure how Auto Claude handles git worktrees for isolated builds.\n\n# Default base branch for worktree creation (OPTIONAL)\n# If not set, Auto Claude will auto-detect main/master, or fall back to current branch.\n# Common values: main, master, develop\n# DEFAULT_BRANCH=main\n\n# =============================================================================\n# DEBUG MODE (OPTIONAL)\n# =============================================================================\n# Enable debug logging for development and troubleshooting.\n# Shows detailed information about runner execution, agent calls, file operations.\n\n# Enable debug mode (default: false)\n# DEBUG=true\n\n# Debug log level: 1=basic, 2=detailed, 3=verbose (default: 1)\n# DEBUG_LEVEL=1\n\n# Log to file instead of stdout (OPTIONAL)\n# DEBUG_LOG_FILE=auto-claude/debug.log\n\n# =============================================================================\n# LINEAR INTEGRATION (OPTIONAL)\n# =============================================================================\n# Enable Linear integration for real-time progress tracking in Linear.\n# Get your API key from: https://linear.app/YOUR-TEAM/settings/api\n\n# Linear API Key (OPTIONAL - enables Linear integration)\n# LINEAR_API_KEY=lin_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# Pre-configured Team ID (OPTIONAL - will auto-detect if not set)\n# LINEAR_TEAM_ID=\n\n# Pre-configured Project ID (OPTIONAL - will create project if not set)\n# LINEAR_PROJECT_ID=\n\n# =============================================================================\n# GITLAB INTEGRATION (OPTIONAL)\n# =============================================================================\n# Enable GitLab integration for issue tracking and merge requests.\n# Supports both GitLab.com and self-hosted GitLab instances.\n#\n# Authentication Options (choose one):\n#\n# Option 1: glab CLI OAuth (Recommended)\n# Install glab CLI: https://gitlab.com/gitlab-org/cli#installation\n# Then run: glab auth login\n# This opens your browser for OAuth authentication. Once complete,\n# Auto Claude will automatically use your glab credentials (no env vars needed).\n# For self-hosted: glab auth login --hostname gitlab.example.com\n#\n# Option 2: Personal Access Token\n# Set GITLAB_TOKEN below. Token auth is used if set, otherwise falls back to glab CLI.\n\n# GitLab Instance URL (OPTIONAL - defaults to gitlab.com)\n# For self-hosted: GITLAB_INSTANCE_URL=https://gitlab.example.com\n# GITLAB_INSTANCE_URL=https://gitlab.com\n\n# GitLab Personal Access Token (OPTIONAL - only needed if not using glab CLI)\n# Required scope: api (covers issues, merge requests, releases, project info)\n# Optional scope: write_repository (only if creating new GitLab projects from local repos)\n# Get from: https://gitlab.com/-/user_settings/personal_access_tokens\n# GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx\n\n# GitLab Project (OPTIONAL - format: group/project or numeric ID)\n# If not set, will auto-detect from git remote\n# GITLAB_PROJECT=mygroup/myproject\n\n# =============================================================================\n# UI SETTINGS (OPTIONAL)\n# =============================================================================\n# Enable fancy terminal UI with icons, colors, and interactive menus.\n# Set to \"false\" to use plain text output (useful for CI/CD or log files).\n\n# Enable fancy UI (default: true)\n# ENABLE_FANCY_UI=true\n\n# =============================================================================\n# ELECTRON MCP SERVER (OPTIONAL)\n# =============================================================================\n# Enable Electron MCP server for AI agents to interact with and validate\n# Electron desktop applications. This allows QA agents to capture screenshots,\n# inspect windows, and validate Electron apps during the review process.\n#\n# The electron-mcp-server connects via Chrome DevTools Protocol to an Electron\n# app running with remote debugging enabled.\n#\n# Prerequisites:\n# 1. Start your Electron app with remote debugging:\n# ./YourElectronApp --remote-debugging-port=9222\n#\n# 2. For auto-claude-ui specifically (use the MCP-enabled scripts):\n# cd auto-claude-ui\n# pnpm run dev:mcp # Development mode with MCP debugging\n# # OR for production build:\n# pnpm run start:mcp # Production mode with MCP debugging\n#\n# Note: Only QA agents (qa_reviewer, qa_fixer) receive Electron MCP tools.\n# Coder and Planner agents do NOT have access to these tools to minimize\n# context token usage and keep agents focused on their roles.\n#\n# See: https://github.com/anthropics/anthropic-quickstarts/tree/main/mcp-electron-demo\n\n# Enable Electron MCP integration (default: false)\n# ELECTRON_MCP_ENABLED=true\n\n# Chrome DevTools debugging port for Electron connection (default: 9222)\n# ELECTRON_DEBUG_PORT=9222\n\n# =============================================================================\n# GRAPHITI MEMORY INTEGRATION (REQUIRED)\n# =============================================================================\n# Graphiti-based persistent memory layer for cross-session context\n# retention. Uses LadybugDB as the embedded graph database.\n#\n# REQUIREMENTS:\n# - Python 3.12 or higher\n# - Install: pip install real_ladybug graphiti-core\n#\n# Supports multiple LLM and embedder providers:\n# - OpenAI (default)\n# - Anthropic (LLM only, use with Voyage for embeddings)\n# - Azure OpenAI\n# - Ollama (local, fully offline)\n# - Google AI (Gemini)\n\n# Graphiti is enabled by default. Set to false to disable memory features.\nGRAPHITI_ENABLED=true\n\n# =============================================================================\n# GRAPHITI: Database Settings\n# =============================================================================\n# LadybugDB stores data in a local directory (no Docker required).\n\n# Database name (default: auto_claude_memory)\n# GRAPHITI_DATABASE=auto_claude_memory\n\n# Database storage path (default: ~/.auto-claude/memories)\n# GRAPHITI_DB_PATH=~/.auto-claude/memories\n\n# =============================================================================\n# GRAPHITI: Provider Selection\n# =============================================================================\n# Choose which providers to use for LLM and embeddings.\n# Default is \"openai\" for both.\n\n# LLM provider: openai | anthropic | azure_openai | ollama | google | openrouter\n# GRAPHITI_LLM_PROVIDER=openai\n\n# Embedder provider: openai | voyage | azure_openai | ollama | google | openrouter\n# GRAPHITI_EMBEDDER_PROVIDER=openai\n\n# =============================================================================\n# GRAPHITI: OpenAI Provider (Default)\n# =============================================================================\n# Use OpenAI for both LLM and embeddings. This is the simplest setup.\n# Required: OPENAI_API_KEY\n\n# OpenAI API Key\n# OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# OpenAI Model for LLM (default: gpt-4o-mini)\n# OPENAI_MODEL=gpt-4o-mini\n\n# OpenAI Model for embeddings (default: text-embedding-3-small)\n# Available: text-embedding-3-small (1536 dim), text-embedding-3-large (3072 dim)\n# OPENAI_EMBEDDING_MODEL=text-embedding-3-small\n\n# =============================================================================\n# GRAPHITI: Anthropic Provider (LLM only)\n# =============================================================================\n# Use Anthropic for LLM. Requires separate embedder (use Voyage or OpenAI).\n# Example: GRAPHITI_LLM_PROVIDER=anthropic, GRAPHITI_EMBEDDER_PROVIDER=voyage\n#\n# Required: ANTHROPIC_API_KEY\n\n# Anthropic API Key\n# ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# Anthropic Model (default: claude-sonnet-4-5-latest)\n# GRAPHITI_ANTHROPIC_MODEL=claude-sonnet-4-5-latest\n\n# =============================================================================\n# GRAPHITI: Voyage AI Provider (Embeddings only)\n# =============================================================================\n# Use Voyage AI for embeddings. Commonly paired with Anthropic LLM.\n# Get API key from: https://www.voyageai.com/\n#\n# Required: VOYAGE_API_KEY\n\n# Voyage AI API Key\n# VOYAGE_API_KEY=pa-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# Voyage Embedding Model (default: voyage-3)\n# Available: voyage-3 (1024 dim), voyage-3-lite (512 dim)\n# VOYAGE_EMBEDDING_MODEL=voyage-3\n\n# =============================================================================\n# GRAPHITI: Google AI Provider\n# =============================================================================\n# Use Google AI (Gemini) for both LLM and embeddings.\n# Get API key from: https://aistudio.google.com/apikey\n#\n# Required: GOOGLE_API_KEY\n\n# Google AI API Key\n# GOOGLE_API_KEY=AIzaSyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# Google LLM Model (default: gemini-2.0-flash)\n# GOOGLE_LLM_MODEL=gemini-2.0-flash\n\n# Google Embedding Model (default: text-embedding-004)\n# GOOGLE_EMBEDDING_MODEL=text-embedding-004\n\n# =============================================================================\n# GRAPHITI: OpenRouter Provider (Multi-provider aggregator)\n# =============================================================================\n# Use OpenRouter to access multiple LLM providers through a single API.\n# OpenRouter provides access to Anthropic, OpenAI, Google, and many other models.\n# Get API key from: https://openrouter.ai/keys\n#\n# Required: OPENROUTER_API_KEY\n\n# OpenRouter API Key\n# OPENROUTER_API_KEY=sk-or-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# OpenRouter Base URL (default: https://openrouter.ai/api/v1)\n# OPENROUTER_BASE_URL=https://openrouter.ai/api/v1\n\n# OpenRouter LLM Model (default: anthropic/claude-sonnet-4)\n# Popular choices: anthropic/claude-sonnet-4, openai/gpt-4o, google/gemini-2.0-flash\n# OPENROUTER_LLM_MODEL=anthropic/claude-sonnet-4\n\n# OpenRouter Embedding Model (default: openai/text-embedding-3-small)\n# OPENROUTER_EMBEDDING_MODEL=openai/text-embedding-3-small\n\n# =============================================================================\n# GRAPHITI: Azure OpenAI Provider\n# =============================================================================\n# Use Azure OpenAI for both LLM and embeddings.\n# Requires Azure OpenAI deployment with appropriate models.\n#\n# Required: AZURE_OPENAI_API_KEY, AZURE_OPENAI_BASE_URL\n\n# Azure OpenAI API Key\n# AZURE_OPENAI_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# Azure OpenAI Base URL (your Azure endpoint)\n# AZURE_OPENAI_BASE_URL=https://your-resource.openai.azure.com/openai/deployments/your-deployment\n\n# Azure OpenAI Deployment Names\n# AZURE_OPENAI_LLM_DEPLOYMENT=gpt-4\n# AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-3-small\n\n# =============================================================================\n# GRAPHITI: Ollama Provider (Local/Offline)\n# =============================================================================\n# Use Ollama for fully offline operation. No API keys required.\n# Requires Ollama running locally with appropriate models pulled.\n#\n# Prerequisites:\n# 1. Install Ollama: https://ollama.ai/\n# 2. Pull models: ollama pull deepseek-r1:7b && ollama pull nomic-embed-text\n# 3. Start Ollama server (usually auto-starts)\n#\n# Required: OLLAMA_LLM_MODEL, OLLAMA_EMBEDDING_MODEL, OLLAMA_EMBEDDING_DIM\n\n# Ollama Server URL (default: http://localhost:11434)\n# OLLAMA_BASE_URL=http://localhost:11434\n\n# Ollama LLM Model\n# Popular choices: deepseek-r1:7b, llama3.2:3b, mistral:7b, phi3:medium\n# OLLAMA_LLM_MODEL=deepseek-r1:7b\n\n# Ollama Embedding Model\n# Popular choices: nomic-embed-text (768 dim), mxbai-embed-large (1024 dim)\n# OLLAMA_EMBEDDING_MODEL=nomic-embed-text\n\n# Ollama Embedding Dimension (REQUIRED for Ollama embeddings)\n# Must match your embedding model's output dimension\n# Common values: nomic-embed-text=768, mxbai-embed-large=1024, all-minilm=384\n# OLLAMA_EMBEDDING_DIM=768\n\n# =============================================================================\n# GRAPHITI: Example Configurations\n# =============================================================================\n#\n# --- Example 1: OpenAI (simplest) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=openai\n# GRAPHITI_EMBEDDER_PROVIDER=openai\n# OPENAI_API_KEY=sk-xxxxxxxx\n#\n# --- Example 2: Anthropic + Voyage (high quality) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=anthropic\n# GRAPHITI_EMBEDDER_PROVIDER=voyage\n# ANTHROPIC_API_KEY=sk-ant-xxxxxxxx\n# VOYAGE_API_KEY=pa-xxxxxxxx\n#\n# --- Example 3: Ollama (fully offline) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=ollama\n# GRAPHITI_EMBEDDER_PROVIDER=ollama\n# OLLAMA_LLM_MODEL=deepseek-r1:7b\n# OLLAMA_EMBEDDING_MODEL=nomic-embed-text\n# OLLAMA_EMBEDDING_DIM=768\n#\n# --- Example 4: Azure OpenAI (enterprise) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=azure_openai\n# GRAPHITI_EMBEDDER_PROVIDER=azure_openai\n# AZURE_OPENAI_API_KEY=xxxxxxxx\n# AZURE_OPENAI_BASE_URL=https://your-resource.openai.azure.com/...\n# AZURE_OPENAI_LLM_DEPLOYMENT=gpt-4\n# AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-3-small\n#\n# --- Example 5: Google AI (Gemini) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=google\n# GRAPHITI_EMBEDDER_PROVIDER=google\n# GOOGLE_API_KEY=AIzaSyxxxxxxxx\n#\n# --- Example 6: OpenRouter (multi-provider aggregator) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=openrouter\n# GRAPHITI_EMBEDDER_PROVIDER=openrouter\n# OPENROUTER_API_KEY=sk-or-xxxxxxxx\n# OPENROUTER_LLM_MODEL=anthropic/claude-sonnet-4\n# OPENROUTER_EMBEDDING_MODEL=openai/text-embedding-3-small\n"}, "04429560bb9200230f5b236afa20f1cde689450c": {"t": 1785773262.1827033, "n": 14933, "h": "3b19152b331c1405", "c": "# Auto Claude Environment Variables\n# Copy this file to .env and fill in your values\n\n# =============================================================================\n# AUTHENTICATION (REQUIRED)\n# =============================================================================\n# Auto Claude uses Claude Code OAuth authentication.\n# Direct API keys (ANTHROPIC_API_KEY) are NOT supported to prevent silent billing.\n#\n# Option 1: Run `claude setup-token` to save token to system keychain (recommended)\n# (macOS: Keychain, Windows: Credential Manager, Linux: secret-service)\n# Option 2: Set the token explicitly:\n# CLAUDE_CODE_OAUTH_TOKEN=your-oauth-token-here\n#\n# For enterprise/proxy setups (CCR):\n# ANTHROPIC_AUTH_TOKEN=sk-zcf-x-ccr\n\n# =============================================================================\n# CUSTOM API ENDPOINT (OPTIONAL)\n# =============================================================================\n# Override the default Anthropic API endpoint. Useful for:\n# - Local proxies (ccr, litellm)\n# - API gateways\n# - Self-hosted Claude instances\n#\n# ANTHROPIC_BASE_URL=http://127.0.0.1:3456\n#\n# Related settings (usually set together with ANTHROPIC_BASE_URL):\n# NO_PROXY=127.0.0.1\n# DISABLE_TELEMETRY=true\n# DISABLE_COST_WARNINGS=true\n# API_TIMEOUT_MS=600000\n\n# Model override (OPTIONAL)\n# Default: claude-opus-4-6\n# AUTO_BUILD_MODEL=claude-opus-4-6\n\n\n# =============================================================================\n# GIT/WORKTREE SETTINGS (OPTIONAL)\n# =============================================================================\n# Configure how Auto Claude handles git worktrees for isolated builds.\n\n# Default base branch for worktree creation (OPTIONAL)\n# If not set, Auto Claude will auto-detect main/master, or fall back to current branch.\n# Common values: main, master, develop\n# DEFAULT_BRANCH=main\n\n# =============================================================================\n# DEBUG MODE (OPTIONAL)\n# =============================================================================\n# Enable debug logging for development and troubleshooting.\n# Shows detailed information about runner execution, agent calls, file operations.\n\n# Enable debug mode (default: false)\n# DEBUG=true\n\n# Debug log level: 1=basic, 2=detailed, 3=verbose (default: 1)\n# DEBUG_LEVEL=1\n\n# Log to file instead of stdout (OPTIONAL)\n# DEBUG_LOG_FILE=auto-claude/debug.log\n\n# =============================================================================\n# LINEAR INTEGRATION (OPTIONAL)\n# =============================================================================\n# Enable Linear integration for real-time progress tracking in Linear.\n# Get your API key from: https://linear.app/YOUR-TEAM/settings/api\n\n# Linear API Key (OPTIONAL - enables Linear integration)\n# LINEAR_API_KEY=lin_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# Pre-configured Team ID (OPTIONAL - will auto-detect if not set)\n# LINEAR_TEAM_ID=\n\n# Pre-configured Project ID (OPTIONAL - will create project if not set)\n# LINEAR_PROJECT_ID=\n\n# =============================================================================\n# GITLAB INTEGRATION (OPTIONAL)\n# =============================================================================\n# Enable GitLab integration for issue tracking and merge requests.\n# Supports both GitLab.com and self-hosted GitLab instances.\n#\n# Authentication Options (choose one):\n#\n# Option 1: glab CLI OAuth (Recommended)\n# Install glab CLI: https://gitlab.com/gitlab-org/cli#installation\n# Then run: glab auth login\n# This opens your browser for OAuth authentication. Once complete,\n# Auto Claude will automatically use your glab credentials (no env vars needed).\n# For self-hosted: glab auth login --hostname gitlab.example.com\n#\n# Option 2: Personal Access Token\n# Set GITLAB_TOKEN below. Token auth is used if set, otherwise falls back to glab CLI.\n\n# GitLab Instance URL (OPTIONAL - defaults to gitlab.com)\n# For self-hosted: GITLAB_INSTANCE_URL=https://gitlab.example.com\n# GITLAB_INSTANCE_URL=https://gitlab.com\n\n# GitLab Personal Access Token (OPTIONAL - only needed if not using glab CLI)\n# Required scope: api (covers issues, merge requests, releases, project info)\n# Optional scope: write_repository (only if creating new GitLab projects from local repos)\n# Get from: https://gitlab.com/-/user_settings/personal_access_tokens\n# GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx\n\n# GitLab Project (OPTIONAL - format: group/project or numeric ID)\n# If not set, will auto-detect from git remote\n# GITLAB_PROJECT=mygroup/myproject\n\n# =============================================================================\n# UI SETTINGS (OPTIONAL)\n# =============================================================================\n# Enable fancy terminal UI with icons, colors, and interactive menus.\n# Set to \"false\" to use plain text output (useful for CI/CD or log files).\n\n# Enable fancy UI (default: true)\n# ENABLE_FANCY_UI=true\n\n# =============================================================================\n# ELECTRON MCP SERVER (OPTIONAL)\n# =============================================================================\n# Enable Electron MCP server for AI agents to interact with and validate\n# Electron desktop applications. This allows QA agents to capture screenshots,\n# inspect windows, and validate Electron apps during the review process.\n#\n# The electron-mcp-server connects via Chrome DevTools Protocol to an Electron\n# app running with remote debugging enabled.\n#\n# Prerequisites:\n# 1. Start your Electron app with remote debugging:\n# ./YourElectronApp --remote-debugging-port=9222\n#\n# 2. For auto-claude-ui specifically (use the MCP-enabled scripts):\n# cd auto-claude-ui\n# pnpm run dev:mcp # Development mode with MCP debugging\n# # OR for production build:\n# pnpm run start:mcp # Production mode with MCP debugging\n#\n# Note: Only QA agents (qa_reviewer, qa_fixer) receive Electron MCP tools.\n# Coder and Planner agents do NOT have access to these tools to minimize\n# context token usage and keep agents focused on their roles.\n#\n# See: https://github.com/anthropics/anthropic-quickstarts/tree/main/mcp-electron-demo\n\n# Enable Electron MCP integration (default: false)\n# ELECTRON_MCP_ENABLED=true\n\n# Chrome DevTools debugging port for Electron connection (default: 9222)\n# ELECTRON_DEBUG_PORT=9222\n\n# =============================================================================\n# GRAPHITI MEMORY INTEGRATION (REQUIRED)\n# =============================================================================\n# Graphiti-based persistent memory layer for cross-session context\n# retention. Uses LadybugDB as the embedded graph database.\n#\n# REQUIREMENTS:\n# - Python 3.12 or higher\n# - Install: pip install real_ladybug graphiti-core\n#\n# Supports multiple LLM and embedder providers:\n# - OpenAI (default)\n# - Anthropic (LLM only, use with Voyage for embeddings)\n# - Azure OpenAI\n# - Ollama (local, fully offline)\n# - Google AI (Gemini)\n\n# Graphiti is enabled by default. Set to false to disable memory features.\nGRAPHITI_ENABLED=true\n\n# =============================================================================\n# GRAPHITI: Database Settings\n# =============================================================================\n# LadybugDB stores data in a local directory (no Docker required).\n\n# Database name (default: auto_claude_memory)\n# GRAPHITI_DATABASE=auto_claude_memory\n\n# Database storage path (default: ~/.auto-claude/memories)\n# GRAPHITI_DB_PATH=~/.auto-claude/memories\n\n# =============================================================================\n# GRAPHITI: Provider Selection\n# =============================================================================\n# Choose which providers to use for LLM and embeddings.\n# Default is \"openai\" for both.\n\n# LLM provider: openai | anthropic | azure_openai | ollama | google | openrouter\n# GRAPHITI_LLM_PROVIDER=openai\n\n# Embedder provider: openai | voyage | azure_openai | ollama | google | openrouter\n# GRAPHITI_EMBEDDER_PROVIDER=openai\n\n# =============================================================================\n# GRAPHITI: OpenAI Provider (Default)\n# =============================================================================\n# Use OpenAI for both LLM and embeddings. This is the simplest setup.\n# Required: OPENAI_API_KEY\n\n# OpenAI API Key\n# OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# OpenAI Model for LLM (default: gpt-4o-mini)\n# OPENAI_MODEL=gpt-4o-mini\n\n# OpenAI Model for embeddings (default: text-embedding-3-small)\n# Available: text-embedding-3-small (1536 dim), text-embedding-3-large (3072 dim)\n# OPENAI_EMBEDDING_MODEL=text-embedding-3-small\n\n# =============================================================================\n# GRAPHITI: Anthropic Provider (LLM only)\n# =============================================================================\n# Use Anthropic for LLM. Requires separate embedder (use Voyage or OpenAI).\n# Example: GRAPHITI_LLM_PROVIDER=anthropic, GRAPHITI_EMBEDDER_PROVIDER=voyage\n#\n# Required: ANTHROPIC_API_KEY\n\n# Anthropic API Key\n# ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# Anthropic Model (default: claude-sonnet-4-5-latest)\n# GRAPHITI_ANTHROPIC_MODEL=claude-sonnet-4-5-latest\n\n# =============================================================================\n# GRAPHITI: Voyage AI Provider (Embeddings only)\n# =============================================================================\n# Use Voyage AI for embeddings. Commonly paired with Anthropic LLM.\n# Get API key from: https://www.voyageai.com/\n#\n# Required: VOYAGE_API_KEY\n\n# Voyage AI API Key\n# VOYAGE_API_KEY=pa-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# Voyage Embedding Model (default: voyage-3)\n# Available: voyage-3 (1024 dim), voyage-3-lite (512 dim)\n# VOYAGE_EMBEDDING_MODEL=voyage-3\n\n# =============================================================================\n# GRAPHITI: Google AI Provider\n# =============================================================================\n# Use Google AI (Gemini) for both LLM and embeddings.\n# Get API key from: https://aistudio.google.com/apikey\n#\n# Required: GOOGLE_API_KEY\n\n# Google AI API Key\n# GOOGLE_API_KEY=AIzaSyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# Google LLM Model (default: gemini-2.0-flash)\n# GOOGLE_LLM_MODEL=gemini-2.0-flash\n\n# Google Embedding Model (default: text-embedding-004)\n# GOOGLE_EMBEDDING_MODEL=text-embedding-004\n\n# =============================================================================\n# GRAPHITI: OpenRouter Provider (Multi-provider aggregator)\n# =============================================================================\n# Use OpenRouter to access multiple LLM providers through a single API.\n# OpenRouter provides access to Anthropic, OpenAI, Google, and many other models.\n# Get API key from: https://openrouter.ai/keys\n#\n# Required: OPENROUTER_API_KEY\n\n# OpenRouter API Key\n# OPENROUTER_API_KEY=sk-or-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# OpenRouter Base URL (default: https://openrouter.ai/api/v1)\n# OPENROUTER_BASE_URL=https://openrouter.ai/api/v1\n\n# OpenRouter LLM Model (default: anthropic/claude-sonnet-4)\n# Popular choices: anthropic/claude-sonnet-4, openai/gpt-4o, google/gemini-2.0-flash\n# OPENROUTER_LLM_MODEL=anthropic/claude-sonnet-4\n\n# OpenRouter Embedding Model (default: openai/text-embedding-3-small)\n# OPENROUTER_EMBEDDING_MODEL=openai/text-embedding-3-small\n\n# =============================================================================\n# GRAPHITI: Azure OpenAI Provider\n# =============================================================================\n# Use Azure OpenAI for both LLM and embeddings.\n# Requires Azure OpenAI deployment with appropriate models.\n#\n# Required: AZURE_OPENAI_API_KEY, AZURE_OPENAI_BASE_URL\n\n# Azure OpenAI API Key\n# AZURE_OPENAI_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n# Azure OpenAI Base URL (your Azure endpoint)\n# AZURE_OPENAI_BASE_URL=https://your-resource.openai.azure.com/openai/deployments/your-deployment\n\n# Azure OpenAI Deployment Names\n# AZURE_OPENAI_LLM_DEPLOYMENT=gpt-4\n# AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-3-small\n\n# =============================================================================\n# GRAPHITI: Ollama Provider (Local/Offline)\n# =============================================================================\n# Use Ollama for fully offline operation. No API keys required.\n# Requires Ollama running locally with appropriate models pulled.\n#\n# Prerequisites:\n# 1. Install Ollama: https://ollama.ai/\n# 2. Pull models: ollama pull deepseek-r1:7b && ollama pull nomic-embed-text\n# 3. Start Ollama server (usually auto-starts)\n#\n# Required: OLLAMA_LLM_MODEL, OLLAMA_EMBEDDING_MODEL, OLLAMA_EMBEDDING_DIM\n\n# Ollama Server URL (default: http://localhost:11434)\n# OLLAMA_BASE_URL=http://localhost:11434\n\n# Ollama LLM Model\n# Popular choices: deepseek-r1:7b, llama3.2:3b, mistral:7b, phi3:medium\n# OLLAMA_LLM_MODEL=deepseek-r1:7b\n\n# Ollama Embedding Model\n# Popular choices: nomic-embed-text (768 dim), mxbai-embed-large (1024 dim)\n# OLLAMA_EMBEDDING_MODEL=nomic-embed-text\n\n# Ollama Embedding Dimension (REQUIRED for Ollama embeddings)\n# Must match your embedding model's output dimension\n# Common values: nomic-embed-text=768, mxbai-embed-large=1024, all-minilm=384\n# OLLAMA_EMBEDDING_DIM=768\n\n# =============================================================================\n# GRAPHITI: Example Configurations\n# =============================================================================\n#\n# --- Example 1: OpenAI (simplest) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=openai\n# GRAPHITI_EMBEDDER_PROVIDER=openai\n# OPENAI_API_KEY=sk-xxxxxxxx\n#\n# --- Example 2: Anthropic + Voyage (high quality) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=anthropic\n# GRAPHITI_EMBEDDER_PROVIDER=voyage\n# ANTHROPIC_API_KEY=sk-ant-xxxxxxxx\n# VOYAGE_API_KEY=pa-xxxxxxxx\n#\n# --- Example 3: Ollama (fully offline) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=ollama\n# GRAPHITI_EMBEDDER_PROVIDER=ollama\n# OLLAMA_LLM_MODEL=deepseek-r1:7b\n# OLLAMA_EMBEDDING_MODEL=nomic-embed-text\n# OLLAMA_EMBEDDING_DIM=768\n#\n# --- Example 4: Azure OpenAI (enterprise) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=azure_openai\n# GRAPHITI_EMBEDDER_PROVIDER=azure_openai\n# AZURE_OPENAI_API_KEY=xxxxxxxx\n# AZURE_OPENAI_BASE_URL=https://your-resource.openai.azure.com/...\n# AZURE_OPENAI_LLM_DEPLOYMENT=gpt-4\n# AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-3-small\n#\n# --- Example 5: Google AI (Gemini) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=google\n# GRAPHITI_EMBEDDER_PROVIDER=google\n# GOOGLE_API_KEY=AIzaSyxxxxxxxx\n#\n# --- Example 6: OpenRouter (multi-provider aggregator) ---\n# GRAPHITI_ENABLED=true\n# GRAPHITI_LLM_PROVIDER=openrouter\n# GRAPHITI_EMBEDDER_PROVIDER=openrouter\n# OPENROUTER_API_KEY=sk-or-xxxxxxxx\n# OPENROUTER_LLM_MODEL=anthropic/claude-sonnet-4\n# OPENROUTER_EMBEDDING_MODEL=openai/text-embedding-3-small\n"}}}} |