OptionalanthropicAnthropic API key.
OptionalapiOpenAI API key. Historical dashboard field name.
OptionalbraveOptionalcacheWhether to use disk caching. Default: true.
OptionalcacheBase directory for the disk cache. Default: '.paracosm/cache'.
OptionalcohereOptionalfirecrawlOptionalgenerateCustom generateText function (overrides provider/model).
OptionalmaxMax web searches during seed ingestion. Default: 5.
OptionalmodelModel name for hook generation.
OptionalonProgress callback for each hook being generated.
OptionalproviderLLM provider to use for hook generation.
OptionalrestoreRestore a saved compiled scenario instead of compiling it: the server's
boot restore sets this for each saved scenario. When hookSources were
generated under the current compile schema version, every hook is
rebuilt from them alone, a record that names no hook included;
otherwise, when the disk cache holds one or more hooks of this exact
scenario JSON that restore, from those under the model that wrote them.
Either way no provider is resolved and no model is called: a hook that
source does not hold, or holds in a form the hook runner refuses, gets
the compiler's own fallback for it, as the compile that saved the
scenario did. With neither, the scenario is compiled as the other
options say.
OptionalseedPrompt, brief, or document text to ingest into the scenario's knowledge bundle via LLM extraction + optional web search.
OptionalseedURL to fetch and ingest as source material. If set, seedText is ignored.
OptionalserperOptionalstayKeep every model call on the resolved provider: AgentOS's fallback
chain to another provider is off (fallbackProviders: []), and a
provider with no key of its own is not swapped for another provider's
environment key. The hosted demo sets it on every call it runs. Default
false: a call on the environment's keys falls back as AgentOS's default
chain does.
OptionaltavilyOptionaltelemetryOptional telemetry sink that collects per-hook attempt counts and any exhausted-retry fallbacks. Use when you want to surface compile reliability in a dashboard or snapshot into /retry-stats. See CompilerTelemetry.
OptionalwebEnable live web search during seed ingestion. Requires search API keys. Default: true.
Options for compileScenario().