Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
documentationImprovements or additions to documentationstaleuxFor issues affecting the user experience of installing and working with kagenti
Description
The env vars are documented in scattered locations, and the platform-injected
defaults are only documented in code.
Here's what exists:
┌──────────────────────────────────────────────────────────┬───────────────┬───────────────────────────────────────────┐
│ Category │ Vars │ Where documented │
├──────────────────────────────────────────────────────────┼───────────────┼───────────────────────────────────────────┤
│ LLM config (LLM_API_BASE, LLM_API_KEY, LLM_MODEL) │ User-supplied │ docs/local-models.md — explicit table │
├──────────────────────────────────────────────────────────┼───────────────┼───────────────────────────────────────────┤
│ MCP connection (MCP_URL, MCP_URLS) │ User-supplied │ docs/new-tool.md │
├──────────────────────────────────────────────────────────┼───────────────┼───────────────────────────────────────────┤
│ .env import format (how to set any var) │ User-supplied │ docs/new-agent.md, docs/dev-guide.md │
├──────────────────────────────────────────────────────────┼───────────────┼───────────────────────────────────────────┤
│ Platform-injected defaults (PORT, HOST, │ Always │ Code only — │
│ OTEL_EXPORTER_OTLP_ENDPOINT, KEYCLOAK_URL, UV_CACHE_DIR) │ injected │ kagenti/backend/app/core/constants.py │
├──────────────────────────────────────────────────────────┼───────────────┼───────────────────────────────────────────┤
│ AGENT_ENDPOINT (agent's own URL) │ Agents only │ Code only — constants.py + agents.py │
└──────────────────────────────────────────────────────────┴───────────────┴───────────────────────────────────────────┘
The gap: There's no single doc page that says "here's every env var your agent/tool container will receive" and distinguishes platform-injected vars from user-supplied ones. The five DEFAULT_ENV_VARS plus AGENT_ENDPOINT are injected silently by the backend with only a Python docstring as documentation.
Would you like me to create that reference doc?
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationstaleuxFor issues affecting the user experience of installing and working with kagenti
Type
Projects
- StatusShow more project fieldsDone
Activity
esnible commentedon May 4, 2026
It is worth pointing out that Kagenti does not have a "getting started" page for agent and tool developers.
I believe the configuration that Kagenti provides to agents and tools is an important part of what the Kagenti service offers and should be front-and-center.
A "getting started" page could link to that page. I asked Claude if we had a getting started page, it said
github-actions commentedon Jul 21, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this issue is still relevant, please comment or remove the stale label.
github-actions commentedon Aug 4, 2026
This issue was closed because it has been stale for 14 days with no activity. Feel free to reopen if this is still relevant.