Assembly LineDocs

Runtime Configuration

Reference Assembly Line runtime and operator environment variables.

Edit

This page lists runtime and operator environment variables. For agent authoring, use the Declarative Reference; it is the single source for every accepted agent.md field, default, profile, and exception. Provider credentials are grouped in Adapters, and deployment behavior is covered in Runtime And Deployment.

Committed Production Configuration

agent/config.production.ts holds shared non-secret runtime values:

import { defineProductionConfig } from "@assemblyline-agents/core";

export default defineProductionConfig({
  SEARCH_API_URL: "https://search.example.com/v1",
  ASSEMBLY_LINE_MAX_CONCURRENT_RUNS: "16"
});

The default export must be one inline defineProductionConfig({...}) call. Keys use uppercase environment syntax and values are string literals. The compiler rejects dynamic code and secret-like fields or values, then serializes the map into manifest.json. Local shell/host values override committed values; framework defaults apply only when neither is set. .env is not loaded.

Configuration may be contextual. Credentials are capability-scoped. API URLs, regions, limits, and feature switches belong here. Passwords, tokens, private keys, connection strings, and authenticated webhook URLs belong in the configured secret store; bootstrap and deploy credentials remain host secrets.

Environment Variable Reference

Every ASSEMBLY_LINE_* variable read by the packages in this repo. Boolean variables accept true/1 and false/0 unless noted. Provider-specific non-ASSEMBLY_LINE_ env (API keys, DATABASE_URL, SLACK_*, ...) is documented in Adapters and Runtime And Deployment.

Alphabetical index

Every variable in this reference, with the section that documents it. ASSEMBLY_LINE_ARTIFACT_ROOT, ASSEMBLY_LINE_AGENT_REVISION, and ASSEMBLY_LINE_MIGRATION_FILES are deploy-time outputs, not knobs; see Build, deploy, and migrations.

