Delta Agents logoDelta Agents

Configuration

All engine configuration options with defaults

Engine configuration

Passed to createDeltaEngine().

OptionTypeDefaultDescription
storeStoragePortIn-memory storePersistence adapter for tasks, checkpoints, and messages.
endpointstringOpenAI endpointDefault base URL for model API calls.
apiKeystringNoneDefault API key for model calls.
optionsModelOptionsNoneDefault provider options (temperature, topP, maxTokens).
modelsModelDef[]NoneNamed model configurations. At least one must have default: true.
maxStepsPerTasknumber100Maximum reasoner iterations per task.
providerRetryPartial<RetryOptions>3 attempts, 200ms base, 5s capRetry configuration for model API calls.
systemPromptstringNoneGlobal org instructions for all agents, baked into the cacheable system prompt prefix.
timezonestringSystem timezoneTimezone for humanized time in reasoner messages.
loggerLoggerConfigDev mode, info levelPer-engine logger configuration.
cacheCacheConfig1000 entries, 5min TTLRead-through cache tuning.
diagnosticsDiagnosticsConfigAll disabledPer-module diagnostic event toggles.
commitContextLimitnumber10Recent commits to inject into agent context per turn.
commitMaxRetriesnumber3Max reasoner attempts in commit step before auto-commit.
toolsToolsConfigNoneBuiltin and custom tool declarations.
mailbox{ inboxCap?: number }UnboundedPer-agent inbox capacity cap.
guidancebooleantrueWarning-band advisory lines (risk, trust, budget, surprise) that reach the model so it can self-correct before escalation thresholds fire.
maxInvalidDecisionRetriesnumber3Max consecutive invalid model decisions before the task fails. 0 fails immediately.

ModelDef

FieldTypeRequiredDescription
namestringYesIdentifier agents reference via agent.model.
modelstringYesModel ID sent to the provider (e.g. "gpt-4o").
defaultbooleanNoExactly one must be true. Agents without a model use this.
endpointstringNoPer-model base URL override.
apiKeystringNoPer-model API key override.
optionsModelOptionsNoPer-model provider options merged over engine-level options.
visionbooleanNoDeclares vision capability.
audiobooleanNoDeclares audio capability.

ToolsConfig

FieldTypeDescription
builtinBuiltinToolsConfigFramework-provided tools to enable.
customTool[]Developer-authored tools.

BuiltinToolsConfig

FieldTypeDescription
documentExtractboolean | DocumentExtractOptionsEnable document extraction tool.
webSearchWebSearchOptionsEnable web search tool (requires explicit apiKey).

Provider retry options

FieldTypeDefaultDescription
maxAttemptsnumber3Maximum retry attempts per reasoner call.
baseDelayMsnumber200Base delay before first retry (jittered exponential backoff).
maxDelayMsnumber5000Maximum delay cap.

Send input defaults

FieldDefault
budget.tokens10,000
budget.durationMs300,000

Cache configuration

FieldTypeDefaultDescription
maxEntriesnumber1000Maximum cache entries before LRU eviction.
ttlMsnumber300,000Sliding TTL in milliseconds (5 minutes).

On this page