Building with Muse Code
Build durable, auditable agents with Muse Code — the harness building blocks for safety, recovery, and orchestration. Part of the Cookbook.
Audit and resume agent sessions Replay any session exactly as it ran from an append-only event log, show who authorized each action, then kill the run mid-task and resume with no duplicate side effects.
Deterministic replay in CI Turn recorded events into a golden fixture and replay its model-context projection as a merge-blocking CI check.
Staged approvals Split a compound shell command into stages so safe ones auto-resolve while risky ones hold for review.
Contained execution Run every command in an OS sandbox that refuses to proceed unless containment is proven live.
Immutable guardrails The agent can't rewrite its own rules: guardrail edits stop for review and a shell write to the same path fails read-only at the sandbox.
Goal tracking Pin an objective once and the harness audits the work against acceptance checks before the goal can close.
Bundled skills Drive the built-in /plan, /grilling, /grill-with-docs, and /taste skills to plan, pressure-test, and build.