VariableSection
ASSEMBLY_LINE_ADMIN_TOKENServer and auth (@assemblyline-agents/node)
ASSEMBLY_LINE_ALLOW_LOCAL_SANDBOX_FALLBACKProvider: Daytona (@assemblyline-agents/daytona)
ASSEMBLY_LINE_ALLOW_LOCAL_SANDBOX_IN_PRODUCTIONBuild, deploy, and migrations (CLI and compiler)
ASSEMBLY_LINE_ARTIFACT_PACKAGE_MODEBuild, deploy, and migrations (CLI and compiler)
ASSEMBLY_LINE_ATTACHMENT_FETCH_TIMEOUT_MSAttachments and resource projection
ASSEMBLY_LINE_ATTACHMENT_MAX_BYTESAttachments and resource projection
ASSEMBLY_LINE_ATTACHMENT_MAX_COUNTAttachments and resource projection
ASSEMBLY_LINE_AUTOMATIONS_APPROVALSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_AUTOMATIONS_DYNAMICSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_AUTO_MIGRATEProvider: Postgres (@assemblyline-agents/postgres)
ASSEMBLY_LINE_BASH_TIMEOUT_MAX_MSModel loop, memory, and logging
ASSEMBLY_LINE_BASH_TOOL_MODEModel loop, memory, and logging
ASSEMBLY_LINE_BLOB_ROOTSecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_BACKGROUND_REVIEW_WORKERDurability workers and recovery
ASSEMBLY_LINE_BACKGROUND_SUBAGENT_WORKERDurability workers and recovery
ASSEMBLY_LINE_CHECKPOINT_BLOB_THRESHOLD_BYTESModel loop, memory, and logging
ASSEMBLY_LINE_CHECKPOINT_EVERY_ITERATIONModel loop, memory, and logging
ASSEMBLY_LINE_CHECKPOINT_FAILED_TTL_MSModel loop, memory, and logging
ASSEMBLY_LINE_CHECKPOINT_MAX_ACTIVE_PER_RUN_NAMEModel loop, memory, and logging
ASSEMBLY_LINE_CHECKPOINT_SCHEDULED_TTL_MSModel loop, memory, and logging
ASSEMBLY_LINE_CHECKPOINT_TERMINAL_TTL_MSModel loop, memory, and logging
ASSEMBLY_LINE_COMPUTER_USE_BINDINGComputer Use relay (@assemblyline-agents/computer-use)
ASSEMBLY_LINE_COMPUTER_USE_RELAY_URLComputer Use relay (@assemblyline-agents/computer-use)
ASSEMBLY_LINE_CONNECTIONS_ALLOWED_HOSTSSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_CONNECTIONS_APPROVALSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_CONNECTIONS_DYNAMICSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_CONNECTION_AUTH_SESSIONS_FILESecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_CONNECTION_CALLBACK_BASE_URLServer and auth (@assemblyline-agents/node)
ASSEMBLY_LINE_CONNECTION_DEFINITIONS_FILESecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_CONNECTION_EVENTS_FILESecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_CONNECTION_GRANTS_FILESecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_CONNECTION_STORE_SECRETSecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_CONNECTION_EVENT_WORKERDurability workers and recovery
ASSEMBLY_LINE_CONVERSATION_TURN_WORKERDurability workers and recovery
ASSEMBLY_LINE_DAYTONA_AUTO_ARCHIVE_MINUTESProvider: Daytona (@assemblyline-agents/daytona)
ASSEMBLY_LINE_DAYTONA_AUTO_DELETE_MINUTESProvider: Daytona (@assemblyline-agents/daytona)
ASSEMBLY_LINE_DAYTONA_AUTO_STOP_MINUTESProvider: Daytona (@assemblyline-agents/daytona)
ASSEMBLY_LINE_DAYTONA_CREATE_TIMEOUT_SECONDSProvider: Daytona (@assemblyline-agents/daytona)
ASSEMBLY_LINE_DAYTONA_DOMAIN_ALLOW_LISTProvider: Daytona (@assemblyline-agents/daytona)
ASSEMBLY_LINE_DAYTONA_EPHEMERALProvider: Daytona (@assemblyline-agents/daytona)
ASSEMBLY_LINE_DAYTONA_LIFECYCLE_TIMEOUT_SECONDSProvider: Daytona (@assemblyline-agents/daytona)
ASSEMBLY_LINE_DAYTONA_NETWORK_ALLOW_LISTProvider: Daytona (@assemblyline-agents/daytona)
ASSEMBLY_LINE_DAYTONA_NETWORK_BLOCK_ALLProvider: Daytona (@assemblyline-agents/daytona)
ASSEMBLY_LINE_DELIVERY_FILE_MAX_BYTESDelivery queue
ASSEMBLY_LINE_DELIVERY_FILE_MAX_COUNTDelivery queue
ASSEMBLY_LINE_DELIVERY_FILE_PREPARATION_TIMEOUT_MSDelivery queue
ASSEMBLY_LINE_DELIVERY_QUEUE_BATCH_SIZEDelivery queue
ASSEMBLY_LINE_DELIVERY_QUEUE_INTERVAL_MSDelivery queue
ASSEMBLY_LINE_DELIVERY_QUEUE_LEASE_MSDelivery queue
ASSEMBLY_LINE_DELIVERY_QUEUE_MAX_ATTEMPTSDelivery queue
ASSEMBLY_LINE_DELIVERY_RETRY_ATTEMPTSDelivery queue
ASSEMBLY_LINE_DELIVERY_RETRY_MAX_MSDelivery queue
ASSEMBLY_LINE_DELIVERY_RETRY_MIN_MSDelivery queue
ASSEMBLY_LINE_DELIVERY_WORKERDurability workers and recovery
ASSEMBLY_LINE_DEPLOY_ENVBuild, deploy, and migrations (CLI and compiler)
ASSEMBLY_LINE_DOCKER_COMMAND_TIMEOUT_MSProvider: Docker (@assemblyline-agents/docker)
ASSEMBLY_LINE_DOCKER_CPUSProvider: Docker (@assemblyline-agents/docker)
ASSEMBLY_LINE_DOCKER_IMAGEBuild, deploy, and migrations (CLI and compiler)
ASSEMBLY_LINE_DOCKER_MEMORYProvider: Docker (@assemblyline-agents/docker)
ASSEMBLY_LINE_DOCKER_NETWORKProvider: Docker (@assemblyline-agents/docker)
ASSEMBLY_LINE_DOCKER_PULL_POLICYProvider: Docker (@assemblyline-agents/docker)
ASSEMBLY_LINE_E2B_ALLOW_INTERNET_ACCESSProvider: E2B (@assemblyline-agents/e2b)
ASSEMBLY_LINE_E2B_PAUSE_KEEP_MEMORYProvider: E2B (@assemblyline-agents/e2b)
ASSEMBLY_LINE_E2B_REQUEST_TIMEOUT_MSProvider: E2B (@assemblyline-agents/e2b)
ASSEMBLY_LINE_E2B_RETAIN_TIMEOUT_MSProvider: E2B (@assemblyline-agents/e2b)
ASSEMBLY_LINE_E2B_TIMEOUT_MSProvider: E2B (@assemblyline-agents/e2b)
ASSEMBLY_LINE_ENABLE_API_RUNSServer and auth (@assemblyline-agents/node)
ASSEMBLY_LINE_ENABLE_EVAL_RUNSServer and auth (@assemblyline-agents/node)
ASSEMBLY_LINE_EVAL_JUDGE_MODELModel loop, memory, and logging
ASSEMBLY_LINE_EVOLUTION_ROOTSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_EVOLUTION_TRACKINGSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_HTTP_MAX_BODY_BYTESServer and auth (@assemblyline-agents/node)
ASSEMBLY_LINE_INGRESS_RATE_LIMITConcurrency and rate limiting
ASSEMBLY_LINE_LOG_LEVELModel loop, memory, and logging
ASSEMBLY_LINE_LEARNING_FILESecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_MAX_CONCURRENT_RUNSConcurrency and rate limiting
ASSEMBLY_LINE_MAX_MODEL_ITERATIONSModel loop, memory, and logging
ASSEMBLY_LINE_MAX_QUEUED_RUNSConcurrency and rate limiting
ASSEMBLY_LINE_MEMORY_EMBEDDINGS_ENABLEDModel loop, memory, and logging
ASSEMBLY_LINE_MIGRATION_COMMANDBuild, deploy, and migrations (CLI and compiler)
ASSEMBLY_LINE_MODAL_TIMEOUT_MSProvider: Modal (@assemblyline-agents/modal)
ASSEMBLY_LINE_MODAL_WAIT_READYProvider: Modal (@assemblyline-agents/modal)
ASSEMBLY_LINE_MODEL_IMAGE_MAX_BYTESAttachments and resource projection
ASSEMBLY_LINE_MODEL_IMAGE_MAX_COUNTAttachments and resource projection
ASSEMBLY_LINE_MODEL_IMAGE_MAX_TOTAL_BYTESAttachments and resource projection
ASSEMBLY_LINE_MODEL_HEIC_CONVERSION_ENABLEDAttachments and resource projection
ASSEMBLY_LINE_MODEL_HEIC_CONVERSION_TIMEOUT_MSAttachments and resource projection
ASSEMBLY_LINE_MODEL_HEIC_JPEG_QUALITYAttachments and resource projection
ASSEMBLY_LINE_MODEL_HEIC_MAX_PIXELSAttachments and resource projection
ASSEMBLY_LINE_MODEL_CREDENTIALS_FILEModel loop, memory, and logging
ASSEMBLY_LINE_MODEL_MAX_RETRIESModel loop, memory, and logging
ASSEMBLY_LINE_MODEL_MAX_RETRY_DELAY_MSModel loop, memory, and logging
ASSEMBLY_LINE_MODEL_STREAM_IDLE_TIMEOUT_MSModel loop, memory, and logging
ASSEMBLY_LINE_MODEL_TIMEOUT_MSModel loop, memory, and logging
ASSEMBLY_LINE_MODEL_VIDEO_MAX_BYTESAttachments and resource projection
ASSEMBLY_LINE_MODEL_VIDEO_MAX_COUNTAttachments and resource projection
ASSEMBLY_LINE_MODEL_VIDEO_MAX_TOTAL_BYTESAttachments and resource projection
ASSEMBLY_LINE_OPENAI_ADMIN_KEYUsage accounting
ASSEMBLY_LINE_OPENAI_AGENT_BY_API_KEY_IDUsage accounting
ASSEMBLY_LINE_OPENAI_AGENT_BY_PROJECT_IDUsage accounting
ASSEMBLY_LINE_OPENAI_USAGE_API_KEY_IDSUsage accounting
ASSEMBLY_LINE_OPENAI_USAGE_PROJECT_IDSUsage accounting
ASSEMBLY_LINE_OPENROUTER_API_KEY_HASHUsage accounting
ASSEMBLY_LINE_OPENROUTER_CONTROL_AGENT_IDUsage accounting
ASSEMBLY_LINE_OTLP_BATCH_MAXOTLP telemetry (@assemblyline-agents/otlp)
ASSEMBLY_LINE_OTLP_FLUSH_MSOTLP telemetry (@assemblyline-agents/otlp)
ASSEMBLY_LINE_OUTPUT_VALIDATION_MAX_RETRIESModel loop, memory, and logging
ASSEMBLY_LINE_POSTGRES_CONNECTION_ENVProvider: Postgres (@assemblyline-agents/postgres)
ASSEMBLY_LINE_POSTGRES_SSL_REJECT_UNAUTHORIZEDProvider: Postgres (@assemblyline-agents/postgres)
ASSEMBLY_LINE_PUBLIC_URLServer and auth (@assemblyline-agents/node)
ASSEMBLY_LINE_RESOURCE_PROJECTION_ALLOWED_KINDSAttachments and resource projection
ASSEMBLY_LINE_RESOURCE_PROJECTION_ALLOW_WRITABLEAttachments and resource projection
ASSEMBLY_LINE_RESOURCE_PROJECTION_MAX_BYTESAttachments and resource projection
ASSEMBLY_LINE_RESOURCE_PROJECTION_MAX_FILESAttachments and resource projection
ASSEMBLY_LINE_RUNS_RATE_LIMITConcurrency and rate limiting
ASSEMBLY_LINE_RUN_HEARTBEAT_MSDurability workers and recovery
ASSEMBLY_LINE_RUN_RECOVERYDurability workers and recovery
ASSEMBLY_LINE_RUN_RECOVERY_INTERVAL_MSDurability workers and recovery
ASSEMBLY_LINE_RUN_STALL_TIMEOUT_MSDurability workers and recovery
ASSEMBLY_LINE_SANDBOX_ROOTSecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_SANDBOX_CLEANUP_TIMEOUT_MSSandbox sync and hydration
ASSEMBLY_LINE_SANDBOX_SNAPSHOT_MODESandbox snapshots
ASSEMBLY_LINE_SANDBOX_SNAPSHOT_REASONSandbox snapshots
ASSEMBLY_LINE_SANDBOX_SNAPSHOT_RETAIN_LASTSandbox snapshots
ASSEMBLY_LINE_SANDBOX_SYNC_BATCH_SIZESandbox sync and hydration
ASSEMBLY_LINE_SANDBOX_SYNC_INLINESandbox sync and hydration
ASSEMBLY_LINE_SANDBOX_SYNC_INTERVAL_MSSandbox sync and hydration
ASSEMBLY_LINE_SANDBOX_SYNC_LEASE_MSSandbox sync and hydration
ASSEMBLY_LINE_SANDBOX_SYNC_MAX_ATTEMPTSSandbox sync and hydration
ASSEMBLY_LINE_SANDBOX_SYNC_WORKERDurability workers and recovery
ASSEMBLY_LINE_SCHEDULER_ENABLEDScheduler
ASSEMBLY_LINE_SCHEDULER_SECRETServer and auth (@assemblyline-agents/node)
ASSEMBLY_LINE_SCHEDULES_FILESecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_SCHEDULE_MAX_FAILURESDurability workers and recovery
ASSEMBLY_LINE_SECRETSecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_SHUTDOWN_TIMEOUT_MSGraceful shutdown
ASSEMBLY_LINE_SIGNAL_HANDLERSGraceful shutdown
ASSEMBLY_LINE_SKILLS_FILESecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_SELF_IMPROVEMENTSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_SELF_IMPROVEMENT_REVIEW_EVERY_TURNSSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_SELF_IMPROVEMENT_REVIEW_MIN_TOOL_CALLSSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_SELF_IMPROVEMENT_REVIEW_MODELSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_SKILLS_WRITE_APPROVALSelf-improvement, dynamic automations, dynamic connections
ASSEMBLY_LINE_STATE_FILESecrets and local store paths (@assemblyline-agents/node)
ASSEMBLY_LINE_TEAMS_ALLOWED_SERVICE_URLSProvider: Microsoft Teams (@assemblyline-agents/teams)
ASSEMBLY_LINE_TEAMS_ALLOWED_TENANTSProvider: Microsoft Teams (@assemblyline-agents/teams)
ASSEMBLY_LINE_TEAMS_OPENID_METADATA_URLProvider: Microsoft Teams (@assemblyline-agents/teams)
ASSEMBLY_LINE_TOOL_OUTPUT_MAX_CHARSModel loop, memory, and logging
ASSEMBLY_LINE_TOOL_TIMEOUT_MSModel loop, memory, and logging
ASSEMBLY_LINE_TRUST_PROXYConcurrency and rate limiting
ASSEMBLY_LINE_URLBuild, deploy, and migrations (CLI and compiler)
ASSEMBLY_LINE_USAGE_RECONCILIATION_LAG_HOURSUsage accounting
ASSEMBLY_LINE_HETZNER_HOSTProvider: Hetzner VPS (@assemblyline-agents/vps)
ASSEMBLY_LINE_HETZNER_HOSTS_FILEProvider: Hetzner VPS (@assemblyline-agents/vps)
ASSEMBLY_LINE_VPS_ALERT_WEBHOOK_URLProvider: Hetzner VPS (@assemblyline-agents/vps)
ASSEMBLY_LINE_VPS_BACKUP_ACCESS_KEY_IDProvider: Hetzner VPS (@assemblyline-agents/vps)
ASSEMBLY_LINE_VPS_BACKUP_BUCKETProvider: Hetzner VPS (@assemblyline-agents/vps)
ASSEMBLY_LINE_VPS_BACKUP_ENDPOINTProvider: Hetzner VPS (@assemblyline-agents/vps)
ASSEMBLY_LINE_VPS_BACKUP_REGIONProvider: Hetzner VPS (@assemblyline-agents/vps)
ASSEMBLY_LINE_VPS_BACKUP_RETENTION_DAYSProvider: Hetzner VPS (@assemblyline-agents/vps)
ASSEMBLY_LINE_VPS_BACKUP_SECRET_ACCESS_KEYProvider: Hetzner VPS (@assemblyline-agents/vps)
ASSEMBLY_LINE_WORKSPACE_CHECKPOINTS_PER_WINDOWVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_FORKS_PER_WINDOWVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_HYDRATES_PER_WINDOWVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_MAX_CHECKPOINTSVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_MAX_FILE_BYTESVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_MAX_FILESVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_MAX_TOTAL_BYTESVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_RATE_WINDOW_MSVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_RESTORES_PER_WINDOWVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_SEARCH_CHUNK_OVERLAP_LINESVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_SEARCH_MAX_CHUNK_CHARSVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_SEARCH_MAX_CHUNKSVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_SEARCH_MAX_FILE_BYTESVersioned workspaces
ASSEMBLY_LINE_WORKSPACE_SYNCS_PER_WINDOWVersioned workspaces
ASSEMBLY_LINE_ZIP_MAX_FILESAttachments and resource projection
ASSEMBLY_LINE_ZIP_MAX_TOTAL_BYTESAttachments and resource projection
OPENAI_ADMIN_KEYUsage accounting
OPENROUTER_MANAGEMENT_KEYUsage accounting
OTEL_EXPORTER_OTLP_ENDPOINTOTLP telemetry (@assemblyline-agents/otlp)
OTEL_EXPORTER_OTLP_HEADERSOTLP telemetry (@assemblyline-agents/otlp)
OTEL_EXPORTER_OTLP_TIMEOUTOTLP telemetry (@assemblyline-agents/otlp)
OTEL_SERVICE_NAMEOTLP telemetry (@assemblyline-agents/otlp)

