# Defaults live in deepgraph.toml. Put machine-local overrides and secrets here. DEEPGRAPH_APP_NAME=DeepGraph DEEPGRAPH_PROFILE=machine_learning # Switch to a broader science tree: # DEEPGRAPH_PROFILE=open_science DEEPGRAPH_ROOT_NODE_ID=ml # For open science: # DEEPGRAPH_ROOT_NODE_ID=science DEEPGRAPH_LLM_BASE_URL=https://api.tabcode.cc/openai DEEPGRAPH_LLM_API_KEY= DEEPGRAPH_LLM_MODEL=gpt-5.4 # Optional: more OpenAI-compatible routes beyond primary/secondary. # DEEPGRAPH_LLM_EXTRA_PROVIDERS_JSON=[{"name":"route2","base_url":"https://provider.example/v1","api_key":"sk-...","model":"glm-5.1","protocol":"chat_completions","rpm":20}] # Optional LLM stability knobs for flaky providers / gateways: # DEEPGRAPH_LLM_CONNECT_TIMEOUT_SECONDS=30 # DEEPGRAPH_LLM_REQUEST_TIMEOUT_SECONDS=300 # DEEPGRAPH_LLM_TRANSIENT_RETRIES=2 # DEEPGRAPH_LLM_TRANSIENT_BACKOFF_SECONDS=5 # DEEPGRAPH_LLM_TRANSIENT_COOLDOWN_SECONDS=180 DEEPGRAPH_WEB_HOST=0.0.0.0 DEEPGRAPH_WEB_PORT=8080 DEEPGRAPH_PIPELINE_CONCURRENCY=4 DEEPGRAPH_ARXIV_MAX_RESULTS_PER_QUERY=100 DEEPGRAPH_BACKFILL_GRAPH_ON_START=true DEEPGRAPH_REFRESH_MERGE_CANDIDATES_ON_START=true DEEPGRAPH_PAPER_CLUSTER_MIN_PAPERS=10 # Optional single-process automation. Enable when you are not already running # scripts/run_pipeline_forever.sh or another external processor. # DEEPGRAPH_AUTO_PIPELINE_ENABLED=true # DEEPGRAPH_AUTO_PIPELINE_BATCH_SIZE=100 # DEEPGRAPH_AUTO_PIPELINE_INTERVAL_SECONDS=120 # DEEPGRAPH_AUTO_RESEARCH_ENABLED=true # DEEPGRAPH_GPU_WORKER_SLOTS=1 # DEEPGRAPH_GPU_VISIBLE_DEVICES=0 # DEEPGRAPH_GPU_DEFAULT_MODEL=NVIDIA GeForce RTX 5070 # DEEPGRAPH_GPU_DEFAULT_VRAM_GB=12 # Remote dual-card example: # DEEPGRAPH_GPU_VISIBLE_DEVICES=0,1 # DEEPGRAPH_GPU_DEFAULT_MODEL=NVIDIA L40S # DEEPGRAPH_GPU_DEFAULT_VRAM_GB=46 # Formal benchmark runtime overrides forwarded to SSH workers: # DEEPGRAPH_BENCHMARK_MODEL=Qwen/Qwen2.5-14B-Instruct # DEEPGRAPH_BENCHMARK_MAX_EXAMPLES=128 # DEEPGRAPH_BENCHMARK_SEEDS=5 # DEEPGRAPH_ALLOW_SMOKE_EXPERIMENT_VALIDATION=false # GROBID PDF parsing (docker compose -f docker-compose.grobid.yml up -d) # DEEPGRAPH_GROBID_URL=http://127.0.0.1:8070 # DEEPGRAPH_GROBID_TIMEOUT=300 # auto | grobid | pymupdf # DEEPGRAPH_PDF_TEXT_BACKEND=auto # Insight provenance / A-B testing prompts (bump when prompts change) # DEEPGRAPH_PROMPT_VERSION=insight_v1 # Optional override for discovery categories: # DEEPGRAPH_ARXIV_CATEGORIES=cs.AI,cs.LG,cs.CL,cs.CV,stat.ML # Legacy SQLite only (local/testing): DEEPGRAPH_DB_PATH=./deepgraph.db # Production runtime should set PostgreSQL + pgvector (schema: db/schema_postgres.sql, init: python -m db.pg_init): # docker compose -f docker-compose.postgres.yml up -d # DEEPGRAPH_DATABASE_URL=postgresql://deepgraph:deepgraph@127.0.0.1:5433/deepgraph # Data copy: DEEPGRAPH_DATABASE_URL=... python scripts/migrate_sqlite_to_postgres.py # Fixed idea workspace root for experiment/plan/paper partitions: # DEEPGRAPH_IDEA_WORKSPACE_DIR=/data/deepgraph_ideas # Manuscript: paper_orchestra (default, recommended) | legacy single-pass DEEPGRAPH_MANUSCRIPT_BACKEND=paper_orchestra # PaperOrchestra / literature verification — optional but lowers S2 throttling: # DEEPGRAPH_SEMANTIC_SCHOLAR_API_KEY= # Optional: enable PaperBanana for framework / motivation diagrams generated by PaperOrchestra. # By default the wrapper reuses DeepGraph's main LLM as PaperBanana's text model. # Optional override: # DEEPGRAPH_PAPERBANANA_MAIN_MODEL=gpt-5.4 # DEEPGRAPH_PAPERBANANA_TEXT_BASE_URL=https://your-text-provider.example/v1 # DEEPGRAPH_PAPERBANANA_TEXT_API_KEY=sk-... # # For image generation you can either use Google / OpenRouter directly, or point # PaperBanana at a Gemini-native gateway such as NanoBanana: # DEEPGRAPH_PAPERBANANA_IMAGE_PROTOCOL=gemini_native # DEEPGRAPH_PAPERBANANA_IMAGE_BASE_URL=https://your-image-provider.example # DEEPGRAPH_PAPERBANANA_IMAGE_API_KEY=sk-... # DEEPGRAPH_PAPERBANANA_IMAGE_MODEL=gemini-2.5-flash-image # # For OpenAI-compatible image gateways instead: # DEEPGRAPH_PAPERBANANA_IMAGE_PROTOCOL=openai_compatible # DEEPGRAPH_PAPERBANANA_IMAGE_BASE_URL=https://your-image-provider.example/v1 # DEEPGRAPH_PAPERBANANA_IMAGE_MODEL=gemini-3.1-flash-image-preview # OPENROUTER_API_KEY=sk-or-v1-... # GOOGLE_API_KEY=your-google-key # DEEPGRAPH_PAPERBANANA_CMD=/home/billion-token/Deepgraph/scripts/paperbanana_wrapper.py --out {output} --spec {spec} # Baseline reproduction (SciForge Phase 1): auto-repair rounds when the run crashes or emits no metric. # Uses Codex CLI if available; otherwise falls back to main LLM JSON file patches. Set 0 to disable (legacy behavior). # DEEPGRAPH_REPRODUCTION_REPAIR_MAX_ROUNDS=8 # When true: novelty must be 'novel', EvoSci must be installed, and evoscientist_workdir/final_report.md # must exist before experiment forge / SciForge validation (auto_research respects the same gates). # DEEPGRAPH_REQUIRE_EVOSCIENTIST_FOR_EXPERIMENTS=true