AAI SDK
    Preparing search index...

    Module runtime

    Runtime barrel — the full Node.js runtime engine for running agents.

    Used by aai-server (sandbox) and aai-cli (dev server).

    Exports are enumerated explicitly (no export *) so the public surface is deliberate: a new symbol in one of these modules does not ship as public API until it is added here. The user-facing core is createRuntime and its option/handle types plus a handful of helpers (safeFetch, withHostCredentialFallback, createPostgresDb, requiredProviderEnvVars, resolveLlm, resolveAllBuiltins); most of the rest is platform plumbing kept importable for aai-server/aai-cli and tagged @internal at its declaration site.

    ExecuteToolOptions
    AgentEnv
    AgentRuntime
    AgentServer
    BuiltinToolOptions
    CloseableDb
    CreatePostgresDbOptions
    ExecuteTool
    HostCredentialEnv
    LogContext
    LogFn
    Logger
    LogLevel
    ProviderEnv
    ReservedDb
    ResolvedBuiltins
    RunCodeExecutor
    Runtime
    RuntimeOptions
    S2SConfig
    ServerOptions
    SessionRuntime
    SessionStartOptions
    ToolDefRecord
    CONTAINED_ENV
    DEFAULT_LISTEN_HOST
    safeFetch
    createPostgresDb
    createRuntime
    createServer
    requiredProviderEnvVars
    resolveAllBuiltins
    resolveLlm
    withHostCredentialFallback