Server and auth (@assemblyline-agents/node)

VariableDefaultEffect
ASSEMBLY_LINE_ADMIN_TOKENunsetBearer token for control-plane routes (/manifest, /routes, /runs*). Production boot fails without this or a host auth policy.
ASSEMBLY_LINE_ENABLE_API_RUNSdisabledtrue/1 enables authenticated POST /runs in production (always on in dev mode).
ASSEMBLY_LINE_ENABLE_EVAL_RUNSdisabledtrue/1 lets authenticated POST /runs accept the eval block (tool stubs, approval auto-resolve, record-only delivery). Advertised as the eval-runs capability on /healthz. Always on in dev mode; enable on test environments, not production.
ASSEMBLY_LINE_SCHEDULER_SECRETunsetShared secret for /assembly-line/automations/tick (Authorization: Bearer or x-assembly-line-scheduler-secret, compared constant-time). Unset means dev-mode-only tick.
ASSEMBLY_LINE_HTTP_MAX_BODY_BYTES10485760 (10 MiB)Max HTTP request body size before parsing.
ASSEMBLY_LINE_PUBLIC_URLhttp://localhostPublic base URL; also the fallback for connection callbacks.
ASSEMBLY_LINE_CONNECTION_CALLBACK_BASE_URLfalls back to ASSEMBLY_LINE_PUBLIC_URLBase URL for OAuth/connection authorization callbacks.

