Skip to content

Environment variables

VariableDefault
PLNT_HOME~/.plntAll state: tenants, installs, databases, audit logs.
PLNT_ADMIN_TOKENunsetAdmin bearer token. Unset means admin routes answer 503.
PLNT_BUNDLE_PATHunset:-separated directories of bundles, searched before the built-in ones.
PLNT_HOST / PORT127.0.0.1 / 8787Where plnt serve listens (same as --host / --port). The Docker image sets 0.0.0.0; platforms like Render set PORT.
VariableDefault
PLNT_PARENT_DYNAMIC_ROLESunset (plnt dev and the playground: on)1 lets the parent invent single-purpose roles beyond the installed bundles.
PLNT_READ_ONLYunset (playground: on)1 removes write_file and execute from every agent.
PLNT_WORKSPACE_PATHS1 (playground: off)0 refuses local folders as workspaces.
PLNT_WORKSPACE_GITunset1 allows git URLs as workspaces (shallow clone, 60 s).
PLNT_WORKSPACE_MAX_MB50Largest workspace copy accepted.
PLNT_MAX_CONCURRENCY3Agents running at once in one session.
PLNT_AGENT_MAX_STEPS / PLNT_AGENT_TOKENS / PLNT_AGENT_WALL_SECONDS6 / 12000 / 120Budget of an invented role (bundles bring their own).

Used for tenants without their own model. See Local models.

VariableDefault
PLNT_FORCEautolocal, cloud or offline (test stub) to skip auto-selection.
PLNT_LOCAL_URLhttp://127.0.0.1:11434Local server. /v1 in the path means OpenAI-compatible.
PLNT_LOCAL_PROVIDERguessedollama or openai.
PLNT_LOCAL_API_KEYunsetFor local servers that require one.
PLNT_PLANNER_MODELllama3.2:3bLocal model for small/auto bundles.
PLNT_DEEP_MODELllama3.1:8bLocal model for deep bundles.
PLNT_CLOUD_URLunsetOpenAI-compatible base URL.
PLNT_CLOUD_API_KEYunset
PLNT_CLOUD_SMALL_MODELunsetRequired for cloud.
PLNT_CLOUD_DEEP_MODELsmall model
PLNT_NUM_CTX8192Context window requested from Ollama.
PLNT_TEMPERATURE0.2
PLNT_MAX_TOKENS2048Max completion tokens per call.
PLNT_MODEL_TIMEOUT120Seconds per model call (also capped by the bundle’s wall budget).
PLNT_NATIVE_TOOLSautoon, off (use the JSON shim), or auto (native, falling back to the shim).
PLNT_COST_IN_PER_M / PLNT_COST_OUT_PER_M0USD per million prompt / completion tokens, for cost reporting.
VariableDefault
PLNT_PLAYGROUNDunset1 is the same as --playground.
PLNT_PLAYGROUND_SESSIONS_PER_10MIN10New sessions per IP.
PLNT_PLAYGROUND_MESSAGES_PER_10MIN30Messages per IP.
PLNT_PLAYGROUND_DAILY_TOKENS2000000Total tokens per day across all visitors; then 503.
PLNT_PLAYGROUND_EXECUTEunset1 gives playground agents write_file and execute. Visitors then run programs on your server; leave it unset on anything public.
PLNT_PLAYGROUND_ORIGINS*Comma-separated CORS origins. An entry may contain * as a wildcard, e.g. https://plnt-site*.vercel.app for preview deployments.
PLNT_TRUST_PROXYunset1 to take the client IP from the first X-Forwarded-For entry. Only behind a proxy that sets that entry itself (Render does); otherwise visitors can spoof it.
Variable
PUBLIC_PLNT_PLAYGROUND_URLThe playground server the site’s /playground page talks to. Defaults to https://plnt.onrender.com (or http://localhost:8787 when the page is served from localhost). Visitors can override it with ?api=.