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 — self-improving agentic memory.
proto
transport
Transport layer for the Mubit SDK.

Structs§

AdvancedClient
Raw low-level control-plane surface, reached via Client::advanced. Functionally identical to the deprecated flat delegates on Client: every operation takes a free-form serializable payload and returns raw JSON. The typed helpers stay on Client itself.
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
LearnedOptions
Typed options for the learned() convenience helper.
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
ReceiveHandoffsOptions
Options for receive_handoffs — the receiver-side handoff inbox.
ReceivedHandoff
A handoff addressed to the querying agent, as surfaced by receive_handoffs. Thin typed wrapper over the raw query evidence — the well-known metadata fields are lifted out, and the untouched evidence item is kept in evidence.
RecordOutcomeOptions
RecordStepOutcomeOptions
ReflectOptions
RegisterAgentOptions
RememberBuilder
Phase 2.3: fluent builder for RememberOptions — replaces the 23-param flat construction with a grouped-chain API.
RememberOptions
RunScope
Guard returned by Client::run_scope. Restores the client’s previous ambient run id on Drop, or after RunScope::end_with_reflect.
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.