Usage accounting

VariableDefaultEffect
ASSEMBLY_LINE_OPENAI_ADMIN_KEY / OPENAI_ADMIN_KEYunsetOpenAI organization Admin API key used only by authenticated POST /usage/reconcile. Never stored in the ledger.
OPENROUTER_MANAGEMENT_KEYunsetImports OpenRouter completed-day activity control totals.
ASSEMBLY_LINE_USAGE_RECONCILIATION_LAG_HOURS48OpenAI provider-settlement delay excluded from control-total imports.
ASSEMBLY_LINE_OPENAI_USAGE_PROJECT_IDSall accessibleComma-separated OpenAI project filter for provider usage and cost totals.
ASSEMBLY_LINE_OPENAI_USAGE_API_KEY_IDSall accessibleComma-separated OpenAI API-key ID filter for token-usage controls. OpenAI's Costs API does not expose this filter.
ASSEMBLY_LINE_OPENAI_AGENT_BY_PROJECT_IDunsetJSON object mapping a dedicated OpenAI project ID to a stable Assembly Line agent ID. This is the finest supported attribution for OpenAI cash controls.
ASSEMBLY_LINE_OPENAI_AGENT_BY_API_KEY_IDunsetJSON object mapping a dedicated OpenAI API-key ID to a stable Assembly Line agent ID for token-usage controls. API-key mapping wins over project mapping where the provider result contains both.
ASSEMBLY_LINE_OPENROUTER_API_KEY_HASHunsetOpenRouter activity filter for one API-key hash.
ASSEMBLY_LINE_OPENROUTER_CONTROL_AGENT_IDunsetAgent attribution applied to activity totals only when the configured activity filter is dedicated to that agent.

Usage accounting is observational: it does not reserve quota, reject requests, or estimate missing token/cash values. Provider transactions are stored in exact integer micro-dollars when the provider reports cash; otherwise cash is null with unavailable provenance. control_total rows are provider aggregate evidence and are excluded from the default transaction view so they cannot double count run receipts.

Concurrency and rate limiting

VariableDefaultEffect
ASSEMBLY_LINE_MAX_CONCURRENT_RUNSunlimited (16 in production Node hosts when unset)Max simultaneously executing brand-new runs. Accepted provider turns wait durably in their conversation mailbox; excess direct runs are rejected with RunCapacityError / HTTP 429. Resumes never queue.
ASSEMBLY_LINE_MAX_QUEUED_RUNS0Direct brand-new runs allowed to wait in the in-process semaphore before rejection. Accepted provider turns use the durable conversation mailbox instead.
ASSEMBLY_LINE_INGRESS_RATE_LIMIToffProvider-channel token bucket as capacity/refillPerSecond (e.g. 60/10).
ASSEMBLY_LINE_RUNS_RATE_LIMIToffPOST /runs token bucket in the same form. Also seeds the run-resume and run-control buckets unless those are configured separately through NodeRuntimeServerOptions.rateLimit.
ASSEMBLY_LINE_TRUST_PROXYofftrue (exactly) trusts the first X-Forwarded-For hop as the client address for rate-limit keying. Set it when the host sits behind a reverse proxy or load balancer; without it, all proxied traffic shares one rate-limit bucket keyed by the proxy's address.

Graceful shutdown

VariableDefaultEffect
ASSEMBLY_LINE_SHUTDOWN_TIMEOUT_MS30000Max wait for in-flight runs to drain during graceful shutdown.
ASSEMBLY_LINE_SIGNAL_HANDLERSonfalse/0 prevents listenNodeRuntime from installing SIGTERM/SIGINT graceful-shutdown handlers.

OTLP telemetry (@assemblyline-agents/otlp)

VariableDefaultEffect
OTEL_EXPORTER_OTLP_ENDPOINTrequired for createOtlpSinkFromConfigNon-secret OTLP/HTTP endpoint.
OTEL_EXPORTER_OTLP_HEADERSunsetCredential-scoped, comma-separated OTLP headers such as Authorization=Basic ....
OTEL_SERVICE_NAMEinstrumentation service nameService name override for exported spans.
OTEL_EXPORTER_OTLP_TIMEOUTsink defaultPer-export timeout in milliseconds.
ASSEMBLY_LINE_OTLP_BATCH_MAXsink defaultMax spans batched before an OTLP flush.
ASSEMBLY_LINE_OTLP_FLUSH_MSsink defaultFlush interval for the OTLP sink.

Durability workers and recovery

VariableDefaultEffect
ASSEMBLY_LINE_DELIVERY_WORKERonfalse/0 disables the delivery queue worker.
ASSEMBLY_LINE_SANDBOX_SYNC_WORKERonfalse/0 disables the sandbox-sync worker.
ASSEMBLY_LINE_CONVERSATION_TURN_WORKERonfalse/0 disables periodic mailbox recovery/polling. Newly accepted and terminally settled turns still request an immediate local drain.
ASSEMBLY_LINE_BACKGROUND_SUBAGENT_WORKERonfalse/0 disables periodic recovery/polling for queued background child runs. Newly delegated work still requests an immediate local drain.
ASSEMBLY_LINE_BACKGROUND_REVIEW_WORKERonfalse/0 disables processing queued background learning reviews.
ASSEMBLY_LINE_CONNECTION_EVENT_WORKERonfalse/0 disables provider event inbox delivery and periodic subscription reconciliation. Use only when another process owns that queue.
ASSEMBLY_LINE_RUN_RECOVERYonfalse/0 disables boot recovery and the periodic orphan sweep.
ASSEMBLY_LINE_RUN_HEARTBEAT_MS30000How often executing runs bump updatedAt to stay out of the orphan sweep.
ASSEMBLY_LINE_RUN_RECOVERY_INTERVAL_MS60000Orphan sweep interval; runs are only candidates after max(5min, 4x heartbeat) staleness.
ASSEMBLY_LINE_RUN_STALL_TIMEOUT_MS3600000Maximum active interval without durable progress. Persisted checkpoints, completed model responses, settled tools, and explicit ctx.reportProgress() calls renew the lease, so productive runs have no absolute duration cap. On expiry the in-flight work is aborted and the run fails with reason run.stalled. 0 disables. Paused runs start a fresh lease on resume.
ASSEMBLY_LINE_SCHEDULE_MAX_FAILURES5Consecutive dynamic-schedule failures before the schedule is auto-disabled (escalating backoff between attempts: 5 min doubling, capped at 6 h).

