Skip to content

Reference

Sergey Gerasimov edited this page Oct 27, 2026 · 5 revisions

Reference

Generated from the code: environment variables, CLI options, helper scripts and the wiki index. Regenerate with make wiki-reference; the Docs check fails if this page is out of date.

Environment variables

Variable Section Default in env.example What it controls
OPENAI_API_KEY LLM providers sk-... —
ANTHROPIC_API_KEY LLM providers sk-ant-... —
DUE_DIL_MODEL LLM providers gpt-4o Which model to use by default: "gpt-4o" or "claude-3-5-sonnet"
LLAMA_CLOUD_API_KEY LlamaParse (PDF -> Markdown) llx-... —
TAVILY_API_KEY Tavily (web search) tvly-... —
LANGSMITH_TRACING LangSmith tracing (optional) true The SDK reads the LANGSMITH_* names; the older LANGCHAIN_* ones still work as aliases.
LANGSMITH_ENDPOINT LangSmith tracing (optional) https://api.smith.langchain.com —
LANGSMITH_API_KEY LangSmith tracing (optional) lsv2_... —
LANGSMITH_PROJECT LangSmith tracing (optional) DueDil.Agent —
LANGCHAIN_TRACING_V2 LangSmith tracing (optional) true Only needed for keys scoped to more than one workspace (the workspace UUID).
LANGCHAIN_ENDPOINT LangSmith tracing (optional) https://api.smith.langchain.com —
LANGCHAIN_API_KEY LangSmith tracing (optional) lsv2_... —
LANGCHAIN_PROJECT LangSmith tracing (optional) DueDil.Agent —

The app runs without any of these: with no LLM key it falls back to the rule-based offline agents, and with no LLAMA_CLOUD_API_KEY the PDF parser degrades to pypdf. Commented-out entries in env.example are optional advanced switches.

CLI options

python -m app.cli <deck.pdf> [url] [options]

Option Meaning
deck path to the pitch deck PDF
url startup website URL
-o, --out output PDF path (default: data/_memo.pdf)
--md also write the raw Markdown memo here
--json dump the full final state to this JSON file
--model override the LLM id (e.g. claude-3-5-sonnet)
--comment-file write a short Markdown summary (recommendation, top Red Flags) here
--offline run the rule-based offline agents instead of an LLM (no API keys, no network)
--quiet only print the final memo
--version —

Helper scripts

Script Purpose
scripts/action_entrypoint.sh Entry point for the DueDil.Agent composite action (action.yml).
scripts/build_demo_video.py Build the narrated demo video from a recorded session.
scripts/capture_demo.py Capture screenshots and a walkthrough video of the Streamlit UI.
scripts/coverage_badge.py Generate a shields.io-style coverage badge from the .coverage data file.
scripts/demo_offline.py Run DueDil.Agent end-to-end with no API keys and no network.
scripts/demo_offline_ui.py Launch the Streamlit UI in offline demo mode (no API keys, no network).
scripts/import_probe.py Staged import probe: find which import kills a hosted deployment.
scripts/langsmith_key_check.py Диагностика ключа LangSmith: к какому инстансу он привязан и работает ли он.
scripts/make_banner.py Generate the 1280x640 GitHub social-preview banner (PNG + SVG).
scripts/make_demo_video.py Record the demo screencast and the README screenshots against a running UI.
scripts/make_example_decks.py Generate example pitch decks for five real IT companies, from public facts only.
scripts/make_run_stop_doc.py Build the personal "how to run / how to stop" walkthrough as a Word document.
scripts/make_sample_deck.py Generate a small synthetic pitch-deck PDF for testing DueDil.Agent.
scripts/personal-sync.sh Copy the files that git does NOT carry between the Linux server and a laptop.
scripts/project.ps1 >
scripts/project.sh DueDil.Agent — start/stop helper for Linux, macOS and WSL.
scripts/publish_wiki.sh Publish docs/wiki/*.md to the repository's GitHub wiki.
scripts/refresh_doc_citations.py Refresh the code citations in the Answer-Quality page from the actual sources.
scripts/validate_docs.py Validate the documentation: links, anchors, ADRs, wiki metadata and generated pages.

Wiki pages

Page File
Answer Quality and Guardrails Answer-Quality.md
Architecture Architecture.md
Configuration Configuration.md
Design Decisions Design-Decisions.md
Extending the System Extending-the-System.md
Glossary Glossary.md
DueDil.Agent — Engineering Wiki Home.md
Installation & Deployment Installation-and-Deployment.md
Interfaces Interfaces.md
Product Overview Product-Overview.md
Recipes Recipes.md
Red-Flag Engine Red-Flag-Engine.md
Security & Limits Security-and-Limits.md
Testing & Quality Gates Testing-and-Quality-Gates.md
Troubleshooting Troubleshooting.md

Last reviewed: 2026-10-23 · Owner: @SergeyGer

Clone this wiki locally