@ax-llm/ax 19.0.25 → 19.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.cts CHANGED
@@ -423,6 +423,13 @@ type AxModelUsage = {
423
423
  tokens?: AxTokenUsage;
424
424
  citations?: AxCitation[];
425
425
  };
426
+ type AxDebugChatResponseUsage = AxModelUsage & {
427
+ systemPromptCharacters?: number;
428
+ exampleChatContextCharacters?: number;
429
+ mutableChatContextCharacters?: number;
430
+ chatContextCharacters?: number;
431
+ totalPromptCharacters?: number;
432
+ };
426
433
  type AxChatResponse = {
427
434
  sessionId?: string;
428
435
  remoteId?: string;
@@ -674,7 +681,7 @@ type AxLoggerData = {
674
681
  }[];
675
682
  } | {
676
683
  name: 'ChatResponseUsage';
677
- value: AxModelUsage;
684
+ value: AxDebugChatResponseUsage;
678
685
  } | {
679
686
  name: 'ChatResponseCitations';
680
687
  value: AxCitation[];
@@ -2014,6 +2021,14 @@ type AxInputFunctionType = (AxFunction | {
2014
2021
  toFunction: () => AxFunction | AxFunction[];
2015
2022
  })[];
2016
2023
 
2024
+ type AxPromptMetrics = {
2025
+ systemPromptCharacters: number;
2026
+ exampleChatContextCharacters: number;
2027
+ mutableChatContextCharacters: number;
2028
+ chatContextCharacters: number;
2029
+ totalPromptCharacters: number;
2030
+ };
2031
+
2017
2032
  interface AxGEPAEvaluationBatch<Traj = any, Out = any> {
2018
2033
  outputs: Out[];
2019
2034
  scores: number[];
@@ -2892,6 +2907,7 @@ interface AxResponseHandlerArgs<T> {
2892
2907
  strictMode?: boolean;
2893
2908
  span?: Span;
2894
2909
  logger: AxLoggerFunction;
2910
+ debugPromptMetrics?: Readonly<AxPromptMetrics>;
2895
2911
  }
2896
2912
  interface AxStreamingEvent<T> {
2897
2913
  event: 'delta' | 'done' | 'error';
@@ -2926,6 +2942,7 @@ declare class AxGen<IN = any, OUT extends AxGenOut = any> extends AxProgram<IN,
2926
2942
  setInstruction(instruction: string): void;
2927
2943
  getInstruction(): string | undefined;
2928
2944
  clearInstruction(): void;
2945
+ private renderPromptWithMetricsForInternalUse;
2929
2946
  private renderPromptForInternalUse;
2930
2947
  /** @internal */
2931
2948
  _measurePromptCharsForInternalUse(ai: Readonly<AxAIService>, values: IN | AxMessage<IN>[], options?: Readonly<Partial<Omit<AxProgramForwardOptions<any>, 'functions'>>>): Promise<number>;
@@ -3095,6 +3112,12 @@ type AxChatRequestChatPrompt = Writeable<AxChatRequest['chatPrompt'][0]>;
3095
3112
  type ChatRequestUserMessage = Exclude<Extract<AxChatRequestChatPrompt, {
3096
3113
  role: 'user';
3097
3114
  }>['content'], string>;
3115
+ type AxRenderedPrompt = {
3116
+ chatPrompt: Extract<AxChatRequest['chatPrompt'][number], {
3117
+ role: 'user' | 'system' | 'assistant' | 'function';
3118
+ }>[];
3119
+ promptMetrics: AxPromptMetrics;
3120
+ };
3098
3121
  type AxFieldTemplateFn = (field: Readonly<AxField>, value: Readonly<AxFieldValue>) => ChatRequestUserMessage;
3099
3122
  declare class AxPromptTemplate {
3100
3123
  private sig;
@@ -3122,10 +3145,7 @@ declare class AxPromptTemplate {
3122
3145
  * Uses stable sort to preserve relative order among cached and non-cached fields.
3123
3146
  */
3124
3147
  private sortFieldsCachedFirst;
3125
- /**
3126
- * Build legacy prompt format (backward compatible)
3127
- */
3128
- private buildLegacyPrompt;
3148
+ private getFunctions;
3129
3149
  /**
3130
3150
  * Build XML-structured prompt with format protection
3131
3151
  */
@@ -3135,7 +3155,7 @@ declare class AxPromptTemplate {
3135
3155
  */
3136
3156
  private buildIdentitySection;
3137
3157
  /**
3138
- * Build task definition section: signature description / user-added prompt.
3158
+ * Build task definition section from the signature description.
3139
3159
  * Returns empty string if no description is set.
3140
3160
  */
3141
3161
  private buildTaskDefinitionSection;
@@ -3151,19 +3171,20 @@ declare class AxPromptTemplate {
3151
3171
  * Build output fields section
3152
3172
  */
3153
3173
  private buildOutputFieldsSection;
3154
- /**
3155
- * Build formatting rules section with protection
3156
- */
3157
- private buildFormattingRulesSection;
3158
3174
  private renderSingleValueUserContent;
3159
- render: <T = any>(values: T | ReadonlyArray<AxMessage<T>>, // Allow T or array of AxMessages
3160
- { examples, demos, }: Readonly<{
3175
+ private renderInternal;
3176
+ render: <T = any>(values: T | ReadonlyArray<AxMessage<T>>, options: Readonly<{
3161
3177
  skipSystemPrompt?: boolean;
3162
3178
  examples?: Record<string, AxFieldValue>[];
3163
3179
  demos?: Record<string, AxFieldValue>[];
3164
3180
  }>) => Extract<AxChatRequest["chatPrompt"][number], {
3165
3181
  role: "user" | "system" | "assistant" | "function";
3166
3182
  }>[];
3183
+ renderWithMetrics: <T = any>(values: T | ReadonlyArray<AxMessage<T>>, options: Readonly<{
3184
+ skipSystemPrompt?: boolean;
3185
+ examples?: Record<string, AxFieldValue>[];
3186
+ demos?: Record<string, AxFieldValue>[];
3187
+ }>) => AxRenderedPrompt;
3167
3188
  /**
3168
3189
  * Render prompt with examples/demos as alternating user/assistant message pairs.
3169
3190
  * This follows the best practices for few-shot prompting in modern LLMs.
@@ -7335,7 +7356,6 @@ interface AxFieldProcessor {
7335
7356
  type AxFunctionResultFormatter = (result: unknown) => string;
7336
7357
  declare const axGlobals: {
7337
7358
  signatureStrict: boolean;
7338
- useStructuredPrompt: boolean;
7339
7359
  tracer: Tracer | undefined;
7340
7360
  meter: Meter | undefined;
7341
7361
  logger: AxLoggerFunction | undefined;
@@ -10028,18 +10048,20 @@ type AxAgentStructuredClarification = {
10028
10048
  choices?: AxAgentClarificationChoice[];
10029
10049
  [key: string]: unknown;
10030
10050
  };
10051
+ type AxAgentGuidanceLogEntry = {
10052
+ turn: number;
10053
+ guidance: string;
10054
+ triggeredBy?: string;
10055
+ };
10031
10056
  type AxAgentStateActionLogEntry = Pick<ActionLogEntry, 'turn' | 'code' | 'output' | 'actorFieldsOutput' | 'tags' | 'summary' | 'producedVars' | 'referencedVars' | 'stateDelta' | 'stepKind' | 'replayMode' | 'rank' | 'tombstone'>;
10032
10057
  type AxAgentStateCheckpointState = CheckpointSummaryState;
10033
10058
  type AxAgentStateRuntimeEntry = AxCodeSessionSnapshotEntry;
10034
10059
  type AxActorModelPolicyEntryBase = {
10035
10060
  model: string;
10036
10061
  namespaces?: readonly string[];
10037
- abovePromptChars?: number;
10038
10062
  aboveErrorTurns?: number;
10039
10063
  };
10040
10064
  type AxActorModelPolicyEntry = (AxActorModelPolicyEntryBase & {
10041
- abovePromptChars: number;
10042
- }) | (AxActorModelPolicyEntryBase & {
10043
10065
  aboveErrorTurns: number;
10044
10066
  }) | (AxActorModelPolicyEntryBase & {
10045
10067
  namespaces: readonly string[];
@@ -10067,11 +10089,11 @@ type AxAgentState = {
10067
10089
  runtimeBindings: Record<string, unknown>;
10068
10090
  runtimeEntries: AxAgentStateRuntimeEntry[];
10069
10091
  actionLogEntries: AxAgentStateActionLogEntry[];
10092
+ guidanceLogEntries?: AxAgentGuidanceLogEntry[];
10070
10093
  discoveryPromptState?: AxAgentDiscoveryPromptState;
10071
10094
  checkpointState?: AxAgentStateCheckpointState;
10072
10095
  provenance: Record<string, RuntimeStateVariableProvenance>;
10073
10096
  actorModelState?: AxAgentStateActorModelState;
10074
- guidanceToken?: string;
10075
10097
  };
10076
10098
  declare class AxAgentClarificationError extends Error {
10077
10099
  readonly question: string;
@@ -10144,6 +10166,7 @@ type AxAgentEvalFunctionCall = {
10144
10166
  };
10145
10167
  type AxAgentEvalPredictionShared = {
10146
10168
  actionLog: string;
10169
+ guidanceLog?: string;
10147
10170
  functionCalls: AxAgentEvalFunctionCall[];
10148
10171
  toolErrors: string[];
10149
10172
  turnCount: number;
@@ -10240,10 +10263,10 @@ type AxAgentOptions<IN extends AxGenIn = AxGenIn> = Omit<AxProgramForwardOptions
10240
10263
  };
10241
10264
  /** Code runtime for the REPL loop (default: AxJSRuntime). */
10242
10265
  runtime?: AxCodeRuntime;
10266
+ /** Actor prompt verbosity and scaffolding level (default: 'default'). */
10267
+ promptLevel?: 'default' | 'detailed';
10243
10268
  /** Cap on recursive sub-agent calls (default: 50). */
10244
10269
  maxSubAgentCalls?: number;
10245
- /** Maximum characters for RLM runtime payloads (default: 5000). */
10246
- maxRuntimeChars?: number;
10247
10270
  /** Maximum parallel llmQuery calls in batched mode (default: 8). */
10248
10271
  maxBatchedLlmQueryConcurrency?: number;
10249
10272
  /** Maximum Actor turns before forcing Responder (default: 10). */
@@ -10264,11 +10287,9 @@ type AxAgentOptions<IN extends AxGenIn = AxGenIn> = Omit<AxProgramForwardOptions
10264
10287
  inputUpdateCallback?: AxAgentInputUpdateCallback<IN>;
10265
10288
  /** Sub-query execution mode (default: 'simple'). */
10266
10289
  mode?: 'simple' | 'advanced';
10267
- /** Prompt detail level for the root Actor (default: 'detailed'). */
10268
- promptLevel?: AxActorPromptLevel;
10269
10290
  /**
10270
- * Ordered Actor-model overrides keyed by rendered prompt size or consecutive
10271
- * error turns. Later entries take precedence over earlier ones.
10291
+ * Ordered Actor-model overrides keyed by consecutive error turns or namespace matches.
10292
+ * Later entries take precedence over earlier ones.
10272
10293
  */
10273
10294
  actorModelPolicy?: AxActorModelPolicy;
10274
10295
  /** Default forward options for recursive llmQuery sub-agent calls. */
@@ -10297,6 +10318,7 @@ type AxAgentJudgeOutput = {
10297
10318
  clarification?: AxFieldValue;
10298
10319
  finalOutput?: AxFieldValue;
10299
10320
  actionLog: string;
10321
+ guidanceLog?: string;
10300
10322
  functionCalls: AxFieldValue;
10301
10323
  toolErrors: string[];
10302
10324
  turnCount: number;
@@ -10316,12 +10338,10 @@ type AxNormalizedAgentEvalDataset<IN = any> = {
10316
10338
  type AxAgentRecursionOptions = Partial<Omit<AxProgramForwardOptions<string>, 'functions'>> & {
10317
10339
  /** Maximum nested recursion depth for llmQuery sub-agent calls. */
10318
10340
  maxDepth?: number;
10319
- /** Prompt detail level for recursive child agents (default: inherits parent). */
10320
- promptLevel?: AxActorPromptLevel;
10321
10341
  };
10322
- type AxActorPromptLevel = 'detailed' | 'basic';
10323
10342
  type AxResolvedContextPolicy = {
10324
10343
  preset: AxContextPolicyPreset;
10344
+ budget: AxContextPolicyBudget;
10325
10345
  summarizerOptions?: Omit<AxProgramForwardOptions<string>, 'functions'>;
10326
10346
  actionReplay: 'full' | 'adaptive' | 'minimal' | 'checkpointed';
10327
10347
  recentFullActions: number;
@@ -10343,10 +10363,11 @@ type AxResolvedContextPolicy = {
10343
10363
  enabled: boolean;
10344
10364
  triggerChars?: number;
10345
10365
  };
10366
+ targetPromptChars: number;
10367
+ maxRuntimeChars: number;
10346
10368
  };
10347
10369
  type AxResolvedActorModelPolicyEntry = {
10348
10370
  model: string;
10349
- abovePromptChars?: number;
10350
10371
  aboveErrorTurns?: number;
10351
10372
  namespaces?: string[];
10352
10373
  };
@@ -10356,11 +10377,11 @@ type AxPreparedRestoredState = {
10356
10377
  runtimeBindings: Record<string, unknown>;
10357
10378
  runtimeEntries: AxAgentStateRuntimeEntry[];
10358
10379
  actionLogEntries: ActionLogEntry[];
10380
+ guidanceLogEntries: AxAgentGuidanceLogEntry[];
10359
10381
  discoveryPromptState?: AxAgentDiscoveryPromptState;
10360
10382
  checkpointState?: AxAgentStateCheckpointState;
10361
10383
  provenance: Record<string, RuntimeStateVariableProvenance>;
10362
10384
  actorModelState?: AxAgentStateActorModelState;
10363
- guidanceToken?: string;
10364
10385
  };
10365
10386
  type AxAgentRuntimeExecutionContext = {
10366
10387
  effectiveContextConfig: AxResolvedContextPolicy;
@@ -10385,7 +10406,7 @@ type AxAgentRuntimeExecutionContext = {
10385
10406
  };
10386
10407
  /**
10387
10408
  * A split-architecture AI agent that uses two AxGen programs:
10388
- * - **Actor**: generates code to gather information (inputs, actionLog -> code)
10409
+ * - **Actor**: generates code to gather information (inputs, guidanceLog, actionLog -> code)
10389
10410
  * - **Responder**: synthesizes the final answer from actorResult payload (inputs, actorResult -> outputs)
10390
10411
  *
10391
10412
  * The execution loop is managed by TypeScript, not the LLM:
@@ -10414,7 +10435,6 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
10414
10435
  private excludedAgents;
10415
10436
  private excludedAgentFunctions;
10416
10437
  private actorDescription?;
10417
- private actorPromptLevel?;
10418
10438
  private actorModelPolicy?;
10419
10439
  private responderDescription?;
10420
10440
  private judgeOptions?;
@@ -10456,7 +10476,6 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
10456
10476
  private _applyRecursiveActorInstruction;
10457
10477
  private _renderActorDefinition;
10458
10478
  private _buildActorInstruction;
10459
- private _applyActorInstruction;
10460
10479
  private _setRecursiveInstructionSlot;
10461
10480
  private _copyRecursiveOptimizationStateTo;
10462
10481
  constructor({ ai, judgeAI, agentIdentity, agentModuleNamespace, signature, }: Readonly<{
@@ -10671,10 +10690,10 @@ interface AxCodeSession {
10671
10690
  * debugging-friendly replay until prompt pressure becomes real.
10672
10691
  */
10673
10692
  type AxContextPolicyPreset = 'full' | 'adaptive' | 'lean' | 'checkpointed';
10693
+ type AxContextPolicyBudget = 'compact' | 'balanced' | 'expanded';
10674
10694
  /**
10675
10695
  * Public context policy for the Actor loop.
10676
- * Presets provide the common behavior; top-level toggles plus `state`,
10677
- * `checkpoints`, and `expert` override specific pieces.
10696
+ * Users choose replay style via `preset` and overall prompt budget via `budget`.
10678
10697
  */
10679
10698
  interface AxContextPolicyConfig {
10680
10699
  /**
@@ -10686,61 +10705,8 @@ interface AxContextPolicyConfig {
10686
10705
  * - `checkpointed`: keep full replay until the rendered actor prompt crosses a threshold, then replace older successful turns with a checkpoint summary
10687
10706
  */
10688
10707
  preset?: AxContextPolicyPreset;
10689
- /**
10690
- * Default options for the internal checkpoint summarizer AxGen program.
10691
- * `functions` are not supported, `maxSteps` is forced to `1`, and `mem`
10692
- * is never propagated so the summarizer stays stateless.
10693
- */
10694
- summarizerOptions?: Omit<AxProgramForwardOptions<string>, 'functions'>;
10695
- /**
10696
- * Prune error entries after a successful (non-error) turn.
10697
- *
10698
- * Defaults by preset:
10699
- * - `full`: false
10700
- * - `adaptive`: true
10701
- * - `lean`: true
10702
- * - `checkpointed`: false
10703
- */
10704
- pruneErrors?: boolean;
10705
- /** Runtime-state visibility controls. */
10706
- state?: {
10707
- /** Include a compact live runtime state block ahead of the action log. */
10708
- summary?: boolean;
10709
- /** Expose `inspect_runtime()` to the actor and show the large-prompt hint. */
10710
- inspect?: boolean;
10711
- /** Full rendered actor-prompt char count above which the actor is reminded to call `inspect_runtime()`. */
10712
- inspectThresholdChars?: number;
10713
- /** Maximum number of runtime state entries to render in the summary block. */
10714
- maxEntries?: number;
10715
- /** Maximum total characters to replay in the runtime state summary block. */
10716
- maxChars?: number;
10717
- };
10718
- /** Rolling checkpoint summary controls. */
10719
- checkpoints?: {
10720
- /** Enable checkpoint summaries for older successful turns. */
10721
- enabled?: boolean;
10722
- /** Full rendered actor-prompt char count above which a checkpoint summary is generated. */
10723
- triggerChars?: number;
10724
- };
10725
- /** Expert-level overrides for the preset-derived internal policy. */
10726
- expert?: {
10727
- /** Controls how prior actor actions are replayed before checkpoint compression. */
10728
- replay?: 'full' | 'adaptive' | 'minimal' | 'checkpointed';
10729
- /** Number of most-recent actions that should always remain fully rendered. */
10730
- recentFullActions?: number;
10731
- /** Rank-based pruning of low-value actions. Off by default for built-in presets. */
10732
- rankPruning?: {
10733
- enabled?: boolean;
10734
- minRank?: number;
10735
- };
10736
- /**
10737
- * Replace resolved errors with compact tombstones before pruning.
10738
- * When configured with options, they apply to the internal tombstone
10739
- * summarizer AxGen program. `functions` are not supported, `maxSteps`
10740
- * is forced to `1`, and `mem` is never propagated.
10741
- */
10742
- tombstones?: boolean | Omit<AxProgramForwardOptions<string>, 'functions'>;
10743
- };
10708
+ /** Overall prompt budget and compression aggressiveness. */
10709
+ budget?: AxContextPolicyBudget;
10744
10710
  }
10745
10711
  /**
10746
10712
  * RLM configuration for AxAgent.
@@ -10748,17 +10714,14 @@ interface AxContextPolicyConfig {
10748
10714
  interface AxRLMConfig {
10749
10715
  /** Input fields holding long context (will be removed from the LLM prompt). */
10750
10716
  contextFields: string[];
10717
+ /** Actor prompt verbosity and scaffolding level (default: 'default'). */
10718
+ promptLevel?: 'default' | 'detailed';
10751
10719
  /** Input fields to pass directly to subagents, bypassing the top-level LLM. */
10752
10720
  sharedFields?: string[];
10753
10721
  /** Code runtime for the REPL loop (default: AxJSRuntime). */
10754
10722
  runtime?: AxCodeRuntime;
10755
10723
  /** Cap on recursive sub-agent calls (default: 50). */
10756
10724
  maxSubAgentCalls?: number;
10757
- /**
10758
- * Maximum characters for RLM runtime payloads (default: 5000).
10759
- * Applies to llmQuery context and code execution output.
10760
- */
10761
- maxRuntimeChars?: number;
10762
10725
  /** Maximum parallel llmQuery calls in batched mode (default: 8). */
10763
10726
  maxBatchedLlmQueryConcurrency?: number;
10764
10727
  /** Maximum Actor turns before forcing Responder (default: 10). */
@@ -10786,7 +10749,7 @@ interface AxRLMConfig {
10786
10749
  */
10787
10750
  declare function axBuildActorDefinition(baseDefinition: string | undefined, contextFields: readonly AxIField[], responderOutputFields: readonly AxIField[], options: Readonly<{
10788
10751
  runtimeUsageInstructions?: string;
10789
- promptLevel?: 'detailed' | 'basic';
10752
+ promptLevel?: 'default' | 'detailed';
10790
10753
  maxSubAgentCalls?: number;
10791
10754
  maxTurns?: number;
10792
10755
  hasInspectRuntime?: boolean;
@@ -10818,10 +10781,6 @@ declare function axBuildActorDefinition(baseDefinition: string | undefined, cont
10818
10781
  namespace: string;
10819
10782
  selectionCriteria?: string;
10820
10783
  }>;
10821
- /** When true, render authenticated host-guidance rules in the actor template. */
10822
- hasAuthenticatedGuidance?: boolean;
10823
- /** Exact authenticated guidance prefix the actor should trust. */
10824
- authenticatedGuidancePrefix?: string;
10825
10784
  /** Discovery docs accumulated during the current run. */
10826
10785
  discoveredDocsMarkdown?: string;
10827
10786
  }>): string;
@@ -11595,4 +11554,4 @@ declare class AxRateLimiterTokenUsage {
11595
11554
  acquire(tokens: number): Promise<void>;
11596
11555
  }
11597
11556
 
11598
- export { AxACE, type AxACEBullet, type AxACECuratorOperation, type AxACECuratorOperationType, type AxACECuratorOutput, type AxACEFeedbackEvent, type AxACEGeneratorOutput, type AxACEOptimizationArtifact, AxACEOptimizedProgram, type AxACEOptions, type AxACEPlaybook, type AxACEReflectionOutput, type AxACEResult, AxAI, AxAIAnthropic, type AxAIAnthropicArgs, type AxAIAnthropicChatError, type AxAIAnthropicChatRequest, type AxAIAnthropicChatRequestCacheParam, type AxAIAnthropicChatResponse, type AxAIAnthropicChatResponseDelta, type AxAIAnthropicConfig, type AxAIAnthropicContentBlockDeltaEvent, type AxAIAnthropicContentBlockStartEvent, type AxAIAnthropicContentBlockStopEvent, type AxAIAnthropicEffortLevel, type AxAIAnthropicEffortLevelMapping, type AxAIAnthropicErrorEvent, type AxAIAnthropicFunctionTool, type AxAIAnthropicMessageDeltaEvent, type AxAIAnthropicMessageStartEvent, type AxAIAnthropicMessageStopEvent, AxAIAnthropicModel, type AxAIAnthropicOutputConfig, type AxAIAnthropicPingEvent, type AxAIAnthropicRequestTool, type AxAIAnthropicThinkingConfig, type AxAIAnthropicThinkingTokenBudgetLevels, type AxAIAnthropicThinkingWire, AxAIAnthropicVertexModel, type AxAIAnthropicWebSearchTool, type AxAIArgs, AxAIAzureOpenAI, type AxAIAzureOpenAIArgs, type AxAIAzureOpenAIConfig, AxAICohere, type AxAICohereArgs, type AxAICohereChatRequest, type AxAICohereChatRequestToolResults, type AxAICohereChatResponse, type AxAICohereChatResponseDelta, type AxAICohereChatResponseToolCalls, type AxAICohereConfig, AxAICohereEmbedModel, type AxAICohereEmbedRequest, type AxAICohereEmbedResponse, AxAICohereModel, AxAIDeepSeek, type AxAIDeepSeekArgs, AxAIDeepSeekModel, type AxAIEmbedModels, type AxAIFeatures, AxAIGoogleGemini, type AxAIGoogleGeminiArgs, type AxAIGoogleGeminiBatchEmbedRequest, type AxAIGoogleGeminiBatchEmbedResponse, type AxAIGoogleGeminiCacheCreateRequest, type AxAIGoogleGeminiCacheResponse, type AxAIGoogleGeminiCacheUpdateRequest, type AxAIGoogleGeminiChatRequest, type AxAIGoogleGeminiChatResponse, type AxAIGoogleGeminiChatResponseDelta, type AxAIGoogleGeminiConfig, type AxAIGoogleGeminiContent, type AxAIGoogleGeminiContentPart, AxAIGoogleGeminiEmbedModel, AxAIGoogleGeminiEmbedTypes, type AxAIGoogleGeminiGenerationConfig, AxAIGoogleGeminiModel, type AxAIGoogleGeminiOptionsTools, type AxAIGoogleGeminiRetrievalConfig, AxAIGoogleGeminiSafetyCategory, type AxAIGoogleGeminiSafetySettings, AxAIGoogleGeminiSafetyThreshold, type AxAIGoogleGeminiThinkingConfig, type AxAIGoogleGeminiThinkingLevel, type AxAIGoogleGeminiThinkingLevelMapping, type AxAIGoogleGeminiThinkingTokenBudgetLevels, type AxAIGoogleGeminiTool, type AxAIGoogleGeminiToolConfig, type AxAIGoogleGeminiToolFunctionDeclaration, type AxAIGoogleGeminiToolGoogleMaps, type AxAIGoogleGeminiToolGoogleSearchRetrieval, type AxAIGoogleVertexBatchEmbedRequest, type AxAIGoogleVertexBatchEmbedResponse, AxAIGrok, type AxAIGrokArgs, type AxAIGrokChatRequest, AxAIGrokEmbedModels, AxAIGrokModel, type AxAIGrokOptionsTools, type AxAIGrokSearchSource, AxAIGroq, type AxAIGroqArgs, AxAIGroqModel, AxAIHuggingFace, type AxAIHuggingFaceArgs, type AxAIHuggingFaceConfig, AxAIHuggingFaceModel, type AxAIHuggingFaceRequest, type AxAIHuggingFaceResponse, type AxAIInputModelList, type AxAIMemory, type AxAIMetricsInstruments, AxAIMistral, type AxAIMistralArgs, type AxAIMistralChatRequest, AxAIMistralEmbedModels, AxAIMistralModel, type AxAIModelList, type AxAIModelListBase, type AxAIModels, AxAIOllama, type AxAIOllamaAIConfig, type AxAIOllamaArgs, AxAIOpenAI, type AxAIOpenAIAnnotation, type AxAIOpenAIArgs, AxAIOpenAIBase, type AxAIOpenAIBaseArgs, type AxAIOpenAIChatRequest, type AxAIOpenAIChatResponse, type AxAIOpenAIChatResponseDelta, type AxAIOpenAIConfig, AxAIOpenAIEmbedModel, type AxAIOpenAIEmbedRequest, type AxAIOpenAIEmbedResponse, type AxAIOpenAILogprob, AxAIOpenAIModel, type AxAIOpenAIResponseDelta, AxAIOpenAIResponses, type AxAIOpenAIResponsesArgs, AxAIOpenAIResponsesBase, type AxAIOpenAIResponsesCodeInterpreterToolCall, type AxAIOpenAIResponsesComputerToolCall, type AxAIOpenAIResponsesConfig, type AxAIOpenAIResponsesContentPartAddedEvent, type AxAIOpenAIResponsesContentPartDoneEvent, type AxAIOpenAIResponsesDefineFunctionTool, type AxAIOpenAIResponsesErrorEvent, type AxAIOpenAIResponsesFileSearchCallCompletedEvent, type AxAIOpenAIResponsesFileSearchCallInProgressEvent, type AxAIOpenAIResponsesFileSearchCallSearchingEvent, type AxAIOpenAIResponsesFileSearchToolCall, type AxAIOpenAIResponsesFunctionCallArgumentsDeltaEvent, type AxAIOpenAIResponsesFunctionCallArgumentsDoneEvent, type AxAIOpenAIResponsesFunctionCallItem, type AxAIOpenAIResponsesImageGenerationCallCompletedEvent, type AxAIOpenAIResponsesImageGenerationCallGeneratingEvent, type AxAIOpenAIResponsesImageGenerationCallInProgressEvent, type AxAIOpenAIResponsesImageGenerationCallPartialImageEvent, type AxAIOpenAIResponsesImageGenerationToolCall, AxAIOpenAIResponsesImpl, type AxAIOpenAIResponsesInputAudioContentPart, type AxAIOpenAIResponsesInputContentPart, type AxAIOpenAIResponsesInputFunctionCallItem, type AxAIOpenAIResponsesInputFunctionCallOutputItem, type AxAIOpenAIResponsesInputImageUrlContentPart, type AxAIOpenAIResponsesInputItem, type AxAIOpenAIResponsesInputMessageItem, type AxAIOpenAIResponsesInputTextContentPart, type AxAIOpenAIResponsesLocalShellToolCall, type AxAIOpenAIResponsesMCPCallArgumentsDeltaEvent, type AxAIOpenAIResponsesMCPCallArgumentsDoneEvent, type AxAIOpenAIResponsesMCPCallCompletedEvent, type AxAIOpenAIResponsesMCPCallFailedEvent, type AxAIOpenAIResponsesMCPCallInProgressEvent, type AxAIOpenAIResponsesMCPListToolsCompletedEvent, type AxAIOpenAIResponsesMCPListToolsFailedEvent, type AxAIOpenAIResponsesMCPListToolsInProgressEvent, type AxAIOpenAIResponsesMCPToolCall, AxAIOpenAIResponsesModel, type AxAIOpenAIResponsesOutputItem, type AxAIOpenAIResponsesOutputItemAddedEvent, type AxAIOpenAIResponsesOutputItemDoneEvent, type AxAIOpenAIResponsesOutputMessageItem, type AxAIOpenAIResponsesOutputRefusalContentPart, type AxAIOpenAIResponsesOutputTextAnnotationAddedEvent, type AxAIOpenAIResponsesOutputTextContentPart, type AxAIOpenAIResponsesOutputTextDeltaEvent, type AxAIOpenAIResponsesOutputTextDoneEvent, type AxAIOpenAIResponsesReasoningDeltaEvent, type AxAIOpenAIResponsesReasoningDoneEvent, type AxAIOpenAIResponsesReasoningItem, type AxAIOpenAIResponsesReasoningSummaryDeltaEvent, type AxAIOpenAIResponsesReasoningSummaryDoneEvent, type AxAIOpenAIResponsesReasoningSummaryPart, type AxAIOpenAIResponsesReasoningSummaryPartAddedEvent, type AxAIOpenAIResponsesReasoningSummaryPartDoneEvent, type AxAIOpenAIResponsesReasoningSummaryTextDeltaEvent, type AxAIOpenAIResponsesReasoningSummaryTextDoneEvent, type AxAIOpenAIResponsesRefusalDeltaEvent, type AxAIOpenAIResponsesRefusalDoneEvent, type AxAIOpenAIResponsesRequest, type AxAIOpenAIResponsesResponse, type AxAIOpenAIResponsesResponseCompletedEvent, type AxAIOpenAIResponsesResponseCreatedEvent, type AxAIOpenAIResponsesResponseDelta, type AxAIOpenAIResponsesResponseFailedEvent, type AxAIOpenAIResponsesResponseInProgressEvent, type AxAIOpenAIResponsesResponseIncompleteEvent, type AxAIOpenAIResponsesResponseQueuedEvent, type AxAIOpenAIResponsesStreamEvent, type AxAIOpenAIResponsesStreamEventBase, type AxAIOpenAIResponsesToolCall, type AxAIOpenAIResponsesToolCallBase, type AxAIOpenAIResponsesToolChoice, type AxAIOpenAIResponsesToolDefinition, type AxAIOpenAIResponsesWebSearchCallCompletedEvent, type AxAIOpenAIResponsesWebSearchCallInProgressEvent, type AxAIOpenAIResponsesWebSearchCallSearchingEvent, type AxAIOpenAIResponsesWebSearchToolCall, type AxAIOpenAIUrlCitation, type AxAIOpenAIUsage, AxAIOpenRouter, type AxAIOpenRouterArgs, AxAIRefusalError, AxAIReka, type AxAIRekaArgs, type AxAIRekaChatRequest, type AxAIRekaChatResponse, type AxAIRekaChatResponseDelta, type AxAIRekaConfig, AxAIRekaModel, type AxAIRekaUsage, type AxAIService, AxAIServiceAbortedError, type AxAIServiceActionOptions, AxAIServiceAuthenticationError, AxAIServiceError, type AxAIServiceImpl, type AxAIServiceMetrics, type AxAIServiceModelType, AxAIServiceNetworkError, type AxAIServiceOptions, AxAIServiceResponseError, AxAIServiceStatusError, AxAIServiceStreamTerminatedError, AxAIServiceTimeoutError, AxAITogether, type AxAITogetherArgs, type AxAITogetherChatModel, AxAITogetherModel, AxAIWebLLM, type AxAIWebLLMArgs, type AxAIWebLLMChatRequest, type AxAIWebLLMChatResponse, type AxAIWebLLMChatResponseDelta, type AxAIWebLLMConfig, type AxAIWebLLMEmbedModel, type AxAIWebLLMEmbedRequest, type AxAIWebLLMEmbedResponse, AxAIWebLLMModel, type AxAPI, type AxAPIConfig, type AxActorModelPolicy, type AxActorModelPolicyEntry, type AxActorPromptLevel, AxAgent, type AxAgentActorResultPayload, type AxAgentClarification, type AxAgentClarificationChoice, AxAgentClarificationError, type AxAgentClarificationKind, type AxAgentCompletionProtocol, type AxAgentConfig, type AxAgentDemos, type AxAgentDiscoveryPromptState, type AxAgentEvalDataset, type AxAgentEvalFunctionCall, type AxAgentEvalPrediction, type AxAgentEvalTask, type AxAgentFunction, type AxAgentFunctionCollection, type AxAgentFunctionExample, type AxAgentFunctionGroup, type AxAgentFunctionModuleMeta, type AxAgentGuidancePayload, type AxAgentIdentity, type AxAgentInputUpdateCallback, type AxAgentInternalCompletionPayload, type AxAgentJudgeEvalInput, type AxAgentJudgeEvalOutput, type AxAgentJudgeInput, type AxAgentJudgeOptions, type AxAgentJudgeOutput, type AxAgentOptimizeOptions, type AxAgentOptimizeResult, type AxAgentOptimizeTarget, type AxAgentOptions, AxAgentProtocolCompletionSignal, type AxAgentRecursionOptions, type AxAgentRecursiveExpensiveNode, type AxAgentRecursiveFunctionCall, type AxAgentRecursiveNodeRole, type AxAgentRecursiveStats, type AxAgentRecursiveTargetId, type AxAgentRecursiveTraceNode, type AxAgentRecursiveTurn, type AxAgentRecursiveUsage, type AxAgentRuntimeExecutionContext, type AxAgentState, type AxAgentStateActionLogEntry, type AxAgentStateActorModelState, type AxAgentStateCheckpointState, type AxAgentStateRuntimeEntry, type AxAgentStructuredClarification, type AxAgentTestCompletionPayload, type AxAgentTestResult, type AxAgentTurnCallbackArgs, type AxAgentic, type AxAnyAgentic, AxApacheTika, type AxApacheTikaArgs, type AxApacheTikaConvertOptions, type AxAssertion, AxAssertionError, AxBalancer, type AxBalancerOptions, AxBaseAI, type AxBaseAIArgs, AxBaseOptimizer, AxBootstrapFewShot, type AxBootstrapOptimizerOptions, type AxChatRequest, type AxChatResponse, type AxChatResponseFunctionCall, type AxChatResponseResult, type AxCheckpoint, type AxCheckpointLoadFn, type AxCheckpointSaveFn, type AxCitation, type AxCodeInterpreter, type AxCodeRuntime, type AxCodeSession, type AxCodeSessionSnapshot, type AxCodeSessionSnapshotEntry, type AxCompileOptions, AxContentProcessingError, type AxContentProcessingServices, type AxContextCacheInfo, type AxContextCacheOperation, type AxContextCacheOptions, type AxContextCacheRegistry, type AxContextCacheRegistryEntry, type AxContextFieldInput, type AxContextFieldPromptConfig, type AxContextPolicyConfig, type AxContextPolicyPreset, type AxCostTracker, type AxCostTrackerOptions, AxDB, type AxDBArgs, AxDBBase, type AxDBBaseArgs, type AxDBBaseOpOptions, AxDBCloudflare, type AxDBCloudflareArgs, type AxDBCloudflareOpOptions, type AxDBLoaderOptions, AxDBManager, type AxDBManagerArgs, type AxDBMatch, AxDBMemory, type AxDBMemoryArgs, type AxDBMemoryOpOptions, AxDBPinecone, type AxDBPineconeArgs, type AxDBPineconeOpOptions, type AxDBQueryRequest, type AxDBQueryResponse, type AxDBQueryService, type AxDBService, type AxDBState, type AxDBUpsertRequest, type AxDBUpsertResponse, AxDBWeaviate, type AxDBWeaviateArgs, type AxDBWeaviateOpOptions, type AxDataRow, AxDefaultCostTracker, AxDefaultResultReranker, type AxDockerContainer, AxDockerSession, type AxEmbedRequest, type AxEmbedResponse, AxEmbeddingAdapter, type AxErrorCategory, AxEvalUtil, type AxEvaluateArgs, type AxExample$1 as AxExample, type AxExamples, type AxField, type AxFieldProcessor, type AxFieldProcessorProcess, type AxFieldTemplateFn, type AxFieldType, type AxFieldValue, AxFlow, type AxFlowAutoParallelConfig, type AxFlowBranchContext, type AxFlowBranchEvaluationData, type AxFlowCompleteData, AxFlowDependencyAnalyzer, type AxFlowDynamicContext, type AxFlowErrorData, AxFlowExecutionPlanner, type AxFlowExecutionStep, type AxFlowLogData, type AxFlowLoggerData, type AxFlowLoggerFunction, type AxFlowNodeDefinition, type AxFlowParallelBranch, type AxFlowParallelGroup, type AxFlowParallelGroupCompleteData, type AxFlowParallelGroupStartData, type AxFlowStartData, type AxFlowState, type AxFlowStepCompleteData, type AxFlowStepFunction, type AxFlowStepStartData, type AxFlowSubContext, AxFlowSubContextImpl, type AxFlowTypedParallelBranch, type AxFlowTypedSubContext, AxFlowTypedSubContextImpl, type AxFlowable, type AxFluentFieldInfo, AxFluentFieldType, type AxForwardable, type AxFunction, type AxFunctionCallRecord, AxFunctionError, type AxFunctionHandler, type AxFunctionJSONSchema, AxFunctionProcessor, type AxFunctionResult, type AxFunctionResultFormatter, AxGEPA, type AxGEPAAdapter, type AxGEPAEvaluationBatch, type AxGEPAOptimizationReport, AxGen, type AxGenDeltaOut, type AxGenIn, type AxGenInput, type AxGenMetricsInstruments, type AxGenOut, type AxGenOutput, type AxGenStreamingOut, AxGenerateError, type AxGenerateErrorDetails, type AxGenerateResult, AxHFDataLoader, type AxIField, type AxInputFunctionType, AxInstanceRegistry, type AxInternalChatRequest, type AxInternalEmbedRequest, AxJSRuntime, type AxJSRuntimeOutputMode, AxJSRuntimePermission, type AxJudgeForwardOptions, type AxJudgeOptions, AxLLMRequestTypeValues, AxLearn, type AxLearnArtifact, type AxLearnCheckpointMode, type AxLearnCheckpointState, type AxLearnContinuousOptions, type AxLearnMode, type AxLearnOptimizeOptions, type AxLearnOptions, type AxLearnPlaybook, type AxLearnPlaybookOptions, type AxLearnPlaybookSummary, type AxLearnProgress, type AxLearnResult, type AxLearnUpdateFeedback, type AxLearnUpdateInput, type AxLearnUpdateOptions, type AxLoggerData, type AxLoggerFunction, type AxMCPBlobResourceContents, AxMCPClient, type AxMCPEmbeddedResource, type AxMCPFunctionDescription, AxMCPHTTPSSETransport, type AxMCPImageContent, type AxMCPInitializeParams, type AxMCPInitializeResult, type AxMCPJSONRPCErrorResponse, type AxMCPJSONRPCNotification, type AxMCPJSONRPCRequest, type AxMCPJSONRPCResponse, type AxMCPJSONRPCSuccessResponse, type AxMCPOAuthOptions, type AxMCPPrompt, type AxMCPPromptArgument, type AxMCPPromptGetResult, type AxMCPPromptMessage, type AxMCPPromptsListResult, type AxMCPResource, type AxMCPResourceReadResult, type AxMCPResourceTemplate, type AxMCPResourceTemplatesListResult, type AxMCPResourcesListResult, type AxMCPStreamableHTTPTransportOptions, AxMCPStreambleHTTPTransport, type AxMCPTextContent, type AxMCPTextResourceContents, type AxMCPToolsListResult, type AxMCPTransport, AxMediaNotSupportedError, AxMemory, type AxMemoryData, type AxMemoryMessageValue, type AxMessage, type AxMetricFn, type AxMetricFnArgs, type AxMetricsConfig, AxMiPRO, type AxMiPROOptimizerOptions, type AxMiPROResult, AxMockAIService, type AxMockAIServiceConfig, type AxModelConfig, type AxModelInfo, type AxModelInfoWithProvider, type AxModelUsage, type AxMultiMetricFn, type AxMultiProviderConfig, AxMultiServiceRouter, type AxNamedProgramInstance, type AxNormalizedAgentEvalDataset, type AxOptimizationCheckpoint, type AxOptimizationProgress, type AxOptimizationStats, type AxOptimizedProgram, AxOptimizedProgramImpl, type AxOptimizer, type AxOptimizerArgs, type AxOptimizerLoggerData, type AxOptimizerLoggerFunction, type AxOptimizerMetricsConfig, type AxOptimizerMetricsInstruments, type AxOptimizerResult, type AxParetoResult, type AxPreparedChatRequest, type AxPreparedRestoredState, AxProgram, type AxProgramDemos, type AxProgramExamples, type AxProgramForwardOptions, type AxProgramForwardOptionsWithModels, type AxProgramOptions, type AxProgramStreamingForwardOptions, type AxProgramStreamingForwardOptionsWithModels, type AxProgramTrace, type AxProgramUsage, type AxProgrammable, AxPromptTemplate, type AxPromptTemplateOptions, AxProviderRouter, type AxRLMConfig, type AxRateLimiterFunction, AxRateLimiterTokenUsage, type AxRateLimiterTokenUsageOptions, type AxRerankerIn, type AxRerankerOut, type AxResolvedActorModelPolicy, type AxResolvedActorModelPolicyEntry, type AxResolvedContextPolicy, type AxResponseHandlerArgs, type AxResultPickerFunction, type AxResultPickerFunctionFieldResults, type AxResultPickerFunctionFunctionResults, type AxRewriteIn, type AxRewriteOut, type AxRoutingResult, type AxSamplePickerOptions, type AxSelfTuningConfig, type AxSetExamplesOptions, AxSignature, AxSignatureBuilder, type AxSignatureConfig, AxSimpleClassifier, AxSimpleClassifierClass, type AxSimpleClassifierForwardOptions, AxSpanKindValues, type AxStepContext, AxStepContextImpl, type AxStepHooks, type AxStepUsage, AxStopFunctionCallException, type AxStorage, type AxStorageQuery, type AxStreamingAssertion, type AxStreamingEvent, type AxStreamingFieldProcessorProcess, AxStringUtil, AxSynth, type AxSynthExample, type AxSynthOptions, type AxSynthResult, AxTestPrompt, type AxThoughtBlockItem, AxTokenLimitError, type AxTokenUsage, type AxTrace, AxTraceLogger, type AxTraceLoggerOptions, type AxTunable, type AxTypedExample, type AxUsable, type AxWorkerRuntimeConfig, agent, ai, ax, axAIAnthropicDefaultConfig, axAIAnthropicVertexDefaultConfig, axAIAzureOpenAIBestConfig, axAIAzureOpenAICreativeConfig, axAIAzureOpenAIDefaultConfig, axAIAzureOpenAIFastConfig, axAICohereCreativeConfig, axAICohereDefaultConfig, axAIDeepSeekCodeConfig, axAIDeepSeekDefaultConfig, axAIGoogleGeminiDefaultConfig, axAIGoogleGeminiDefaultCreativeConfig, axAIGrokBestConfig, axAIGrokDefaultConfig, axAIHuggingFaceCreativeConfig, axAIHuggingFaceDefaultConfig, axAIMistralBestConfig, axAIMistralDefaultConfig, axAIOllamaDefaultConfig, axAIOllamaDefaultCreativeConfig, axAIOpenAIBestConfig, axAIOpenAICreativeConfig, axAIOpenAIDefaultConfig, axAIOpenAIFastConfig, axAIOpenAIResponsesBestConfig, axAIOpenAIResponsesCreativeConfig, axAIOpenAIResponsesDefaultConfig, axAIOpenRouterDefaultConfig, axAIRekaBestConfig, axAIRekaCreativeConfig, axAIRekaDefaultConfig, axAIRekaFastConfig, axAITogetherDefaultConfig, axAIWebLLMCreativeConfig, axAIWebLLMDefaultConfig, axAnalyzeChatPromptRequirements, axAnalyzeRequestRequirements, axBaseAIDefaultConfig, axBaseAIDefaultCreativeConfig, axBuildActorDefinition, axBuildResponderDefinition, axCheckMetricsHealth, axCreateDefaultColorLogger, axCreateDefaultOptimizerColorLogger, axCreateDefaultOptimizerTextLogger, axCreateDefaultTextLogger, axCreateFlowColorLogger, axCreateFlowTextLogger, axCreateJSRuntime, axDefaultFlowLogger, axDefaultMetricsConfig, axDefaultOptimizerLogger, axDefaultOptimizerMetricsConfig, axGetCompatibilityReport, axGetFormatCompatibility, axGetMetricsConfig, axGetOptimizerMetricsConfig, axGetProvidersWithMediaSupport, axGlobals, axModelInfoAnthropic, axModelInfoCohere, axModelInfoDeepSeek, axModelInfoGoogleGemini, axModelInfoGrok, axModelInfoGroq, axModelInfoHuggingFace, axModelInfoMistral, axModelInfoOpenAI, axModelInfoOpenAIResponses, axModelInfoReka, axModelInfoTogether, axModelInfoWebLLM, axProcessContentForProvider, axRAG, axScoreProvidersForRequest, axSelectOptimalProvider, axSpanAttributes, axSpanEvents, axUpdateMetricsConfig, axUpdateOptimizerMetricsConfig, axValidateChatRequestMessage, axValidateChatResponseResult, axValidateProviderCapabilities, axWorkerRuntime, f, flow, fn, s };
11557
+ export { AxACE, type AxACEBullet, type AxACECuratorOperation, type AxACECuratorOperationType, type AxACECuratorOutput, type AxACEFeedbackEvent, type AxACEGeneratorOutput, type AxACEOptimizationArtifact, AxACEOptimizedProgram, type AxACEOptions, type AxACEPlaybook, type AxACEReflectionOutput, type AxACEResult, AxAI, AxAIAnthropic, type AxAIAnthropicArgs, type AxAIAnthropicChatError, type AxAIAnthropicChatRequest, type AxAIAnthropicChatRequestCacheParam, type AxAIAnthropicChatResponse, type AxAIAnthropicChatResponseDelta, type AxAIAnthropicConfig, type AxAIAnthropicContentBlockDeltaEvent, type AxAIAnthropicContentBlockStartEvent, type AxAIAnthropicContentBlockStopEvent, type AxAIAnthropicEffortLevel, type AxAIAnthropicEffortLevelMapping, type AxAIAnthropicErrorEvent, type AxAIAnthropicFunctionTool, type AxAIAnthropicMessageDeltaEvent, type AxAIAnthropicMessageStartEvent, type AxAIAnthropicMessageStopEvent, AxAIAnthropicModel, type AxAIAnthropicOutputConfig, type AxAIAnthropicPingEvent, type AxAIAnthropicRequestTool, type AxAIAnthropicThinkingConfig, type AxAIAnthropicThinkingTokenBudgetLevels, type AxAIAnthropicThinkingWire, AxAIAnthropicVertexModel, type AxAIAnthropicWebSearchTool, type AxAIArgs, AxAIAzureOpenAI, type AxAIAzureOpenAIArgs, type AxAIAzureOpenAIConfig, AxAICohere, type AxAICohereArgs, type AxAICohereChatRequest, type AxAICohereChatRequestToolResults, type AxAICohereChatResponse, type AxAICohereChatResponseDelta, type AxAICohereChatResponseToolCalls, type AxAICohereConfig, AxAICohereEmbedModel, type AxAICohereEmbedRequest, type AxAICohereEmbedResponse, AxAICohereModel, AxAIDeepSeek, type AxAIDeepSeekArgs, AxAIDeepSeekModel, type AxAIEmbedModels, type AxAIFeatures, AxAIGoogleGemini, type AxAIGoogleGeminiArgs, type AxAIGoogleGeminiBatchEmbedRequest, type AxAIGoogleGeminiBatchEmbedResponse, type AxAIGoogleGeminiCacheCreateRequest, type AxAIGoogleGeminiCacheResponse, type AxAIGoogleGeminiCacheUpdateRequest, type AxAIGoogleGeminiChatRequest, type AxAIGoogleGeminiChatResponse, type AxAIGoogleGeminiChatResponseDelta, type AxAIGoogleGeminiConfig, type AxAIGoogleGeminiContent, type AxAIGoogleGeminiContentPart, AxAIGoogleGeminiEmbedModel, AxAIGoogleGeminiEmbedTypes, type AxAIGoogleGeminiGenerationConfig, AxAIGoogleGeminiModel, type AxAIGoogleGeminiOptionsTools, type AxAIGoogleGeminiRetrievalConfig, AxAIGoogleGeminiSafetyCategory, type AxAIGoogleGeminiSafetySettings, AxAIGoogleGeminiSafetyThreshold, type AxAIGoogleGeminiThinkingConfig, type AxAIGoogleGeminiThinkingLevel, type AxAIGoogleGeminiThinkingLevelMapping, type AxAIGoogleGeminiThinkingTokenBudgetLevels, type AxAIGoogleGeminiTool, type AxAIGoogleGeminiToolConfig, type AxAIGoogleGeminiToolFunctionDeclaration, type AxAIGoogleGeminiToolGoogleMaps, type AxAIGoogleGeminiToolGoogleSearchRetrieval, type AxAIGoogleVertexBatchEmbedRequest, type AxAIGoogleVertexBatchEmbedResponse, AxAIGrok, type AxAIGrokArgs, type AxAIGrokChatRequest, AxAIGrokEmbedModels, AxAIGrokModel, type AxAIGrokOptionsTools, type AxAIGrokSearchSource, AxAIGroq, type AxAIGroqArgs, AxAIGroqModel, AxAIHuggingFace, type AxAIHuggingFaceArgs, type AxAIHuggingFaceConfig, AxAIHuggingFaceModel, type AxAIHuggingFaceRequest, type AxAIHuggingFaceResponse, type AxAIInputModelList, type AxAIMemory, type AxAIMetricsInstruments, AxAIMistral, type AxAIMistralArgs, type AxAIMistralChatRequest, AxAIMistralEmbedModels, AxAIMistralModel, type AxAIModelList, type AxAIModelListBase, type AxAIModels, AxAIOllama, type AxAIOllamaAIConfig, type AxAIOllamaArgs, AxAIOpenAI, type AxAIOpenAIAnnotation, type AxAIOpenAIArgs, AxAIOpenAIBase, type AxAIOpenAIBaseArgs, type AxAIOpenAIChatRequest, type AxAIOpenAIChatResponse, type AxAIOpenAIChatResponseDelta, type AxAIOpenAIConfig, AxAIOpenAIEmbedModel, type AxAIOpenAIEmbedRequest, type AxAIOpenAIEmbedResponse, type AxAIOpenAILogprob, AxAIOpenAIModel, type AxAIOpenAIResponseDelta, AxAIOpenAIResponses, type AxAIOpenAIResponsesArgs, AxAIOpenAIResponsesBase, type AxAIOpenAIResponsesCodeInterpreterToolCall, type AxAIOpenAIResponsesComputerToolCall, type AxAIOpenAIResponsesConfig, type AxAIOpenAIResponsesContentPartAddedEvent, type AxAIOpenAIResponsesContentPartDoneEvent, type AxAIOpenAIResponsesDefineFunctionTool, type AxAIOpenAIResponsesErrorEvent, type AxAIOpenAIResponsesFileSearchCallCompletedEvent, type AxAIOpenAIResponsesFileSearchCallInProgressEvent, type AxAIOpenAIResponsesFileSearchCallSearchingEvent, type AxAIOpenAIResponsesFileSearchToolCall, type AxAIOpenAIResponsesFunctionCallArgumentsDeltaEvent, type AxAIOpenAIResponsesFunctionCallArgumentsDoneEvent, type AxAIOpenAIResponsesFunctionCallItem, type AxAIOpenAIResponsesImageGenerationCallCompletedEvent, type AxAIOpenAIResponsesImageGenerationCallGeneratingEvent, type AxAIOpenAIResponsesImageGenerationCallInProgressEvent, type AxAIOpenAIResponsesImageGenerationCallPartialImageEvent, type AxAIOpenAIResponsesImageGenerationToolCall, AxAIOpenAIResponsesImpl, type AxAIOpenAIResponsesInputAudioContentPart, type AxAIOpenAIResponsesInputContentPart, type AxAIOpenAIResponsesInputFunctionCallItem, type AxAIOpenAIResponsesInputFunctionCallOutputItem, type AxAIOpenAIResponsesInputImageUrlContentPart, type AxAIOpenAIResponsesInputItem, type AxAIOpenAIResponsesInputMessageItem, type AxAIOpenAIResponsesInputTextContentPart, type AxAIOpenAIResponsesLocalShellToolCall, type AxAIOpenAIResponsesMCPCallArgumentsDeltaEvent, type AxAIOpenAIResponsesMCPCallArgumentsDoneEvent, type AxAIOpenAIResponsesMCPCallCompletedEvent, type AxAIOpenAIResponsesMCPCallFailedEvent, type AxAIOpenAIResponsesMCPCallInProgressEvent, type AxAIOpenAIResponsesMCPListToolsCompletedEvent, type AxAIOpenAIResponsesMCPListToolsFailedEvent, type AxAIOpenAIResponsesMCPListToolsInProgressEvent, type AxAIOpenAIResponsesMCPToolCall, AxAIOpenAIResponsesModel, type AxAIOpenAIResponsesOutputItem, type AxAIOpenAIResponsesOutputItemAddedEvent, type AxAIOpenAIResponsesOutputItemDoneEvent, type AxAIOpenAIResponsesOutputMessageItem, type AxAIOpenAIResponsesOutputRefusalContentPart, type AxAIOpenAIResponsesOutputTextAnnotationAddedEvent, type AxAIOpenAIResponsesOutputTextContentPart, type AxAIOpenAIResponsesOutputTextDeltaEvent, type AxAIOpenAIResponsesOutputTextDoneEvent, type AxAIOpenAIResponsesReasoningDeltaEvent, type AxAIOpenAIResponsesReasoningDoneEvent, type AxAIOpenAIResponsesReasoningItem, type AxAIOpenAIResponsesReasoningSummaryDeltaEvent, type AxAIOpenAIResponsesReasoningSummaryDoneEvent, type AxAIOpenAIResponsesReasoningSummaryPart, type AxAIOpenAIResponsesReasoningSummaryPartAddedEvent, type AxAIOpenAIResponsesReasoningSummaryPartDoneEvent, type AxAIOpenAIResponsesReasoningSummaryTextDeltaEvent, type AxAIOpenAIResponsesReasoningSummaryTextDoneEvent, type AxAIOpenAIResponsesRefusalDeltaEvent, type AxAIOpenAIResponsesRefusalDoneEvent, type AxAIOpenAIResponsesRequest, type AxAIOpenAIResponsesResponse, type AxAIOpenAIResponsesResponseCompletedEvent, type AxAIOpenAIResponsesResponseCreatedEvent, type AxAIOpenAIResponsesResponseDelta, type AxAIOpenAIResponsesResponseFailedEvent, type AxAIOpenAIResponsesResponseInProgressEvent, type AxAIOpenAIResponsesResponseIncompleteEvent, type AxAIOpenAIResponsesResponseQueuedEvent, type AxAIOpenAIResponsesStreamEvent, type AxAIOpenAIResponsesStreamEventBase, type AxAIOpenAIResponsesToolCall, type AxAIOpenAIResponsesToolCallBase, type AxAIOpenAIResponsesToolChoice, type AxAIOpenAIResponsesToolDefinition, type AxAIOpenAIResponsesWebSearchCallCompletedEvent, type AxAIOpenAIResponsesWebSearchCallInProgressEvent, type AxAIOpenAIResponsesWebSearchCallSearchingEvent, type AxAIOpenAIResponsesWebSearchToolCall, type AxAIOpenAIUrlCitation, type AxAIOpenAIUsage, AxAIOpenRouter, type AxAIOpenRouterArgs, AxAIRefusalError, AxAIReka, type AxAIRekaArgs, type AxAIRekaChatRequest, type AxAIRekaChatResponse, type AxAIRekaChatResponseDelta, type AxAIRekaConfig, AxAIRekaModel, type AxAIRekaUsage, type AxAIService, AxAIServiceAbortedError, type AxAIServiceActionOptions, AxAIServiceAuthenticationError, AxAIServiceError, type AxAIServiceImpl, type AxAIServiceMetrics, type AxAIServiceModelType, AxAIServiceNetworkError, type AxAIServiceOptions, AxAIServiceResponseError, AxAIServiceStatusError, AxAIServiceStreamTerminatedError, AxAIServiceTimeoutError, AxAITogether, type AxAITogetherArgs, type AxAITogetherChatModel, AxAITogetherModel, AxAIWebLLM, type AxAIWebLLMArgs, type AxAIWebLLMChatRequest, type AxAIWebLLMChatResponse, type AxAIWebLLMChatResponseDelta, type AxAIWebLLMConfig, type AxAIWebLLMEmbedModel, type AxAIWebLLMEmbedRequest, type AxAIWebLLMEmbedResponse, AxAIWebLLMModel, type AxAPI, type AxAPIConfig, type AxActorModelPolicy, type AxActorModelPolicyEntry, AxAgent, type AxAgentActorResultPayload, type AxAgentClarification, type AxAgentClarificationChoice, AxAgentClarificationError, type AxAgentClarificationKind, type AxAgentCompletionProtocol, type AxAgentConfig, type AxAgentDemos, type AxAgentDiscoveryPromptState, type AxAgentEvalDataset, type AxAgentEvalFunctionCall, type AxAgentEvalPrediction, type AxAgentEvalTask, type AxAgentFunction, type AxAgentFunctionCollection, type AxAgentFunctionExample, type AxAgentFunctionGroup, type AxAgentFunctionModuleMeta, type AxAgentGuidanceLogEntry, type AxAgentGuidancePayload, type AxAgentIdentity, type AxAgentInputUpdateCallback, type AxAgentInternalCompletionPayload, type AxAgentJudgeEvalInput, type AxAgentJudgeEvalOutput, type AxAgentJudgeInput, type AxAgentJudgeOptions, type AxAgentJudgeOutput, type AxAgentOptimizeOptions, type AxAgentOptimizeResult, type AxAgentOptimizeTarget, type AxAgentOptions, AxAgentProtocolCompletionSignal, type AxAgentRecursionOptions, type AxAgentRecursiveExpensiveNode, type AxAgentRecursiveFunctionCall, type AxAgentRecursiveNodeRole, type AxAgentRecursiveStats, type AxAgentRecursiveTargetId, type AxAgentRecursiveTraceNode, type AxAgentRecursiveTurn, type AxAgentRecursiveUsage, type AxAgentRuntimeExecutionContext, type AxAgentState, type AxAgentStateActionLogEntry, type AxAgentStateActorModelState, type AxAgentStateCheckpointState, type AxAgentStateRuntimeEntry, type AxAgentStructuredClarification, type AxAgentTestCompletionPayload, type AxAgentTestResult, type AxAgentTurnCallbackArgs, type AxAgentic, type AxAnyAgentic, AxApacheTika, type AxApacheTikaArgs, type AxApacheTikaConvertOptions, type AxAssertion, AxAssertionError, AxBalancer, type AxBalancerOptions, AxBaseAI, type AxBaseAIArgs, AxBaseOptimizer, AxBootstrapFewShot, type AxBootstrapOptimizerOptions, type AxChatRequest, type AxChatResponse, type AxChatResponseFunctionCall, type AxChatResponseResult, type AxCheckpoint, type AxCheckpointLoadFn, type AxCheckpointSaveFn, type AxCitation, type AxCodeInterpreter, type AxCodeRuntime, type AxCodeSession, type AxCodeSessionSnapshot, type AxCodeSessionSnapshotEntry, type AxCompileOptions, AxContentProcessingError, type AxContentProcessingServices, type AxContextCacheInfo, type AxContextCacheOperation, type AxContextCacheOptions, type AxContextCacheRegistry, type AxContextCacheRegistryEntry, type AxContextFieldInput, type AxContextFieldPromptConfig, type AxContextPolicyBudget, type AxContextPolicyConfig, type AxContextPolicyPreset, type AxCostTracker, type AxCostTrackerOptions, AxDB, type AxDBArgs, AxDBBase, type AxDBBaseArgs, type AxDBBaseOpOptions, AxDBCloudflare, type AxDBCloudflareArgs, type AxDBCloudflareOpOptions, type AxDBLoaderOptions, AxDBManager, type AxDBManagerArgs, type AxDBMatch, AxDBMemory, type AxDBMemoryArgs, type AxDBMemoryOpOptions, AxDBPinecone, type AxDBPineconeArgs, type AxDBPineconeOpOptions, type AxDBQueryRequest, type AxDBQueryResponse, type AxDBQueryService, type AxDBService, type AxDBState, type AxDBUpsertRequest, type AxDBUpsertResponse, AxDBWeaviate, type AxDBWeaviateArgs, type AxDBWeaviateOpOptions, type AxDataRow, type AxDebugChatResponseUsage, AxDefaultCostTracker, AxDefaultResultReranker, type AxDockerContainer, AxDockerSession, type AxEmbedRequest, type AxEmbedResponse, AxEmbeddingAdapter, type AxErrorCategory, AxEvalUtil, type AxEvaluateArgs, type AxExample$1 as AxExample, type AxExamples, type AxField, type AxFieldProcessor, type AxFieldProcessorProcess, type AxFieldTemplateFn, type AxFieldType, type AxFieldValue, AxFlow, type AxFlowAutoParallelConfig, type AxFlowBranchContext, type AxFlowBranchEvaluationData, type AxFlowCompleteData, AxFlowDependencyAnalyzer, type AxFlowDynamicContext, type AxFlowErrorData, AxFlowExecutionPlanner, type AxFlowExecutionStep, type AxFlowLogData, type AxFlowLoggerData, type AxFlowLoggerFunction, type AxFlowNodeDefinition, type AxFlowParallelBranch, type AxFlowParallelGroup, type AxFlowParallelGroupCompleteData, type AxFlowParallelGroupStartData, type AxFlowStartData, type AxFlowState, type AxFlowStepCompleteData, type AxFlowStepFunction, type AxFlowStepStartData, type AxFlowSubContext, AxFlowSubContextImpl, type AxFlowTypedParallelBranch, type AxFlowTypedSubContext, AxFlowTypedSubContextImpl, type AxFlowable, type AxFluentFieldInfo, AxFluentFieldType, type AxForwardable, type AxFunction, type AxFunctionCallRecord, AxFunctionError, type AxFunctionHandler, type AxFunctionJSONSchema, AxFunctionProcessor, type AxFunctionResult, type AxFunctionResultFormatter, AxGEPA, type AxGEPAAdapter, type AxGEPAEvaluationBatch, type AxGEPAOptimizationReport, AxGen, type AxGenDeltaOut, type AxGenIn, type AxGenInput, type AxGenMetricsInstruments, type AxGenOut, type AxGenOutput, type AxGenStreamingOut, AxGenerateError, type AxGenerateErrorDetails, type AxGenerateResult, AxHFDataLoader, type AxIField, type AxInputFunctionType, AxInstanceRegistry, type AxInternalChatRequest, type AxInternalEmbedRequest, AxJSRuntime, type AxJSRuntimeOutputMode, AxJSRuntimePermission, type AxJudgeForwardOptions, type AxJudgeOptions, AxLLMRequestTypeValues, AxLearn, type AxLearnArtifact, type AxLearnCheckpointMode, type AxLearnCheckpointState, type AxLearnContinuousOptions, type AxLearnMode, type AxLearnOptimizeOptions, type AxLearnOptions, type AxLearnPlaybook, type AxLearnPlaybookOptions, type AxLearnPlaybookSummary, type AxLearnProgress, type AxLearnResult, type AxLearnUpdateFeedback, type AxLearnUpdateInput, type AxLearnUpdateOptions, type AxLoggerData, type AxLoggerFunction, type AxMCPBlobResourceContents, AxMCPClient, type AxMCPEmbeddedResource, type AxMCPFunctionDescription, AxMCPHTTPSSETransport, type AxMCPImageContent, type AxMCPInitializeParams, type AxMCPInitializeResult, type AxMCPJSONRPCErrorResponse, type AxMCPJSONRPCNotification, type AxMCPJSONRPCRequest, type AxMCPJSONRPCResponse, type AxMCPJSONRPCSuccessResponse, type AxMCPOAuthOptions, type AxMCPPrompt, type AxMCPPromptArgument, type AxMCPPromptGetResult, type AxMCPPromptMessage, type AxMCPPromptsListResult, type AxMCPResource, type AxMCPResourceReadResult, type AxMCPResourceTemplate, type AxMCPResourceTemplatesListResult, type AxMCPResourcesListResult, type AxMCPStreamableHTTPTransportOptions, AxMCPStreambleHTTPTransport, type AxMCPTextContent, type AxMCPTextResourceContents, type AxMCPToolsListResult, type AxMCPTransport, AxMediaNotSupportedError, AxMemory, type AxMemoryData, type AxMemoryMessageValue, type AxMessage, type AxMetricFn, type AxMetricFnArgs, type AxMetricsConfig, AxMiPRO, type AxMiPROOptimizerOptions, type AxMiPROResult, AxMockAIService, type AxMockAIServiceConfig, type AxModelConfig, type AxModelInfo, type AxModelInfoWithProvider, type AxModelUsage, type AxMultiMetricFn, type AxMultiProviderConfig, AxMultiServiceRouter, type AxNamedProgramInstance, type AxNormalizedAgentEvalDataset, type AxOptimizationCheckpoint, type AxOptimizationProgress, type AxOptimizationStats, type AxOptimizedProgram, AxOptimizedProgramImpl, type AxOptimizer, type AxOptimizerArgs, type AxOptimizerLoggerData, type AxOptimizerLoggerFunction, type AxOptimizerMetricsConfig, type AxOptimizerMetricsInstruments, type AxOptimizerResult, type AxParetoResult, type AxPreparedChatRequest, type AxPreparedRestoredState, AxProgram, type AxProgramDemos, type AxProgramExamples, type AxProgramForwardOptions, type AxProgramForwardOptionsWithModels, type AxProgramOptions, type AxProgramStreamingForwardOptions, type AxProgramStreamingForwardOptionsWithModels, type AxProgramTrace, type AxProgramUsage, type AxProgrammable, type AxPromptMetrics, AxPromptTemplate, type AxPromptTemplateOptions, AxProviderRouter, type AxRLMConfig, type AxRateLimiterFunction, AxRateLimiterTokenUsage, type AxRateLimiterTokenUsageOptions, type AxRenderedPrompt, type AxRerankerIn, type AxRerankerOut, type AxResolvedActorModelPolicy, type AxResolvedActorModelPolicyEntry, type AxResolvedContextPolicy, type AxResponseHandlerArgs, type AxResultPickerFunction, type AxResultPickerFunctionFieldResults, type AxResultPickerFunctionFunctionResults, type AxRewriteIn, type AxRewriteOut, type AxRoutingResult, type AxSamplePickerOptions, type AxSelfTuningConfig, type AxSetExamplesOptions, AxSignature, AxSignatureBuilder, type AxSignatureConfig, AxSimpleClassifier, AxSimpleClassifierClass, type AxSimpleClassifierForwardOptions, AxSpanKindValues, type AxStepContext, AxStepContextImpl, type AxStepHooks, type AxStepUsage, AxStopFunctionCallException, type AxStorage, type AxStorageQuery, type AxStreamingAssertion, type AxStreamingEvent, type AxStreamingFieldProcessorProcess, AxStringUtil, AxSynth, type AxSynthExample, type AxSynthOptions, type AxSynthResult, AxTestPrompt, type AxThoughtBlockItem, AxTokenLimitError, type AxTokenUsage, type AxTrace, AxTraceLogger, type AxTraceLoggerOptions, type AxTunable, type AxTypedExample, type AxUsable, type AxWorkerRuntimeConfig, agent, ai, ax, axAIAnthropicDefaultConfig, axAIAnthropicVertexDefaultConfig, axAIAzureOpenAIBestConfig, axAIAzureOpenAICreativeConfig, axAIAzureOpenAIDefaultConfig, axAIAzureOpenAIFastConfig, axAICohereCreativeConfig, axAICohereDefaultConfig, axAIDeepSeekCodeConfig, axAIDeepSeekDefaultConfig, axAIGoogleGeminiDefaultConfig, axAIGoogleGeminiDefaultCreativeConfig, axAIGrokBestConfig, axAIGrokDefaultConfig, axAIHuggingFaceCreativeConfig, axAIHuggingFaceDefaultConfig, axAIMistralBestConfig, axAIMistralDefaultConfig, axAIOllamaDefaultConfig, axAIOllamaDefaultCreativeConfig, axAIOpenAIBestConfig, axAIOpenAICreativeConfig, axAIOpenAIDefaultConfig, axAIOpenAIFastConfig, axAIOpenAIResponsesBestConfig, axAIOpenAIResponsesCreativeConfig, axAIOpenAIResponsesDefaultConfig, axAIOpenRouterDefaultConfig, axAIRekaBestConfig, axAIRekaCreativeConfig, axAIRekaDefaultConfig, axAIRekaFastConfig, axAITogetherDefaultConfig, axAIWebLLMCreativeConfig, axAIWebLLMDefaultConfig, axAnalyzeChatPromptRequirements, axAnalyzeRequestRequirements, axBaseAIDefaultConfig, axBaseAIDefaultCreativeConfig, axBuildActorDefinition, axBuildResponderDefinition, axCheckMetricsHealth, axCreateDefaultColorLogger, axCreateDefaultOptimizerColorLogger, axCreateDefaultOptimizerTextLogger, axCreateDefaultTextLogger, axCreateFlowColorLogger, axCreateFlowTextLogger, axCreateJSRuntime, axDefaultFlowLogger, axDefaultMetricsConfig, axDefaultOptimizerLogger, axDefaultOptimizerMetricsConfig, axGetCompatibilityReport, axGetFormatCompatibility, axGetMetricsConfig, axGetOptimizerMetricsConfig, axGetProvidersWithMediaSupport, axGlobals, axModelInfoAnthropic, axModelInfoCohere, axModelInfoDeepSeek, axModelInfoGoogleGemini, axModelInfoGrok, axModelInfoGroq, axModelInfoHuggingFace, axModelInfoMistral, axModelInfoOpenAI, axModelInfoOpenAIResponses, axModelInfoReka, axModelInfoTogether, axModelInfoWebLLM, axProcessContentForProvider, axRAG, axScoreProvidersForRequest, axSelectOptimalProvider, axSpanAttributes, axSpanEvents, axUpdateMetricsConfig, axUpdateOptimizerMetricsConfig, axValidateChatRequestMessage, axValidateChatResponseResult, axValidateProviderCapabilities, axWorkerRuntime, f, flow, fn, s };