Delivery queue

VariableDefaultEffect
ASSEMBLY_LINE_DELIVERY_RETRY_ATTEMPTS2In-process send attempts before deferring to the durable queue.
ASSEMBLY_LINE_DELIVERY_RETRY_MIN_MS250Min backoff between in-process retries.
ASSEMBLY_LINE_DELIVERY_RETRY_MAX_MS5000Max backoff between in-process retries.
ASSEMBLY_LINE_DELIVERY_QUEUE_LEASE_MS60000Lease duration for a sending delivery before it is requeued. The inline sender's own lease is max(this, 120000) so it outlives the in-process retry envelope.
ASSEMBLY_LINE_DELIVERY_QUEUE_BATCH_SIZE10Deliveries leased per worker tick.
ASSEMBLY_LINE_DELIVERY_QUEUE_MAX_ATTEMPTS5Total attempts before a delivery goes terminally failed.
ASSEMBLY_LINE_DELIVERY_QUEUE_INTERVAL_MS15000Delivery worker tick interval.
ASSEMBLY_LINE_DELIVERY_FILE_MAX_COUNT10 (1-100)Max selected attachment files per delivery. Zero and other invalid values use the default.
ASSEMBLY_LINE_DELIVERY_FILE_MAX_BYTES52428800 (50 MiB)Max bytes per delivery file.
ASSEMBLY_LINE_DELIVERY_FILE_PREPARATION_TIMEOUT_MS60000Per-operation timeout for exact-path reads, durable workspace lookup, and private blob writes needed to recover incomplete artifact selections. Clamped to 10 minutes.

For sandbox-backed turns, only deliver_artifact selections are attached. A response containing sandbox:/workspace/... links does not select a file. With no selection, no workspace files are attached. Internal cache and tool byproduct paths are never eligible. The count and byte settings limit the selected attachment set; exceeding either limit fails delivery preparation instead of silently omitting a requested file. deliver_artifact stores the selected bytes as a private content-addressed blob before recording the durable selection. Final delivery therefore reads only immutable selection metadata and does not wait for a recursive workspace scan or asynchronous workspace sync.

Sandbox sync and hydration

VariableDefaultEffect
ASSEMBLY_LINE_SANDBOX_SYNC_INLINEfalseRun sandbox sync inline instead of through the background worker.
ASSEMBLY_LINE_SANDBOX_SYNC_LEASE_MS300000Lease duration for a claimed sync job.
ASSEMBLY_LINE_SANDBOX_SYNC_BATCH_SIZE10Sync jobs leased per worker tick.
ASSEMBLY_LINE_SANDBOX_SYNC_MAX_ATTEMPTS5Max attempts before a job is blocked for an operator.
ASSEMBLY_LINE_SANDBOX_SYNC_INTERVAL_MS30000Sandbox-sync worker tick interval.
ASSEMBLY_LINE_SANDBOX_CLEANUP_TIMEOUT_MS30000Maximum wait for provider retain/dispose after terminal ownership or sync completion. Expiry records failure and releases run admission; active-run sandboxes are not cleanup targets.

Versioned workspaces

VariableDefaultEffect
ASSEMBLY_LINE_WORKSPACE_MAX_FILES10000Maximum regular files accepted by sync, hydrate, checkpoint, restore, or fork.
ASSEMBLY_LINE_WORKSPACE_MAX_FILE_BYTES104857600Maximum bytes in one workspace file.
ASSEMBLY_LINE_WORKSPACE_MAX_TOTAL_BYTES1073741824Maximum logical bytes in one complete workspace version.
ASSEMBLY_LINE_WORKSPACE_MAX_CHECKPOINTS1000Maximum named checkpoints in one workspace.
ASSEMBLY_LINE_WORKSPACE_SEARCH_MAX_FILE_BYTES1048576Largest text file included in committed-workspace search.
ASSEMBLY_LINE_WORKSPACE_SEARCH_MAX_CHUNK_CHARS12000Maximum characters in one search chunk.
ASSEMBLY_LINE_WORKSPACE_SEARCH_CHUNK_OVERLAP_LINES5Lines repeated between adjacent search chunks.
ASSEMBLY_LINE_WORKSPACE_SEARCH_MAX_CHUNKS50000Maximum chunks built for one indexed version.
ASSEMBLY_LINE_WORKSPACE_RATE_WINDOW_MS60000Sliding per-runtime window for workspace operation limits.
ASSEMBLY_LINE_WORKSPACE_CHECKPOINTS_PER_WINDOW60Checkpoint attempts per workspace and window.
ASSEMBLY_LINE_WORKSPACE_RESTORES_PER_WINDOW20Restore attempts per workspace and window.
ASSEMBLY_LINE_WORKSPACE_FORKS_PER_WINDOW20Fork attempts per source workspace and window.
ASSEMBLY_LINE_WORKSPACE_HYDRATES_PER_WINDOW120Hydration attempts per workspace and window.
ASSEMBLY_LINE_WORKSPACE_SYNCS_PER_WINDOW120Sync attempts per workspace and window.

Workspace retention keeps the head, named checkpoints, fork sources, and a bounded automatic tail. The operator CLI uses authenticated deployed-agent routes:

CommandEffect
`workspaces liststatus
`workspaces checkpoint-createcheckpoint-list
`workspaces restorefork
`workspaces verifyverify-all
workspaces retention <id> --tail <n>Preview retention. Add --apply to prune metadata.
workspaces gc --min-age-ms <ms>Preview unreachable blobs. Add --apply to delete eligible objects.
`workspaces repair-blobrepair-head`

Committed search uses Postgres full-text ranking. Optional semantic search uses the root model plugin's declared embedding implementation and optional Postgres migration 021_assembly_line_workspace_embeddings_pgvector. Without it, search remains full-text with deterministic direct-content fallback for stale indexes.

Sandbox snapshots

VariableDefaultEffect
ASSEMBLY_LINE_SANDBOX_SNAPSHOT_MODEunset (policy default never)never, manual, on_failure, or always; overrides the declared snapshot policy.
ASSEMBLY_LINE_SANDBOX_SNAPSHOT_RETAIN_LASTunsetSnapshots to retain (non-negative integer); only read when a mode is set.
ASSEMBLY_LINE_SANDBOX_SNAPSHOT_REASONunsetFree-form snapshot reason label.

Model loop, memory, and logging

