axllm 24.0.8

Generated Ax runtime library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
{
  "schema_version": "axir-api-v1",
  "axir_version": "0.1",
  "target": "rust",
  "package_name": "axllm",
  "sections": [
    {
      "id": "signatures",
      "title": "Signatures",
      "summary": "Describe typed Ax inputs and outputs once, then reuse that shape for schemas, prompts, validation, tools, and structured results.",
      "symbols": [
        {
          "target_name": "rust",
          "canonical_name": "s",
          "public_name": "s",
          "kind": "function",
          "description": "Parse an Ax string signature into the target language signature object.",
          "form": "s(spec: \u0026str)",
          "returns": "AxResult\u003cAxSignature\u003e",
          "example": "let sig = s(\"question:string -\u003e answer:string\")?;"
        },
        {
          "target_name": "rust",
          "canonical_name": "f",
          "public_name": "f",
          "kind": "function",
          "description": "Build signatures and field types fluently when the target has a fluent helper.",
          "form": "f().input(...).output(...).build()",
          "important_options": [
            "input fields",
            "output fields",
            "field descriptions",
            "constraints"
          ],
          "returns": "signature builder or field factory"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxSignature",
          "public_name": "AxSignature",
          "kind": "type",
          "description": "Parsed signature with input/output fields, descriptions, and JSON schema helpers.",
          "form": "AxSignature",
          "important_options": [
            "inputs",
            "outputs",
            "description"
          ],
          "returns": "signature object"
        }
      ]
    },
    {
      "id": "axgen",
      "title": "AxGen",
      "summary": "Run structured generation with Core-owned prompts, indexed multi-sampling, result selection, tool loops, retries, streaming folds, traces, usage, examples, and field processors.",
      "symbols": [
        {
          "target_name": "rust",
          "canonical_name": "ax",
          "public_name": "ax",
          "kind": "function",
          "description": "Create an AxGen program from a string or parsed signature.",
          "form": "ax(spec: \u0026str)",
          "important_options": [
            "functions",
            "examples",
            "demos",
            "sample count",
            "result picker",
            "modelConfig",
            "maxRetries",
            "streaming assertions",
            "field processors"
          ],
          "returns": "AxResult\u003cAxGen\u003e",
          "example": "let qa = ax(\"question:string -\u003e answer:string\")?;"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxGen",
          "public_name": "AxGen",
          "kind": "type",
          "description": "Structured generation program with indexed multi-sampling, winner selection, forward, streaming, optimization, trace, usage, and tool-call behavior.",
          "form": "AxGen",
          "important_options": [
            "signature",
            "functions",
            "examples",
            "demos",
            "sample count",
            "result picker",
            "memory",
            "prompt template"
          ],
          "returns": "program object"
        }
      ]
    },
    {
      "id": "axai",
      "title": "AxAI",
      "summary": "Call supported providers through the shared provider descriptor registry, scripted transports, routers, and balancers.",
      "symbols": [
        {
          "target_name": "rust",
          "canonical_name": "ai",
          "public_name": "ai",
          "kind": "function",
          "description": "Create a provider client from a named deployment profile and options.",
          "form": "ai(provider, options)",
          "important_options": [
            "api key or credential provider",
            "model",
            "api URL",
            "headers",
            "transport"
          ],
          "returns": "AxResult\u003cOpenAICompatibleClient\u003e",
          "example": "let client = ai(\"openai\", json!({\"apiKey\": std::env::var(\"OPENAI_API_KEY\")?}))?;"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxCredentialRequest",
          "public_name": "AxCredentialRequest",
          "kind": "type",
          "description": "Request metadata passed to a renewable credential callback for every transport attempt.",
          "form": "AxCredentialRequest",
          "important_options": [
            "profile",
            "operation",
            "method",
            "URL"
          ],
          "returns": "credential request"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxCredentialProvider",
          "public_name": "AxCredentialProvider",
          "kind": "interface",
          "description": "Return fresh request headers that override static profile authentication.",
          "form": "dyn AxCredentialProvider",
          "important_options": [
            "chat",
            "stream",
            "embeddings",
            "Responses",
            "audio",
            "retries"
          ],
          "returns": "header map or credential error"
        },
        {
          "target_name": "rust",
          "canonical_name": "OpenAICompatibleClient",
          "public_name": "OpenAICompatibleClient",
          "kind": "type",
          "description": "OpenAI-compatible chat, stream, embedding, audio, and realtime provider boundary.",
          "form": "OpenAICompatibleClient / ai(provider, options)",
          "important_options": [
            "api key",
            "model",
            "base URL",
            "transport"
          ],
          "returns": "provider client"
        },
        {
          "target_name": "rust",
          "canonical_name": "OpenAIResponsesClient",
          "public_name": "OpenAIResponsesClient",
          "kind": "type",
          "description": "OpenAI Responses provider mapping using the same Core-owned request and response contract.",
          "form": "OpenAIResponsesClient / ai(provider, options)",
          "important_options": [
            "api key",
            "model",
            "audio",
            "realtime"
          ],
          "returns": "provider client"
        },
        {
          "target_name": "rust",
          "canonical_name": "GoogleGeminiClient",
          "public_name": "GoogleGeminiClient",
          "kind": "type",
          "description": "Gemini provider mapping for chat, streaming, media, tools, embeddings, and usage normalization.",
          "form": "GoogleGeminiClient / ai(provider, options)",
          "important_options": [
            "api key",
            "model",
            "embed model"
          ],
          "returns": "provider client"
        },
        {
          "target_name": "rust",
          "canonical_name": "AnthropicClient",
          "public_name": "AnthropicClient",
          "kind": "type",
          "description": "Anthropic provider mapping for messages, thinking, cache control, streaming, and usage normalization.",
          "form": "AnthropicClient / ai(provider, options)",
          "important_options": [
            "api key",
            "model",
            "thinking",
            "cache control"
          ],
          "returns": "provider client"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxUsageContext",
          "public_name": "AxUsageContext",
          "kind": "type",
          "description": "Application attribution merged from service defaults and per-call overrides.",
          "form": "AxUsageContext",
          "important_options": [
            "tenant",
            "user",
            "request",
            "run",
            "feature",
            "attributes"
          ],
          "returns": "usage context"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxUsageEvent",
          "public_name": "AxUsageEvent",
          "kind": "type",
          "description": "Normalized token usage and correlation data for one completed chat or embedding operation.",
          "form": "AxUsageEvent",
          "important_options": [
            "provider",
            "model",
            "tokens",
            "context",
            "correlation IDs",
            "streaming"
          ],
          "returns": "usage event"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxUsageObserver",
          "public_name": "AxUsageObserver",
          "kind": "interface",
          "description": "Best-effort process-wide callback for normalized usage events.",
          "form": "AxUsageObserver",
          "important_options": [
            "fail-open delivery",
            "synchronous enqueue"
          ],
          "returns": "usage observer"
        },
        {
          "target_name": "rust",
          "canonical_name": "set_usage_observer",
          "public_name": "set_usage_observer",
          "kind": "function",
          "description": "Register, replace, or clear the process-wide usage observer.",
          "form": "set_usage_observer(observer)",
          "important_options": [
            "observer",
            "clear"
          ],
          "returns": "void",
          "example": "set_usage_observer(Some(Arc::new(move |event| events.lock().unwrap().push(event))));"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxBalancer",
          "public_name": "AxBalancer",
          "kind": "type",
          "description": "Retry and route requests across multiple provider services, with opt-in adaptive cost, reliability, and deadline routing.",
          "form": "AxBalancer",
          "important_options": [
            "services",
            "retry policy",
            "capability requirements",
            "adaptive strategy"
          ],
          "returns": "AI service"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxBalancerAdaptiveStrategy",
          "public_name": "AxBalancerAdaptiveStrategy",
          "kind": "type",
          "description": "Configure adaptive provider routing without changing the ordered default.",
          "form": "AxBalancerAdaptiveStrategy",
          "important_options": [
            "deadline",
            "bad outcome cost",
            "expected tokens",
            "stable route keys",
            "slice",
            "stats store",
            "routing events"
          ],
          "returns": "adaptive strategy"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxBalancerStatsStore",
          "public_name": "AxBalancerStatsStore",
          "kind": "interface",
          "description": "Store shared adaptive decision state with atomic observations.",
          "form": "AxBalancerStatsStore",
          "important_options": [
            "get",
            "observe"
          ],
          "returns": "stats store"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxInMemoryBalancerStatsStore",
          "public_name": "AxInMemoryBalancerStatsStore",
          "kind": "type",
          "description": "Thread-safe in-memory adaptive stats store.",
          "form": "AxInMemoryBalancerStatsStore",
          "returns": "stats store"
        },
        {
          "target_name": "rust",
          "canonical_name": "create_balancer_route_stats",
          "public_name": "create_balancer_route_stats",
          "kind": "function",
          "description": "Create neutral adaptive route statistics.",
          "form": "create_balancer_route_stats",
          "returns": "route stats"
        },
        {
          "target_name": "rust",
          "canonical_name": "update_balancer_route_stats",
          "public_name": "update_balancer_route_stats",
          "kind": "function",
          "description": "Purely reduce one success or failure observation into route statistics.",
          "form": "update_balancer_route_stats",
          "important_options": [
            "current stats",
            "observation"
          ],
          "returns": "route stats"
        },
        {
          "target_name": "rust",
          "canonical_name": "sample_balancer_route_health",
          "public_name": "sample_balancer_route_health",
          "kind": "function",
          "description": "Sample failure and deadline-miss probability for adaptive exploration.",
          "form": "sample_balancer_route_health",
          "important_options": [
            "route stats",
            "deadline"
          ],
          "returns": "sampled health"
        },
        {
          "target_name": "rust",
          "canonical_name": "MultiServiceRouter",
          "public_name": "MultiServiceRouter",
          "kind": "type",
          "description": "Choose a service by capability or model routing policy.",
          "form": "MultiServiceRouter",
          "important_options": [
            "services",
            "routing"
          ],
          "returns": "AI service"
        },
        {
          "target_name": "rust",
          "canonical_name": "ProviderRouter",
          "public_name": "ProviderRouter",
          "kind": "type",
          "description": "Route requests by capability, preserving native media for supporting providers and degrading only when required.",
          "form": "ProviderRouter",
          "important_options": [
            "providers",
            "routing",
            "processing"
          ],
          "returns": "AI service"
        }
      ]
    },
    {
      "id": "agents-rlm",
      "title": "Agents And RLM",
      "summary": "Run AxAgent through the RLM executor loop with stage instructions, validated evidence citations, persistent playbooks, and actor-code execution through an AxCodeRuntime session.",
      "symbols": [
        {
          "target_name": "rust",
          "canonical_name": "agent",
          "public_name": "agent",
          "kind": "function",
          "description": "Create an AxAgent from a signature and agent/runtime options.",
          "form": "agent(spec: \u0026str)",
          "important_options": [
            "name",
            "description",
            "runtime",
            "maxSteps",
            "context fields",
            "discovery",
            "recall",
            "functions",
            "skills",
            "skillsCatalog",
            "memoriesCatalog",
            "relevanceRanking",
            "load observers",
            "used observers",
            "citations",
            "playbook",
            "instruction",
            "instructionAddenda"
          ],
          "returns": "AxResult\u003cAxAgent\u003e",
          "example": "let helper = agent(\"query:string -\u003e answer:string\")?;"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxAgent",
          "public_name": "AxAgent",
          "kind": "type",
          "description": "RLM agent with Core-owned envelopes, complete runtime-state export/restore, traces, discovery, recall, loaded skills and memories, usage observers, delegation, validated citations, stage instructions, persistent run-end learning, and verified playbook evolution.",
          "form": "AxAgent",
          "important_options": [
            "executor model",
            "runtime",
            "policy",
            "context",
            "skills",
            "memories",
            "relevance ranking",
            "observers",
            "runtime state",
            "optimizer metadata",
            "citations",
            "playbook"
          ],
          "returns": "agent program"
        }
      ]
    },
    {
      "id": "flow",
      "title": "Flow",
      "summary": "Compose AxGen, AxAgent, and nested flows into a portable program graph.",
      "symbols": [
        {
          "target_name": "rust",
          "canonical_name": "flow",
          "public_name": "flow",
          "kind": "function",
          "description": "Create an AxFlow program graph or compile the portable Mermaid shorthand.",
          "form": "flow(source) / flow_with_bindings(source, bindings)",
          "important_options": [
            "nodes",
            "execute mappers",
            "conditions",
            "cache",
            "returns",
            "Mermaid roundtrip"
          ],
          "returns": "AxFlow",
          "example": "let wf = flow(\"workflow\");"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxFlow",
          "public_name": "AxFlow",
          "kind": "type",
          "description": "Workflow graph with Core-owned planning, cache keys, state merge, child aggregation, optimization, and returns projection.",
          "form": "AxFlow",
          "important_options": [
            "steps",
            "state",
            "parallel groups",
            "returns"
          ],
          "returns": "flow program"
        }
      ]
    },
    {
      "id": "tools",
      "title": "Tools",
      "summary": "Expose host functions to AxGen and AxAgent with typed argument and return schemas.",
      "symbols": [
        {
          "target_name": "rust",
          "canonical_name": "fn",
          "public_name": "tool",
          "kind": "function",
          "description": "Build a typed function tool. Rust uses `tool` because `fn` is reserved.",
          "form": "tool(name).description(...).arg(...).handler(...).build()",
          "important_options": [
            "name",
            "description",
            "args",
            "returns",
            "handler"
          ],
          "returns": "ToolBuilder",
          "example": "let search = tool(\"search\").description(\"Search docs\").build();"
        },
        {
          "target_name": "rust",
          "canonical_name": "Tool",
          "public_name": "Tool",
          "kind": "type",
          "description": "Callable tool descriptor with JSON-schema-compatible parameters and a host handler.",
          "form": "Tool",
          "important_options": [
            "parameters",
            "returns",
            "handler"
          ],
          "returns": "tool descriptor"
        }
      ]
    },
    {
      "id": "mcp",
      "title": "MCP",
      "summary": "Use MCP clients and transports while keeping JSON-RPC lifecycle, tools, prompts, resources, OAuth, cancellation, and SSRF checks aligned.",
      "symbols": [
        {
          "target_name": "rust",
          "canonical_name": "AxMCPClient",
          "public_name": "AxMCPClient",
          "kind": "type",
          "description": "MCP client that lists tools/prompts/resources and converts MCP tools to Ax functions.",
          "form": "AxMCPClient::new(transport, options)",
          "important_options": [
            "transport",
            "client info",
            "roots",
            "tool overrides"
          ],
          "returns": "MCP client",
          "example": "let client = AxMCPClient::new(transport, json!({}));"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxMCPStreamableHTTPTransport",
          "public_name": "AxMCPStreamableHTTPTransport",
          "kind": "type",
          "description": "Streamable HTTP transport with session headers, OAuth options, and SSRF protection.",
          "form": "AxMCPStreamableHTTPTransport",
          "important_options": [
            "endpoint",
            "headers",
            "OAuth",
            "SSRF protection"
          ],
          "returns": "MCP transport"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxMCPStdioTransport",
          "public_name": "AxMCPStdioTransport",
          "kind": "type",
          "description": "Stdio transport with JSON-RPC framing for local MCP servers.",
          "form": "AxMCPStdioTransport",
          "important_options": [
            "command",
            "args",
            "env"
          ],
          "returns": "MCP transport"
        }
      ]
    },
    {
      "id": "runtime-profiles",
      "title": "Runtime Profiles",
      "summary": "Run RLM actor code through the portable AxCodeRuntime and optional target-specific runtime profiles.",
      "symbols": [
        {
          "target_name": "rust",
          "canonical_name": "ProcessCodeRuntime",
          "public_name": "ProcessCodeRuntime",
          "kind": "type",
          "description": "Process/JSONL runtime adapter for actor-code sessions and runtime protocol tests.",
          "form": "ProcessCodeRuntime::new(command)",
          "important_options": [
            "command",
            "env",
            "cwd",
            "timeout"
          ],
          "returns": "AxCodeRuntime",
          "example": "let runtime = ProcessCodeRuntime::new(vec![\"node\".into(), \"runtime-server.mjs\".into()]);"
        },
        {
          "target_name": "rust",
          "canonical_name": "RuntimeCapabilities",
          "public_name": "RuntimeCapabilities",
          "kind": "type",
          "description": "Runtime capability envelope visible to the agent runtime policy.",
          "form": "RuntimeCapabilities",
          "important_options": [
            "language",
            "snapshot",
            "patch",
            "abort",
            "usage instructions"
          ],
          "returns": "capability record"
        },
        {
          "target_name": "rust",
          "canonical_name": "RuntimeEnvelope",
          "public_name": "RuntimeEnvelope",
          "kind": "type",
          "description": "Actor primitive envelope for final, clarification, discovery, recall, used, guidance, and runtime results.",
          "form": "RuntimeEnvelope",
          "important_options": [
            "type",
            "args",
            "result",
            "error"
          ],
          "returns": "runtime envelope"
        },
        {
          "target_name": "rust",
          "canonical_name": "runtime-profile:javascript-quickjs",
          "public_name": "javascript-quickjs",
          "kind": "runtime-profile",
          "description": "Optional runtime profile for javascript actor code.",
          "form": "tools/axir verify --targets rust --runtime-profiles javascript-quickjs",
          "important_options": [
            "actor language: javascript",
            "support mode: embedded",
            "dependency mode: optional-feature",
            "feature gate: runtime-quickjs"
          ],
          "returns": "AxCodeRuntime-compatible actor execution profile"
        }
      ]
    },
    {
      "id": "optimizers",
      "title": "Optimizers",
      "summary": "Optimize Ax programs through BootstrapFewShot -\u003e GEPA composition and evolve program or agent playbooks through grounded, budgeted, rollback-safe learning.",
      "symbols": [
        {
          "target_name": "rust",
          "canonical_name": "optimize",
          "public_name": "optimize",
          "kind": "function",
          "description": "Convenience optimizer helper that composes AxBootstrapFewShot before AxGEPA and returns an artifact without applying final component changes.",
          "form": "optimize(program, examples, options)",
          "important_options": [
            "student/client",
            "teacher/reflection client",
            "metric budget",
            "bootstrap"
          ],
          "returns": "AxResult\u003cOptimizedArtifact\u003e",
          "example": "let artifact = optimize(\u0026mut qa, train, json!({\"maxMetricCalls\": 100}))?;"
        },
        {
          "target_name": "rust",
          "canonical_name": "playbook",
          "public_name": "playbook",
          "kind": "function",
          "description": "Bind an ACE-backed playbook to a program; agents also expose an agent-bound playbook handle.",
          "form": "playbook(program, student, teacher, options)",
          "important_options": [
            "student/client",
            "teacher",
            "seed snapshot",
            "online updates",
            "verification budget"
          ],
          "returns": "AxPlaybook",
          "example": "let pb = playbook(program, student, None::\u003cRc\u003cRefCell\u003cOpenAICompatibleClient\u003e\u003e\u003e, json!({}));"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxPlaybook",
          "public_name": "AxPlaybook",
          "kind": "type",
          "description": "Persistent playbook with render/update/snapshot operations and agent-bound verified evolve over train/validation task sets.",
          "form": "AxPlaybook / agent.playbook(...)",
          "important_options": [
            "verify",
            "minHeldInGain",
            "epsilon",
            "runsPerTask",
            "maxMetricCalls",
            "maxProposals"
          ],
          "returns": "playbook handle"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxBootstrapFewShot",
          "public_name": "AxBootstrapFewShot",
          "kind": "type",
          "description": "Few-shot demonstration optimizer that selects successful evaluator rollouts before prompt/component evolution.",
          "form": "AxBootstrapFewShot::new(options)",
          "important_options": [
            "quality threshold",
            "max demos",
            "max rounds",
            "batch size"
          ],
          "returns": "optimizer engine",
          "example": "let bootstrap = AxBootstrapFewShot::new(json!({\"qualityThreshold\": 0.7}));"
        },
        {
          "target_name": "rust",
          "canonical_name": "AxGEPA",
          "public_name": "AxGEPA",
          "kind": "type",
          "description": "Generated GEPA optimizer engine with Core-owned reflection, Pareto, bootstrap, and selector-state behavior.",
          "form": "AxGEPA::new(reflection, options)",
          "important_options": [
            "reflection client",
            "budget",
            "metric",
            "candidate count"
          ],
          "returns": "optimizer engine",
          "example": "let engine = AxGEPA::new(reflection_client, json!({}));"
        },
        {
          "target_name": "rust",
          "canonical_name": "OptimizerEngine",
          "public_name": "OptimizerEngine",
          "kind": "interface",
          "description": "Optimizer boundary consumed by AxGen, AxAgent, and AxFlow optimization helpers.",
          "form": "OptimizerEngine::optimize(request, evaluator)",
          "important_options": [
            "request",
            "evaluator"
          ],
          "returns": "optimized artifact"
        },
        {
          "target_name": "rust",
          "canonical_name": "OptimizerEvaluator",
          "public_name": "OptimizerEvaluator",
          "kind": "interface",
          "description": "Evaluator callback boundary used by generated optimizers.",
          "form": "OptimizerEvaluator::evaluate(request)",
          "important_options": [
            "dataset rows",
            "candidate map",
            "evidence"
          ],
          "returns": "score/evidence result"
        }
      ]
    },
    {
      "id": "errors-values",
      "title": "Errors And Values",
      "summary": "Handle target-native errors and dynamic values at Ax host boundaries.",
      "symbols": [
        {
          "target_name": "rust",
          "canonical_name": "AxError",
          "public_name": "AxError",
          "kind": "type",
          "description": "Target-native error envelope for validation, provider, runtime, MCP, and optimizer failures.",
          "form": "AxError with target-native error handling",
          "important_options": [
            "category",
            "message",
            "status",
            "code",
            "retryable"
          ],
          "returns": "error"
        },
        {
          "target_name": "rust",
          "canonical_name": "Value",
          "public_name": "serde_json::Value",
          "kind": "type",
          "description": "Dynamic JSON-like value boundary used by generated package APIs, tools, providers, MCP, and runtime sessions.",
          "form": "serde_json::Value",
          "important_options": [
            "string",
            "number",
            "boolean",
            "object",
            "array",
            "null"
          ],
          "returns": "dynamic value"
        }
      ]
    }
  ]
}