Skip to main content

Crate mubit_sdk

Crate mubit_sdk 

Source

Modules§

config
Client configuration types.
contract
domains
Domain client types for auth, core, and control APIs.
error
Error types for the Mubit SDK.
helpers
High-level helper methods on the Client.
learn
MuBit Learn — Closed-loop agentic memory.
proto
transport
Transport layer for the Mubit SDK.

Structs§

ArchiveBuilder
Phase 2.3: fluent builder for ArchiveOptions — replaces the 16-param flat construction with a grouped-chain API.
ArchiveOptions
ArtifactProvenance
Phase 2.3: grouped artefact provenance. Replaces the five-parameter (origin_agent_id / source_attempt_id / source_tool / labels / family) cluster on ArchiveOptions.
AuthClient
CheckpointOptions
CircuitBreakOptions
Phase 1.5: options for circuit_break. The optional reason is recorded on the snapshot lesson and the CIRCUIT_BROKEN event payload — pass a short tag like “repeated_query” or “drift_detected” so later diagnosis is easier.
Client
ClientConfig
ControlClient
CoreClient
DereferenceOptions
DiagnoseOptions
FeedbackOptions
ForgetOptions
GetContextOptions
HandoffOptions
LessonMeta
Phase 2.3: grouped lesson metadata. Replaces the flat lesson_* quartet on RememberOptions so customers don’t have to remember which of twenty-odd parameters belong together. Used via RememberBuilder::lesson(LessonMeta { ... }).
ListAgentsOptions
MemoryHealthOptions
OptimizePromptOptions
Phase 2.4: typed options for optimize_prompt — produces a challenger prompt version that Phase 1.1’s evaluator will surface as ready_for_promotion once it accumulates enough outcomes. The high-level wrapper on Client hides the raw OptimizePromptRequest shape and defaults auto_activate to false (customers activate deliberately).
OptimizeSkillOptions
Phase 2.4: typed options for optimize_skill.
RecallOptions
RecordOutcomeOptions
RecordStepOutcomeOptions
ReflectOptions
RegisterAgentOptions
RememberBuilder
Phase 2.3: fluent builder for RememberOptions — replaces the 23-param flat construction with a grouped-chain API.
RememberOptions
SessionScope
Phase 2.3: grouped session/agent/run scope. Caller passes one builder method instead of three flat fields.
SurfaceStrategiesOptions

Enums§

SdkError
TransportFailureKind
TransportMode

Type Aliases§

Result
ValueStream
A boxed stream of JSON values for server-streaming RPCs.