VariableDefaultEffect
ASSEMBLY_LINE_MODEL_CREDENTIALS_FILE<artifact>/model-credentials.enc.jsonEncrypted file-backed credential store used by interactive model plugins when the selected state adapter does not supply a durable model-credential store. Production encryption uses ASSEMBLY_LINE_CONNECTION_STORE_SECRET or ASSEMBLY_LINE_SECRET.
ASSEMBLY_LINE_CHECKPOINT_EVERY_ITERATIONtruePersist the harness continuation checkpoint after every model iteration (bounds crash loss to one in-flight model call).
ASSEMBLY_LINE_CHECKPOINT_MAX_ACTIVE_PER_RUN_NAME2Latest overwrite-style active checkpoints retained per (run_id, name) for live/running/waiting runs.
ASSEMBLY_LINE_CHECKPOINT_TERMINAL_TTL_MS604800000 (7 days)Default TTL used by checkpoint maintenance for completed/cancelled terminal-run checkpoints.
ASSEMBLY_LINE_CHECKPOINT_FAILED_TTL_MS1209600000 (14 days)TTL used by checkpoint maintenance for failed-run checkpoints.
ASSEMBLY_LINE_CHECKPOINT_SCHEDULED_TTL_MS86400000 (1 day)Aggressive TTL used by checkpoint maintenance for terminal runs produced by schedules.
ASSEMBLY_LINE_CHECKPOINT_BLOB_THRESHOLD_BYTES65536 (64 KiB)Checkpoints at or above this serialized size are gzip-compressed into the configured blob adapter, with SQL storing a pointer/hash/size record.
ASSEMBLY_LINE_TOOL_OUTPUT_MAX_CHARS8000Max serialized tool-output size handed back to the model before it becomes a { truncated, preview } object.
ASSEMBLY_LINE_MAX_MODEL_ITERATIONS25Default agent-loop iteration budget. A positive integer; agent/subagent maxIterations overrides it.
ASSEMBLY_LINE_OUTPUT_VALIDATION_MAX_RETRIES2Corrective model retries after a final response fails outputSchema. Validation retries share the active execution's iteration budget.
ASSEMBLY_LINE_MODEL_MAX_RETRIES2Retry attempts (beyond the initial one) for a model request that fails retryably, 408/429/5xx, overload, network errors, with jittered exponential backoff. Also forwarded to provider SDK clients. Fatal errors (bad key, invalid request) never retry.
ASSEMBLY_LINE_MODEL_TIMEOUT_MS600000HTTP request timeout per model call, forwarded to the provider SDK.
ASSEMBLY_LINE_MODEL_MAX_RETRY_DELAY_MS60000Cap on backoff delays and server-requested (Retry-After) waits between model retries.
ASSEMBLY_LINE_MODEL_STREAM_IDLE_TIMEOUT_MS300000Abort a model stream when no event arrives for this long (a stalled provider stream would otherwise hang the run). The aborted attempt is retried when the retry budget allows. 0 disables.
ASSEMBLY_LINE_TOOL_TIMEOUT_MS600000Default wall-clock deadline for the full tool operation, including sandbox acquisition/hydration and output conversion; a per-tool timeoutMs overrides it. The runtime aborts cooperative work and abandons unresolved acquisitions. 0 disables.
ASSEMBLY_LINE_BASH_TIMEOUT_MAX_MS600000Upper clamp on model-supplied bash timeouts. timeoutMs: 0/negative falls back to the 30 s default instead of disabling the timeout.
ASSEMBLY_LINE_EVAL_JUDGE_MODELagent modelDefault provider/model for eval cases with expect.judge; --judge-model takes precedence.
ASSEMBLY_LINE_MEMORY_EMBEDDINGS_ENABLEDon only when an embedding provider is configuredEnables embedding-backed semantic memory search.
ASSEMBLY_LINE_LOG_LEVELinfoStructured log verbosity: debug, info, warn, or error.
ASSEMBLY_LINE_BASH_TOOL_MODEenabledCore bash tool policy: enabled, approval, or disabled. Hosts can gate any tool by name with RuntimeOptions.coreToolPolicy (e.g. { write: "disabled" }).

Attachments and resource projection

VariableDefaultEffect
ASSEMBLY_LINE_ATTACHMENT_MAX_COUNT20 (max 100)Max inbound attachments per turn.
ASSEMBLY_LINE_ATTACHMENT_MAX_BYTES52428800 (50 MiB)Max bytes per attachment.
ASSEMBLY_LINE_ATTACHMENT_FETCH_TIMEOUT_MS30000 (1s-120s)Attachment download timeout.
ASSEMBLY_LINE_MODEL_IMAGE_MAX_COUNT20 (max 100)Max stored images hydrated as native model input per turn.
ASSEMBLY_LINE_MODEL_IMAGE_MAX_BYTES20971520 (20 MiB)Max decoded bytes for one native model image input.
ASSEMBLY_LINE_MODEL_IMAGE_MAX_TOTAL_BYTES52428800 (50 MiB)Max decoded image bytes supplied to one model turn.
ASSEMBLY_LINE_MODEL_HEIC_CONVERSION_ENABLEDtrueConvert stored HEIC/HEIF still images to transient JPEG model input without rewriting the source blob.
ASSEMBLY_LINE_MODEL_HEIC_CONVERSION_TIMEOUT_MS30000 (1s-120s)Worker deadline for one HEIC/HEIF conversion.
ASSEMBLY_LINE_MODEL_HEIC_JPEG_QUALITY0.9 (clamped 0.1-1.0)JPEG quality used for transient HEIC/HEIF model input.
ASSEMBLY_LINE_MODEL_HEIC_MAX_PIXELS64000000 (max 100 million)Maximum primary-image pixel count checked before full HEIC/HEIF decode.
ASSEMBLY_LINE_MODEL_VIDEO_MAX_COUNT4 (max 20)Max stored videos hydrated as native model input per turn.
ASSEMBLY_LINE_MODEL_VIDEO_MAX_BYTES52428800 (50 MiB)Max decoded bytes for one native model video input.
ASSEMBLY_LINE_MODEL_VIDEO_MAX_TOTAL_BYTES104857600 (100 MiB)Max decoded video bytes supplied to one model turn.
ASSEMBLY_LINE_ZIP_MAX_FILES500 (max 10000)Max entries when expanding a ZIP attachment.
ASSEMBLY_LINE_ZIP_MAX_TOTAL_BYTES104857600 (100 MiB)Max total uncompressed ZIP bytes.
ASSEMBLY_LINE_RESOURCE_PROJECTION_MAX_FILES8Max resources projected into a sandbox per request.
ASSEMBLY_LINE_RESOURCE_PROJECTION_MAX_BYTES262144 (256 KiB)Max bytes per projected resource.
ASSEMBLY_LINE_RESOURCE_PROJECTION_ALLOWED_KINDSall kindsComma-separated allowlist of projectable resource kinds.
ASSEMBLY_LINE_RESOURCE_PROJECTION_ALLOW_WRITABLEfalseAllow projecting writable resources.

Provider channel modules own authenticated attachment resolution. If a channel resolver declines an attachment, the runtime preserves metadata only; it does not fetch a fallback URL. Direct runtime.run() callers must set allowRemoteAttachments: true for a generic public HTTP(S) download. Every download resolves and rejects private/special-use addresses, revalidates each redirect, strips credentials on cross-origin redirects, applies byte/time limits, and bounds ZIP inflation to declared and configured quotas. Ordinary links in message text are unaffected.

Self-improvement, dynamic automations, dynamic connections

Runtime environment overrides for the resolved mutability policies.

