Skip to main content

Crate axllm

Crate axllm 

Source

Re-exports§

pub use mcp::event_route;
pub use mcp::event_target;
pub use mcp::AxEventCancellationToken;
pub use mcp::AxEventClock;
pub use mcp::AxEventCommand;
pub use mcp::AxEventContinuation;
pub use mcp::AxEventCorrelationKey;
pub use mcp::AxEventDeadLetter;
pub use mcp::AxEventEnvelope;
pub use mcp::AxEventInputBuilder;
pub use mcp::AxEventInputPlan;
pub use mcp::AxEventInvocationContext;
pub use mcp::AxEventPath;
pub use mcp::AxEventPublishReceipt;
pub use mcp::AxEventRoute;
pub use mcp::AxEventRouteBuilder;
pub use mcp::AxEventRun;
pub use mcp::AxEventRuntime;
pub use mcp::AxEventSink;
pub use mcp::AxEventSource;
pub use mcp::AxEventStore;
pub use mcp::AxEventTarget;
pub use mcp::AxExecutionContext;
pub use mcp::AxInMemoryEventStore;
pub use mcp::AxMCPCatalogSnapshot;
pub use mcp::AxMCPClient;
pub use mcp::AxMCPContinuationState;
pub use mcp::AxMCPEventSource;
pub use mcp::AxMCPOAuthOptions;
pub use mcp::AxMCPResourceSubscriptionPolicy;
pub use mcp::AxMCPScriptedTransport;
pub use mcp::AxMCPStdioTransport;
pub use mcp::AxMCPStreamableHTTPTransport;
pub use mcp::AxMCPTokenSet;
pub use mcp::AxMCPTransport;
pub use mcp::AxManualEventClock;
pub use mcp::AxSystemEventClock;
pub use mcp::AxUCPBinding;
pub use mcp::AxUCPClient;

Modules§

mcp

Structs§

AxACE
Agentic Context Engineering optimizer (Generator -> Reflector -> Curator).
AxAgent
AxBalancer
AxBalancerAdaptiveStrategy
AxBalancerCandidateScore
AxBalancerOptions
AxBalancerRouteStats
AxBalancerStatsKey
AxBalancerStatsObservation
AxBootstrapFewShot
AxCredentialRequest
AxError
AxFlow
AxGEPA
AxGen
AxInMemoryBalancerStatsStore
AxMemory
AxPlaybook
A live, evolving context playbook bound to a program. Mirrors the TypeScript AxPlaybook: grow it offline from examples (evolve), keep it growing online from live feedback (update), render it into the program context (apply_to), and persist/restore it (to_json/load). The evolution engine (ACE) is hidden behind this surface, just as optimize() hides GEPA.
AxResultPickerSample
AxSignature
Field
FieldType
MultiServiceRouter
OpenAICompatibleClient
ProcessCodeRuntime
ProcessCodeSession
ProviderRouter
RuntimeCapabilities
RuntimeEnvelope
ScriptedRealtimeTransport
ScriptedTransport
SignatureBuilder
Tool
ToolBuilder

Enums§

RealtimeTransport
Transport seam for the realtime turn driver: ScriptedRealtimeTransport for deterministic offline tests, the websocket-backed variant (behind the realtime feature) for live turns.

Traits§

AxAIClient
AxBalancerStatsStore
AxCodeRuntime
AxCodeSession
AxContextCacheRegistry
AxCredentialProvider
AxProgram
AxTransport
OptimizerEngine

Functions§

agent
agent_observer
Wrap a native non-fatal AxAgent observer as a JSON value usable in either constructor or forward option maps under onLoadedMemories/onLoadedSkills/ onUsedMemories/onUsedSkills.
agent_with_execution_context
agent_with_options
agent_with_search_callbacks
Construct an agent with native host search callbacks for memories and skills. The callbacks run host-side when the actor calls recall()/discover(); passing them at construction auto-enables the memory + skill subsystems (so the actor’s prompt advertises recall()/discover()), mirroring the TS/Python API. Callbacks take and return JSON values: memories (searches, alreadyLoaded) -> results, skills (searches) -> results.
ai
ax
create_balancer_route_stats
f
flow
flow_with_bindings
flow_with_execution_context
get_supported_ai_models
optimize
parse_json
playbook
Build an evolving context AxPlaybook for a program. Pass the student model under "studentAI" (and optionally "teacherAI"); the bound program runs with the student while reflection/curation use the teacher. When teacher is None the student is reused for reflection/curation.
run_conformance_fixture
runtime_protocol_fixture_server_main
s
sample_balancer_route_health
set_usage_observer
signature_from_spec
stable_stringify
tool
update_balancer_route_stats

Type Aliases§

AIClient
AnthropicClient
AxAIService
AxAgentClarificationError
AxBalancerEstimateCost
AxBalancerEventHook
AxBalancerFailureReason
AxBalancerRouteKey
AxBalancerRoutingEvent
AxBalancerSlice
AxBaseAI
AxHostCallable
A host callable the agent runtime can expose to actor code (e.g. the built-in llmQuery). JSON-typed both ways so it crosses the runtime boundary cleanly; Send + Sync so a concrete runtime may store it.
AxResult
AxResultPicker
AxUsageContext
AxUsageEvent
AxUsageObserver
GoogleGeminiClient
OpenAIResponsesClient
OptimizedArtifact
OptimizerEvaluator
RuntimeProtocolClient
RuntimeTransport