APP_NAME=Agent Platform Base
APP_HOST=127.0.0.1
APP_PORT=8016

# LLM settings. Fill these with your own provider values when needed.
LLM_PROVIDER=
LLM_MODEL_ID=
LLM_API_KEY=
LLM_BASE_URL=
LLM_TIMEOUT=120

# Search settings for the built-in deep research adapter.
SEARCH_API=duckduckgo
TAVILY_API_KEY=
SERPAPI_API_KEY=
MAX_WEB_RESEARCH_LOOPS=3
FETCH_FULL_PAGE=true
ENABLE_NOTES=true
NOTES_WORKSPACE=./data/deep_research/notes
PERSIST_RUNS=true
RUN_WORKSPACE=./data/deep_research/runs
CLEANUP_INTERMEDIATE_FILES=false
REPORT_TASK_SUMMARY_CHARS=2400
REPORT_SOURCES_LIMIT=5

# Memory/vector settings reused from chapter15.
EMBED_MODEL_TYPE=
EMBED_MODEL_NAME=
EMBED_API_KEY=
EMBED_BASE_URL=
QDRANT_URL=
QDRANT_API_KEY=
QDRANT_COLLECTION=hello_agents_vectors
QDRANT_VECTOR_SIZE=384
QDRANT_DISTANCE=cosine
QDRANT_TIMEOUT=30

NEO4J_URI=
NEO4J_USERNAME=
NEO4J_PASSWORD=
NEO4J_DATABASE=neo4j

# Built-in DeepResearch path. Leave empty to use agents/deep_research/src.
CHAPTER14_BACKEND_PATH=./agents/deep_research/src

# Built-in RSS digest agent paths.
RSS_DIGEST_ROOT=./agents/rss_digest
RSS_DIGEST_DATA_ROOT=./data/rss_digest
RSS_FETCH_CONCURRENCY=10
RSS_FETCH_TIMEOUT_SECONDS=15
RSS_SOURCE_LIMIT=10
RSS_ENTRIES_PER_SOURCE=5
RSS_MAX_NEW_ARTICLES_PER_RUN=50
RSS_AI_BATCH_SIZE=10
RSS_AI_MAX_CONCURRENCY=2
RSS_RELEVANCE_THRESHOLD=65
RSS_MAX_SUMMARY_ARTICLES_PER_RUN=10
RSS_MAX_DIGEST_ARTICLES=12

# Lightweight artifact cleanup. Runs lazily when long-running agents are used.
MAINTENANCE_CLEANUP_ENABLED=true
MAINTENANCE_CLEANUP_INTERVAL_HOURS=6
RESEARCH_RUN_RETENTION_DAYS=7
RSS_DIGEST_RETENTION_DAYS=7
RSS_CACHE_RETENTION_DAYS=7