VariableDefaultEffect
ASSEMBLY_LINE_SELF_IMPROVEMENTtrueEnable durable skill writes and background review.
ASSEMBLY_LINE_SKILLS_WRITE_APPROVALfalseSkill writes require approval.
ASSEMBLY_LINE_SELF_IMPROVEMENT_REVIEW_EVERY_TURNS10Review every N completed foreground turns.
ASSEMBLY_LINE_SELF_IMPROVEMENT_REVIEW_MIN_TOOL_CALLS5Immediately review runs with at least this many tool calls.
ASSEMBLY_LINE_SELF_IMPROVEMENT_REVIEW_MODELinheritReviewer model selection.
ASSEMBLY_LINE_EVOLUTION_TRACKINGtrueMirror accepted skill and memory changes into a runtime-owned Git audit repository. Requires an artifact root unless an embedder supplies a tracker.
ASSEMBLY_LINE_EVOLUTION_ROOT<artifactRoot>/evolutionWritable path for the Git audit repository. Put it on persistent storage when hosted history must survive replacement.
ASSEMBLY_LINE_AUTOMATIONS_DYNAMICtrueAgent may create dynamic time-based automations.
ASSEMBLY_LINE_AUTOMATIONS_APPROVALfalseDynamic automation changes require approval.
ASSEMBLY_LINE_CONNECTIONS_DYNAMICfalseAgent may persist dynamic connections.
ASSEMBLY_LINE_CONNECTIONS_APPROVALtrueSaving a dynamic connection requires approval.
ASSEMBLY_LINE_CONNECTIONS_ALLOWED_HOSTSmanifest allowedHosts or emptyComma-separated dynamic-connection host allowlist.

Scheduler

VariableDefaultEffect
ASSEMBLY_LINE_SCHEDULER_ENABLEDonfalse/0 disables the in-process scheduler loop.

Secrets and local store paths (@assemblyline-agents/node)

VariableDefaultEffect
ASSEMBLY_LINE_CONNECTION_STORE_SECRETunsetEncryption secret for file-backed connection credential stores. Must be at least 32 characters outside dev mode.
ASSEMBLY_LINE_SECRETunsetFallback for ASSEMBLY_LINE_CONNECTION_STORE_SECRET; the same 32-character minimum applies.
ASSEMBLY_LINE_CONNECTION_GRANTS_FILE<artifactRoot>/connection-grants.enc.jsonEncrypted connection-grant store path.
ASSEMBLY_LINE_CONNECTION_AUTH_SESSIONS_FILE<artifactRoot>/connection-auth-sessions.enc.jsonEncrypted authorization-session store path.
ASSEMBLY_LINE_CONNECTION_EVENTS_FILE<artifactRoot>/connection-events.enc.jsonEncrypted provider registration and durable inbound event inbox path.
ASSEMBLY_LINE_CONNECTION_DEFINITIONS_FILE<artifactRoot>/connection-definitions.jsonDynamic connection definition store path.
ASSEMBLY_LINE_SKILLS_FILE<artifactRoot>/skills-store.jsonDurable skill store path (file-backed state).
ASSEMBLY_LINE_LEARNING_FILE<artifactRoot>/learning-store.jsonSkill revision, pending-change, and background-review queue path.
ASSEMBLY_LINE_SCHEDULES_FILE<artifactRoot>/dynamic-schedules.jsonDynamic schedule store path (file-backed state).
ASSEMBLY_LINE_STATE_FILE<artifactRoot>/runtime-state.jsonFile-backed runtime state path.
ASSEMBLY_LINE_BLOB_ROOT<artifactRoot>/blobsLocal blob storage root.
ASSEMBLY_LINE_SANDBOX_ROOT<artifactRoot>/sandboxLocal sandbox root.

Build, deploy, and migrations (CLI and compiler)

