@ax-llm/ax 19.0.21 → 19.0.22

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
@@ -2238,6 +2238,7 @@ interface AxCompileOptions {
2238
2238
  feedbackFn?: (args: Readonly<{
2239
2239
  prediction: unknown;
2240
2240
  example: AxExample$1;
2241
+ componentId?: string;
2241
2242
  }>) => string | string[] | undefined;
2242
2243
  skipPerfectScore?: boolean;
2243
2244
  perfectScore?: number;
@@ -2324,6 +2325,8 @@ interface AxOptimizedProgram<OUT = any> {
2324
2325
  converged: boolean;
2325
2326
  scoreHistory?: number[];
2326
2327
  configurationHistory?: Record<string, unknown>[];
2328
+ artifactFormatVersion?: number;
2329
+ instructionSchema?: string;
2327
2330
  applyTo<IN, T extends AxGenOut>(program: AxGen<IN, T>): void;
2328
2331
  }
2329
2332
  declare class AxOptimizedProgramImpl<OUT = any> implements AxOptimizedProgram<OUT> {
@@ -2349,6 +2352,8 @@ declare class AxOptimizedProgramImpl<OUT = any> implements AxOptimizedProgram<OU
2349
2352
  readonly converged: boolean;
2350
2353
  readonly scoreHistory?: number[];
2351
2354
  readonly configurationHistory?: Record<string, unknown>[];
2355
+ readonly artifactFormatVersion?: number;
2356
+ readonly instructionSchema?: string;
2352
2357
  constructor(config: {
2353
2358
  bestScore: number;
2354
2359
  stats: AxOptimizationStats;
@@ -2363,6 +2368,8 @@ declare class AxOptimizedProgramImpl<OUT = any> implements AxOptimizedProgram<OU
2363
2368
  converged: boolean;
2364
2369
  scoreHistory?: number[];
2365
2370
  configurationHistory?: Record<string, unknown>[];
2371
+ artifactFormatVersion?: number;
2372
+ instructionSchema?: string;
2366
2373
  });
2367
2374
  applyTo<IN, T extends AxGenOut>(program: AxGen<IN, T>): void;
2368
2375
  }
@@ -7334,124 +7341,13 @@ declare const axGlobals: {
7334
7341
  functionResultFormatter: AxFunctionResultFormatter;
7335
7342
  };
7336
7343
 
7337
- /**
7338
- * AxJudge - Polymorphic & Relativistic Evaluation Engine
7339
- *
7340
- * Unlike traditional metrics that rely on brittle assertions or "Gold Standard" datasets,
7341
- * AxJudge dynamically adapts its evaluation strategy based on available data.
7342
- *
7343
- * Key insight from "Escaping the Verifier" (RARO): It is easier and more robust for an LLM
7344
- * to compare two answers (Relativistic) than to assign an absolute score to one.
7345
- *
7346
- * Three Evaluation Modes:
7347
- * 1. **Absolute Mode** - When ground truth is available (unit test style)
7348
- * 2. **Relativistic Mode** - Compare student vs teacher output (RARO adversarial check)
7349
- * 3. **Reference-Free Mode** - Heuristic quality check when no comparison data exists
7350
- */
7351
-
7352
- /**
7353
- * Evaluation mode used by the judge.
7354
- */
7355
- type AxJudgeMode = 'absolute' | 'relativistic' | 'reference-free';
7356
- /**
7357
- * Result from a single evaluation.
7358
- */
7359
- interface AxJudgeResult {
7360
- /** Score from 0 to 1 */
7361
- score: number;
7362
- /** Explanation for the score */
7363
- reasoning: string;
7364
- /** Which evaluation mode was used */
7365
- mode: AxJudgeMode;
7366
- /** Winner in relativistic mode */
7367
- winner?: 'student' | 'teacher' | 'tie';
7368
- /** Quality tier in reference-free mode */
7369
- qualityTier?: string;
7370
- }
7371
7344
  type AxJudgeForwardOptions = Omit<AxProgramForwardOptions<string>, 'functions' | 'description'>;
7372
- /**
7373
- * Configuration for AxJudge.
7374
- */
7375
- interface AxJudgeOptions {
7376
- /** AI service to use for judging (should be >= student model quality) */
7345
+ interface AxJudgeOptions extends AxJudgeForwardOptions {
7377
7346
  ai: AxAIService;
7378
- /** Custom criteria for reference-free evaluation */
7379
7347
  criteria?: string;
7380
- /** Additional judge-specific guidance appended to the evaluation prompt */
7381
7348
  description?: string;
7382
- /** Whether to randomize A/B position in relativistic mode to reduce bias */
7383
7349
  randomizeOrder?: boolean;
7384
7350
  }
7385
- interface AxJudgeOptions extends AxJudgeForwardOptions {
7386
- }
7387
- type AxJudgeRubric = 'accuracy' | 'helpfulness' | 'relevance' | 'clarity' | 'completeness' | 'safety' | 'custom';
7388
- /**
7389
- * AxJudge - Polymorphic evaluation engine that automatically selects the best strategy.
7390
- *
7391
- * @example
7392
- * ```typescript
7393
- * const judge = new AxJudge(signature, { ai: teacherAI });
7394
- *
7395
- * // Absolute mode (with ground truth)
7396
- * const result1 = await judge.evaluate(
7397
- * { question: 'Capital of France?' },
7398
- * { answer: 'Paris' },
7399
- * { answer: 'Paris' } // expected
7400
- * );
7401
- *
7402
- * // Relativistic mode (compare student vs teacher)
7403
- * const result2 = await judge.evaluate(
7404
- * { question: 'Explain quantum computing' },
7405
- * studentResponse,
7406
- * teacherResponse
7407
- * );
7408
- *
7409
- * // Reference-free mode (no comparison data)
7410
- * const result3 = await judge.evaluate(
7411
- * { question: 'Write a poem' },
7412
- * { poem: 'Roses are red...' }
7413
- * );
7414
- * ```
7415
- */
7416
- declare class AxJudge<IN extends AxGenIn, OUT extends AxGenOut> {
7417
- private signature;
7418
- private options;
7419
- constructor(signature: AxSignature<IN, OUT>, options: AxJudgeOptions);
7420
- private buildForwardOptions;
7421
- private buildTaskDescription;
7422
- /**
7423
- * The main entry point. Automatically routes to the best strategy.
7424
- */
7425
- evaluate(input: IN, studentOutput: OUT, referenceOutput?: OUT): Promise<AxJudgeResult>;
7426
- /**
7427
- * Strategy 1: Absolute Mode (The "Unit Test")
7428
- * Used when we can directly compare against a ground truth.
7429
- */
7430
- private runAbsolute;
7431
- /**
7432
- * Strategy 2: Relativistic Mode (The "RARO" Adversarial Check)
7433
- * Compares student output against teacher output.
7434
- * Key insight: Comparative judgment is more reliable than absolute scoring.
7435
- */
7436
- private runRelativistic;
7437
- /**
7438
- * Strategy 3: Reference-Free Mode (The "Vibe Check")
7439
- * Evaluates against general heuristic criteria using discrete quality tiers.
7440
- *
7441
- * Per RARO paper: LLMs are more reliable at classification than numeric scoring.
7442
- * Using discrete tiers reduces variance and degeneracy issues.
7443
- */
7444
- private runReferenceFree;
7445
- /**
7446
- * Convert this judge to a metric function for use with optimizers.
7447
- * Uses relativistic mode when teacher output is available as expected.
7448
- */
7449
- toMetricFn(): AxMetricFn;
7450
- /**
7451
- * Get the signature being evaluated.
7452
- */
7453
- getSignature(): AxSignature<IN, OUT>;
7454
- }
7455
7351
 
7456
7352
  /**
7457
7353
  * AxStorage - Persistence layer for traces, checkpoints, and agent state.
@@ -7997,7 +7893,7 @@ interface AxLearnOptions {
7997
7893
  teacher: AxAIService;
7998
7894
  /** Maximum optimization rounds (default: 20) */
7999
7895
  budget?: number;
8000
- /** Custom metric function (if not provided, auto-generates using AxJudge) */
7896
+ /** Custom metric function (if not provided, auto-generates using typed AxGen evaluation) */
8001
7897
  metric?: AxMetricFn;
8002
7898
  /** Judge options when auto-generating metric */
8003
7899
  judgeOptions?: Partial<AxJudgeOptions>;
@@ -10018,6 +9914,71 @@ type RuntimeStateVariableProvenance = {
10018
9914
  code?: string;
10019
9915
  };
10020
9916
 
9917
+ declare const AX_AGENT_RECURSIVE_TARGET_IDS: {
9918
+ readonly shared: "root.actor.shared";
9919
+ readonly root: "root.actor.root";
9920
+ readonly recursive: "root.actor.recursive";
9921
+ readonly terminal: "root.actor.terminal";
9922
+ readonly responder: "root.responder";
9923
+ };
9924
+ type AxAgentRecursiveTargetId = (typeof AX_AGENT_RECURSIVE_TARGET_IDS)[keyof typeof AX_AGENT_RECURSIVE_TARGET_IDS];
9925
+ type AxAgentRecursiveNodeRole = 'root' | 'recursive' | 'terminal';
9926
+ type AxAgentRecursiveUsage = {
9927
+ promptTokens: number;
9928
+ completionTokens: number;
9929
+ totalTokens: number;
9930
+ };
9931
+ type AxAgentRecursiveTurn = {
9932
+ turn: number;
9933
+ code: string;
9934
+ output: string;
9935
+ isError: boolean;
9936
+ thought?: string;
9937
+ };
9938
+ type AxAgentRecursiveFunctionCall = {
9939
+ qualifiedName: string;
9940
+ name?: string;
9941
+ error?: string;
9942
+ };
9943
+ type AxAgentRecursiveTraceNode = {
9944
+ nodeId: string;
9945
+ parentId?: string;
9946
+ depth: number;
9947
+ role: AxAgentRecursiveNodeRole;
9948
+ taskDigest?: string;
9949
+ contextDigest?: string;
9950
+ completionType?: 'final' | 'ask_clarification';
9951
+ turnCount: number;
9952
+ childCount: number;
9953
+ actorTurns: AxAgentRecursiveTurn[];
9954
+ functionCalls: AxAgentRecursiveFunctionCall[];
9955
+ toolErrors: string[];
9956
+ localUsage: AxAgentRecursiveUsage;
9957
+ cumulativeUsage: AxAgentRecursiveUsage;
9958
+ children: AxAgentRecursiveTraceNode[];
9959
+ };
9960
+ type AxAgentRecursiveExpensiveNode = {
9961
+ nodeId: string;
9962
+ role: AxAgentRecursiveNodeRole;
9963
+ depth: number;
9964
+ taskDigest?: string;
9965
+ totalTokens: number;
9966
+ };
9967
+ type AxAgentRecursiveStats = {
9968
+ nodeCount: number;
9969
+ leafCount: number;
9970
+ maxDepth: number;
9971
+ recursiveCallCount: number;
9972
+ batchedFanOutCount: number;
9973
+ clarificationCount: number;
9974
+ errorCount: number;
9975
+ directAnswerCount: number;
9976
+ delegatedAnswerCount: number;
9977
+ rootLocalUsage: AxAgentRecursiveUsage;
9978
+ rootCumulativeUsage: AxAgentRecursiveUsage;
9979
+ topExpensiveNodes: AxAgentRecursiveExpensiveNode[];
9980
+ };
9981
+
10021
9982
  /**
10022
9983
  * Interface for agents that can be used as child agents.
10023
9984
  * Provides methods to get the agent's function definition and features.
@@ -10040,8 +10001,8 @@ type AxAgentIdentity = {
10040
10001
  type AxAgentFunctionModuleMeta = {
10041
10002
  namespace: string;
10042
10003
  title: string;
10043
- selectionCriteria: string;
10044
- description: string;
10004
+ selectionCriteria?: string;
10005
+ description?: string;
10045
10006
  };
10046
10007
  type AxAgentFunctionExample = {
10047
10008
  code: string;
@@ -10049,7 +10010,8 @@ type AxAgentFunctionExample = {
10049
10010
  description?: string;
10050
10011
  language?: string;
10051
10012
  };
10052
- type AxAgentFunction = AxFunction & {
10013
+ type AxAgentFunction = Omit<AxFunction, 'description'> & {
10014
+ description?: string;
10053
10015
  examples?: readonly AxAgentFunctionExample[];
10054
10016
  };
10055
10017
  type AxAgentFunctionGroup = AxAgentFunctionModuleMeta & {
@@ -10075,6 +10037,23 @@ type AxAgentStructuredClarification = {
10075
10037
  type AxAgentStateActionLogEntry = Pick<ActionLogEntry, 'turn' | 'code' | 'output' | 'actorFieldsOutput' | 'tags' | 'summary' | 'producedVars' | 'referencedVars' | 'stateDelta' | 'stepKind' | 'replayMode' | 'rank' | 'tombstone'>;
10076
10038
  type AxAgentStateCheckpointState = CheckpointSummaryState;
10077
10039
  type AxAgentStateRuntimeEntry = AxCodeSessionSnapshotEntry;
10040
+ type AxActorModelPolicy = {
10041
+ escalatedModel: string;
10042
+ baseModel?: string;
10043
+ escalateAtPromptChars?: number;
10044
+ escalateAtPromptCharsWhenCheckpointed?: number;
10045
+ recentErrorWindowTurns?: number;
10046
+ recentErrorThreshold?: number;
10047
+ discoveryStallTurns?: number;
10048
+ deescalateBelowPromptChars?: number;
10049
+ stableTurnsBeforeDeescalate?: number;
10050
+ minEscalatedTurns?: number;
10051
+ };
10052
+ type AxAgentStateActorModelState = {
10053
+ escalated: boolean;
10054
+ escalatedTurns: number;
10055
+ stableBelowThresholdTurns: number;
10056
+ };
10078
10057
  type AxAgentState = {
10079
10058
  version: 1;
10080
10059
  runtimeBindings: Record<string, unknown>;
@@ -10082,6 +10061,7 @@ type AxAgentState = {
10082
10061
  actionLogEntries: AxAgentStateActionLogEntry[];
10083
10062
  checkpointState?: AxAgentStateCheckpointState;
10084
10063
  provenance: Record<string, RuntimeStateVariableProvenance>;
10064
+ actorModelState?: AxAgentStateActorModelState;
10085
10065
  };
10086
10066
  declare class AxAgentClarificationError extends Error {
10087
10067
  readonly question: string;
@@ -10144,25 +10124,25 @@ type AxAgentEvalFunctionCall = {
10144
10124
  result?: AxFieldValue;
10145
10125
  error?: string;
10146
10126
  };
10147
- type AxAgentEvalPrediction<OUT = any> = {
10148
- completionType: 'final';
10149
- output: OUT;
10150
- clarification?: undefined;
10127
+ type AxAgentEvalPredictionShared = {
10151
10128
  actionLog: string;
10152
10129
  functionCalls: AxAgentEvalFunctionCall[];
10153
10130
  toolErrors: string[];
10154
10131
  turnCount: number;
10155
10132
  usage?: AxProgramUsage[];
10156
- } | {
10133
+ recursiveTrace?: AxAgentRecursiveTraceNode;
10134
+ recursiveStats?: AxAgentRecursiveStats;
10135
+ recursiveSummary?: string;
10136
+ };
10137
+ type AxAgentEvalPrediction<OUT = any> = (AxAgentEvalPredictionShared & {
10138
+ completionType: 'final';
10139
+ output: OUT;
10140
+ clarification?: undefined;
10141
+ }) | (AxAgentEvalPredictionShared & {
10157
10142
  completionType: 'ask_clarification';
10158
10143
  output?: undefined;
10159
10144
  clarification: AxAgentStructuredClarification;
10160
- actionLog: string;
10161
- functionCalls: AxAgentEvalFunctionCall[];
10162
- toolErrors: string[];
10163
- turnCount: number;
10164
- usage?: AxProgramUsage[];
10165
- };
10145
+ });
10166
10146
  type AxAgentEvalTask<IN = any> = {
10167
10147
  input: IN;
10168
10148
  criteria: string;
@@ -10191,7 +10171,7 @@ type AxAgentOptimizeOptions<_IN extends AxGenIn = AxGenIn, _OUT extends AxGenOut
10191
10171
  optimizerLogger?: AxOptimizerLoggerFunction;
10192
10172
  onProgress?: (progress: Readonly<AxOptimizationProgress>) => void;
10193
10173
  onEarlyStop?: (reason: string, stats: Readonly<AxOptimizationStats>) => void;
10194
- };
10174
+ } & Pick<AxOptimizerArgs, 'numTrials' | 'minibatch' | 'minibatchSize' | 'earlyStoppingTrials' | 'minImprovementThreshold' | 'sampleCount' | 'seed'>;
10195
10175
  type AxAgentOptimizeResult<OUT extends AxGenOut = AxGenOut> = AxParetoResult<OUT>;
10196
10176
  type AxAgentOptions<IN extends AxGenIn = AxGenIn> = Omit<AxProgramForwardOptions<string>, 'functions' | 'description'> & {
10197
10177
  debug?: boolean;
@@ -10266,12 +10246,15 @@ type AxAgentOptions<IN extends AxGenIn = AxGenIn> = Omit<AxProgramForwardOptions
10266
10246
  inputUpdateCallback?: AxAgentInputUpdateCallback<IN>;
10267
10247
  /** Sub-query execution mode (default: 'simple'). */
10268
10248
  mode?: 'simple' | 'advanced';
10249
+ /** Prompt detail level for the root Actor (default: 'detailed'). */
10250
+ promptLevel?: AxActorPromptLevel;
10251
+ /** Actor-only model escalation policy for prompt pressure or execution churn. */
10252
+ actorModelPolicy?: AxActorModelPolicy;
10269
10253
  /** Default forward options for recursive llmQuery sub-agent calls. */
10270
10254
  recursionOptions?: AxAgentRecursionOptions;
10271
10255
  /** Default forward options for the Actor sub-program. */
10272
10256
  actorOptions?: Partial<Omit<AxProgramForwardOptions<string>, 'functions'> & {
10273
10257
  description?: string;
10274
- promptLevel?: AxActorPromptLevel;
10275
10258
  }>;
10276
10259
  /** Default forward options for the Responder sub-program. */
10277
10260
  responderOptions?: Partial<Omit<AxProgramForwardOptions<string>, 'functions'> & {
@@ -10319,6 +10302,7 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
10319
10302
  private excludedAgentFunctions;
10320
10303
  private actorDescription?;
10321
10304
  private actorPromptLevel?;
10305
+ private actorModelPolicy?;
10322
10306
  private responderDescription?;
10323
10307
  private judgeOptions?;
10324
10308
  private recursionForwardOptions?;
@@ -10336,6 +10320,11 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
10336
10320
  private stateError;
10337
10321
  private runtimeBootstrapContext;
10338
10322
  private llmQueryBudgetState;
10323
+ private recursiveInstructionSlots;
10324
+ private baseActorDefinition;
10325
+ private recursiveEvalContext;
10326
+ private currentRecursiveTraceNodeId;
10327
+ private recursiveInstructionRoleOverride;
10339
10328
  private func;
10340
10329
  private _parentSharedFields;
10341
10330
  private _parentSharedAgents;
@@ -10344,6 +10333,11 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
10344
10333
  private _mergeAgentFunctionModuleMetadata;
10345
10334
  private _validateConfiguredSignature;
10346
10335
  private _validateAgentFunctionNamespaces;
10336
+ private _supportsRecursiveActorSlotOptimization;
10337
+ private _getRecursiveActorRole;
10338
+ private _applyRecursiveActorInstruction;
10339
+ private _setRecursiveInstructionSlot;
10340
+ private _copyRecursiveOptimizationStateTo;
10347
10341
  constructor({ ai, judgeAI, agentIdentity, agentModuleNamespace, signature, }: Readonly<{
10348
10342
  ai?: Readonly<AxAIService>;
10349
10343
  judgeAI?: Readonly<AxAIService>;
@@ -10410,6 +10404,11 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
10410
10404
  resetUsage(): void;
10411
10405
  getState(): AxAgentState | undefined;
10412
10406
  setState(state?: AxAgentState): void;
10407
+ private _createRecursiveOptimizationProxy;
10408
+ private _listOptimizationTargetDescriptors;
10409
+ private _beginRecursiveTraceCapture;
10410
+ private _finalizeRecursiveTraceCapture;
10411
+ private _recordEphemeralRecursiveUsage;
10413
10412
  optimize(dataset: Readonly<AxAgentEvalDataset<IN>>, options?: Readonly<AxAgentOptimizeOptions<IN, OUT>>): Promise<AxAgentOptimizeResult<OUT>>;
10414
10413
  private _createOptimizationProgram;
10415
10414
  private _createAgentOptimizeMetric;
@@ -10564,8 +10563,12 @@ interface AxCodeSession {
10564
10563
  * successful turns instead of replaying their full code blocks. Reliability-first
10565
10564
  * defaults still preserve recent evidence before deleting older low-value steps.
10566
10565
  * Best when token pressure matters more than raw replay detail.
10566
+ * - `checkpointed`: Keep full replay until the action log crosses a threshold, then
10567
+ * replace older successful history with a checkpoint summary while keeping recent
10568
+ * actions and unresolved errors fully visible. Best when you want conservative,
10569
+ * debugging-friendly replay until prompt pressure becomes real.
10567
10570
  */
10568
- type AxContextPolicyPreset = 'full' | 'adaptive' | 'lean';
10571
+ type AxContextPolicyPreset = 'full' | 'adaptive' | 'lean' | 'checkpointed';
10569
10572
  /**
10570
10573
  * Public context policy for the Actor loop.
10571
10574
  * Presets provide the common behavior; top-level toggles plus `state`,
@@ -10578,6 +10581,7 @@ interface AxContextPolicyConfig {
10578
10581
  * - `full`: prefer raw replay of earlier actions
10579
10582
  * - `adaptive`: balance replay detail with checkpoint compression while keeping more recent evidence visible
10580
10583
  * - `lean`: prefer live state + compact summaries over raw replay detail
10584
+ * - `checkpointed`: keep full replay until a threshold, then replace older successful turns with a checkpoint summary
10581
10585
  */
10582
10586
  preset?: AxContextPolicyPreset;
10583
10587
  /**
@@ -10595,6 +10599,7 @@ interface AxContextPolicyConfig {
10595
10599
  * - `full`: false
10596
10600
  * - `adaptive`: false
10597
10601
  * - `lean`: true
10602
+ * - `checkpointed`: false
10598
10603
  */
10599
10604
  pruneUsedDocs?: boolean;
10600
10605
  /**
@@ -10604,6 +10609,7 @@ interface AxContextPolicyConfig {
10604
10609
  * - `full`: false
10605
10610
  * - `adaptive`: true
10606
10611
  * - `lean`: true
10612
+ * - `checkpointed`: false
10607
10613
  */
10608
10614
  pruneErrors?: boolean;
10609
10615
  /** Runtime-state visibility controls. */
@@ -10629,7 +10635,7 @@ interface AxContextPolicyConfig {
10629
10635
  /** Expert-level overrides for the preset-derived internal policy. */
10630
10636
  expert?: {
10631
10637
  /** Controls how prior actor actions are replayed before checkpoint compression. */
10632
- replay?: 'full' | 'adaptive' | 'minimal';
10638
+ replay?: 'full' | 'adaptive' | 'minimal' | 'checkpointed';
10633
10639
  /** Number of most-recent actions that should always remain fully rendered. */
10634
10640
  recentFullActions?: number;
10635
10641
  /** Rank-based pruning of low-value actions. Off by default for built-in presets. */
@@ -10708,7 +10714,7 @@ declare function axBuildActorDefinition(baseDefinition: string | undefined, cont
10708
10714
  /** Agent functions available under namespaced globals in the JS runtime. */
10709
10715
  agentFunctions?: ReadonlyArray<{
10710
10716
  name: string;
10711
- description: string;
10717
+ description?: string;
10712
10718
  parameters: AxFunctionJSONSchema;
10713
10719
  returns?: AxFunctionJSONSchema;
10714
10720
  namespace: string;
@@ -11482,4 +11488,4 @@ declare class AxRateLimiterTokenUsage {
11482
11488
  acquire(tokens: number): Promise<void>;
11483
11489
  }
11484
11490
 
11485
- 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 AxActorPromptLevel, AxAgent, type AxAgentClarification, type AxAgentClarificationChoice, AxAgentClarificationError, type AxAgentClarificationKind, type AxAgentCompletionProtocol, type AxAgentConfig, type AxAgentDemos, type AxAgentEvalDataset, type AxAgentEvalFunctionCall, type AxAgentEvalPrediction, type AxAgentEvalTask, type AxAgentFunction, type AxAgentFunctionExample, type AxAgentFunctionGroup, type AxAgentInputUpdateCallback, type AxAgentJudgeOptions, type AxAgentOptimizeOptions, type AxAgentOptimizeResult, type AxAgentOptimizeTarget, type AxAgentOptions, type AxAgentRecursionOptions, type AxAgentState, type AxAgentStateActionLogEntry, type AxAgentStateCheckpointState, type AxAgentStateRuntimeEntry, type AxAgentStructuredClarification, type AxAgentTestCompletionPayload, type AxAgentTestResult, type AxAgentTurnCallbackArgs, type AxAgentic, 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 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, AxJudge, type AxJudgeForwardOptions, type AxJudgeMode, type AxJudgeOptions, type AxJudgeResult, type AxJudgeRubric, 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 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, 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 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 };
11491
+ 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 AxActorPromptLevel, AxAgent, type AxAgentClarification, type AxAgentClarificationChoice, AxAgentClarificationError, type AxAgentClarificationKind, type AxAgentCompletionProtocol, type AxAgentConfig, type AxAgentDemos, type AxAgentEvalDataset, type AxAgentEvalFunctionCall, type AxAgentEvalPrediction, type AxAgentEvalTask, type AxAgentFunction, type AxAgentFunctionExample, type AxAgentFunctionGroup, type AxAgentInputUpdateCallback, type AxAgentJudgeOptions, type AxAgentOptimizeOptions, type AxAgentOptimizeResult, type AxAgentOptimizeTarget, type AxAgentOptions, type AxAgentRecursionOptions, type AxAgentRecursiveExpensiveNode, type AxAgentRecursiveFunctionCall, type AxAgentRecursiveNodeRole, type AxAgentRecursiveStats, type AxAgentRecursiveTargetId, type AxAgentRecursiveTraceNode, type AxAgentRecursiveTurn, type AxAgentRecursiveUsage, type AxAgentState, type AxAgentStateActionLogEntry, type AxAgentStateActorModelState, type AxAgentStateCheckpointState, type AxAgentStateRuntimeEntry, type AxAgentStructuredClarification, type AxAgentTestCompletionPayload, type AxAgentTestResult, type AxAgentTurnCallbackArgs, type AxAgentic, 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 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 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, 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 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 };