Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content
Architecture

Control Plane (State Runtime)

Use MuBit control APIs as the stable integration boundary for memory, context assembly, diagnostics, the learning loop, and coordination.

The control plane is the primary public integration boundary for current MuBit. It combines the memory lifecycle, compaction-safe context assembly, diagnostics, learning loop, coordination primitives, and structured run-scoped variables.

If your team needs one stable runtime boundary for long-running AI systems, standardize on the control plane first.

Core workflow model

WorkflowRecommended surfaces
Memory write/readremember, recall, raw control.ingest, raw control.query
Context assemblygetContext / get_context, /v2/control/context
Learning loopreflect, recordOutcome / record_outcome, surfaceStrategies / surface_strategies
DiagnosticsmemoryHealth / memory_health, diagnose
CoordinationregisterAgent / register_agent, handoff, feedback

Operating guidance

  • Use one deterministic run_id / session_id strategy.
  • Prefer helper-first SDK methods for application code.
  • Use checkpoint before compaction or risky transitions.
  • Use getContext rather than rebuilding long prompts manually.

Failure modes and troubleshooting

SymptomRoot causeFix
Stale or weak responsesContext was built manually and inconsistentlyStandardize on getContext() / get_context()
The system does not improve across attemptsReflection or outcome recording is missingPair reflect() with recordOutcome()
Multi-agent behavior driftsRoles are implicitRegister agents and persist handoffs / feedback

Next steps