VariableDefaultEffect
ASSEMBLY_LINE_ARTIFACT_PACKAGE_MODElocalrelease makes build artifacts reference published @assemblyline-agents/* versions instead of vendored workspace copies.
ASSEMBLY_LINE_DOCKER_IMAGEassembly-line:<buildRevision[0:12]>Docker deploy image tag after deploy.docker.image.
ASSEMBLY_LINE_DEPLOY_ENVdevelopmentDeployment environment after --env and before the resolved gateway profile option/default.
ASSEMBLY_LINE_MIGRATION_COMMANDunsetMigration runner executable for hosted deploys (after --migration-command).
ASSEMBLY_LINE_URLunsetDefault deployed-agent base URL for runs and agent CLI commands when --url is omitted.
ASSEMBLY_LINE_ALLOW_LOCAL_SANDBOX_IN_PRODUCTIONofftrue (exactly) acknowledges and permits an unconfined local sandbox on a non-local deploy target; otherwise planning fails before publish.

Built-in deploy options use the same precedence everywhere: CLI flag, environment variable, resolved gateway profile option, then provider default. A hosted plan warns when local state or local blob storage is selected because those files may disappear when a container is replaced.

During a hosted deploy the CLI sets these in the migration process environment (they are outputs, not knobs): ASSEMBLY_LINE_ARTIFACT_ROOT, ASSEMBLY_LINE_AGENT_REVISION, ASSEMBLY_LINE_DEPLOY_ENV, ASSEMBLY_LINE_MIGRATION_FILES.

Provider: Postgres (@assemblyline-agents/postgres)

VariableDefaultEffect
ASSEMBLY_LINE_POSTGRES_CONNECTION_ENVDATABASE_URLName of the env var holding the connection string.
ASSEMBLY_LINE_POSTGRES_SSL_REJECT_UNAUTHORIZEDtrue (Railway preset: false)Certificate verification is on by default when SSL is used; Railway's generated certificate is self-signed.
ASSEMBLY_LINE_AUTO_MIGRATEonfalse (exactly) skips running Assembly Line migrations at provider construction.

The neon, railway, and supabase state profiles all read DATABASE_URL by default and use the same Assembly Line schema and migrations. The railway profile additionally accepts databaseService (default Postgres) and provision (default true). During a Railway deploy, those options create or reuse that Railway database service and wire a private DATABASE_URL reference onto the application service. Named non-default services must already exist and use provision: false. The preset also defaults sslRejectUnauthorized to false for Railway's generated Postgres certificate; TLS remains enabled. For Supabase, use the direct URL on an IPv6-capable persistent host or the session-pooler URL when IPv4 is required.

Provider: Docker (@assemblyline-agents/docker)

VariableDefaultEffect
ASSEMBLY_LINE_DOCKER_NETWORKnoneContainer network for sandbox containers.
ASSEMBLY_LINE_DOCKER_CPUSunsetCPU limit passed to docker run.
ASSEMBLY_LINE_DOCKER_MEMORYunsetMemory limit passed to docker run.
ASSEMBLY_LINE_DOCKER_PULL_POLICYunset (Docker default)never, missing, or always.
ASSEMBLY_LINE_DOCKER_COMMAND_TIMEOUT_MSunsetTimeout for Docker CLI commands.

Provider: Hetzner VPS (@assemblyline-agents/vps)

Supported.

VariableDefaultEffect
ASSEMBLY_LINE_HETZNER_HOSTunsetNamed inventory host; deploy.hetzner.host takes precedence.
ASSEMBLY_LINE_HETZNER_HOSTS_FILEnearest assembly-line.hosts.jsonExplicit versioned named-host inventory path; deploy.hetzner.hostsFile takes precedence.
Inventory identityFileEnv variablerequiredLocal path to the SSH private key for that named host. The variable name is inventory-defined.
ASSEMBLY_LINE_VPS_BACKUP_BUCKETrequired in host Postgres modeS3-compatible database-backup bucket.
ASSEMBLY_LINE_VPS_BACKUP_REGIONrequired in host Postgres modeBackup bucket region.
ASSEMBLY_LINE_VPS_BACKUP_ACCESS_KEY_IDrequired in host Postgres modeBackup-only S3 access key.
ASSEMBLY_LINE_VPS_BACKUP_SECRET_ACCESS_KEYrequired in host Postgres modeBackup-only S3 secret key.
ASSEMBLY_LINE_VPS_BACKUP_ENDPOINTprovider defaultOptional custom S3-compatible endpoint.
ASSEMBLY_LINE_VPS_BACKUP_RETENTION_DAYS30Number of days retained by the daily S3-compatible backup job.
ASSEMBLY_LINE_VPS_ALERT_WEBHOOK_URLunsetOptional webhook receiving five-minute runtime, public readiness, Postgres, backup-verification, timer, and disk alerts. Checks still run and record failures in systemd/journald when unset.

The deploy.hetzner options are:

OptionDefaultEffect
hostrequiredNamed host from the versioned inventory.
ingress: { visibility }host default"public" derives a hostname from the agent ID, environment, and host namespace; "private" creates no public route.
expectedRegionunsetEmits a latency warning when inventory reports a different provider region.
hostsFileinventory discoveryExplicit inventory path.
resources: { cpus, memory, pids }{ cpus: 1, memory: "1g", pids: 256 }Runtime container limits.
database: { mode }"external""external" uses DATABASE_URL; "host" provisions an isolated database and role in managed host Postgres.
monitoring: { enabled, diskFreeMinimumMb }{ enabled: true, diskFreeMinimumMb: 5120 }Installs the deployment health timer. A configured alert webhook receives failures; local checks do not depend on it.
caddyImagecaddy:2.10.0-alpineExplicit non-latest edge image.
postgresImagepostgres:17.10-alpineExplicit numeric-major Postgres image. An image mismatch requires the VPS plugin's reviewed hostPostgresUpgradeScript() workflow.
awsCliImageamazon/aws-cli:2.17.57Explicit non-latest backup client image.

Each host inventory entry requires ingress: { baseDomain, defaultVisibility }. Create one wildcard DNS record for *.<baseDomain> pointing at the host. The default environment receives <agent-id>.<baseDomain>; alternate environments receive <agent-id>-<environment>.<baseDomain>.

Lifecycle commands add deploy --prepare-only, deploy --activate, deploy --rollback, and deploy --ingress-only. Operational commands are secrets diff and agent quiesce|resume|status; host bootstrap and database transfer/upgrade are package-owned operator APIs, not framework CLI branches.

Provider: E2B (@assemblyline-agents/e2b)

VariableDefaultEffect
ASSEMBLY_LINE_E2B_TIMEOUT_MSSDK defaultSandbox lifetime timeout.
ASSEMBLY_LINE_E2B_RETAIN_TIMEOUT_MSSDK defaultRetain/pause timeout for dirty sandboxes.
ASSEMBLY_LINE_E2B_REQUEST_TIMEOUT_MSSDK defaultPer-request timeout.
ASSEMBLY_LINE_E2B_PAUSE_KEEP_MEMORYSDK defaultKeep memory when pausing.
ASSEMBLY_LINE_E2B_ALLOW_INTERNET_ACCESSfalseSet to true to allow sandbox internet egress by default. An explicit agent profile overrides it.

sandbox/*.yaml env arrays are global passthrough variables. Validation and the Node runtime reject host/control-plane credentials such as database URLs, Railway/Hetzner credentials, E2B control keys, R2 secret keys, Photon tokens, admin tokens, and OTLP auth headers in this list. Supply capability credentials through typed connections or the per-command shell(..., { env }) scope.

Provider: Modal (@assemblyline-agents/modal)

Preview: this surface may change without notice.

VariableDefaultEffect
ASSEMBLY_LINE_MODAL_TIMEOUT_MSSDK defaultSandbox timeout.
ASSEMBLY_LINE_MODAL_WAIT_READYSDK defaultWait for the sandbox to be ready before use.

Provider: Daytona (@assemblyline-agents/daytona)

VariableDefaultEffect
ASSEMBLY_LINE_DAYTONA_CREATE_TIMEOUT_SECONDSSDK defaultSandbox creation timeout.
ASSEMBLY_LINE_DAYTONA_LIFECYCLE_TIMEOUT_SECONDSSDK defaultLifecycle operation timeout.
ASSEMBLY_LINE_DAYTONA_AUTO_STOP_MINUTESSDK defaultAuto-stop interval.
ASSEMBLY_LINE_DAYTONA_AUTO_ARCHIVE_MINUTESSDK defaultAuto-archive interval.
ASSEMBLY_LINE_DAYTONA_AUTO_DELETE_MINUTESSDK defaultAuto-delete interval.
ASSEMBLY_LINE_DAYTONA_EPHEMERALtrueOnly the literal string false disables ephemeral sandboxes.
ASSEMBLY_LINE_DAYTONA_NETWORK_BLOCK_ALLSDK defaultBlock all sandbox network egress.
ASSEMBLY_LINE_DAYTONA_NETWORK_ALLOW_LISTunsetNetwork allowlist.
ASSEMBLY_LINE_DAYTONA_DOMAIN_ALLOW_LISTunsetDomain allowlist.
ASSEMBLY_LINE_ALLOW_LOCAL_SANDBOX_FALLBACKofftrue (exactly) allows local fallback when the Daytona client is absent (dev/test only).

Computer Use Relay (@assemblyline-agents/computer-use)

VariableDefaultEffect
ASSEMBLY_LINE_COMPUTER_USE_BINDINGrequiredDevice-scoped encrypted binding generated when the Mac host pairs with the deployment. Keep it in the runtime secret store.
ASSEMBLY_LINE_COMPUTER_USE_RELAY_URLhttps://computer-use.artificialillumination.co/v1Relay base URL. Set it only for a self-hosted relay.

See Remote Computer Use for pairing, write policy, and relay trust boundaries.

Provider: Microsoft Teams (@assemblyline-agents/teams)

VariableDefaultEffect
ASSEMBLY_LINE_TEAMS_ALLOWED_TENANTSall tenantsComma-separated tenant ID allowlist.
ASSEMBLY_LINE_TEAMS_ALLOWED_SERVICE_URLSall URLsComma-separated service-URL prefix allowlist.
ASSEMBLY_LINE_TEAMS_OPENID_METADATA_URLBot Framework defaultOverride for the OpenID metadata URL used in JWT verification.

On this page