Repository navigation
v1.3.0
The SDK release: budgets for embedded agents, one end-to-end example of a
governed agent in a Rust program, microclaw skill validate for the Agent
Skills spec, and a comparison with ZeroClaw as a library. It also removes the
two legacy proactive loops. Schema unchanged; /api/v1 only grows. The SDK API
only grows (cargo-semver-checks: no semver update required).
Added
- SDK budgets:
MicroClawBuilder::budget(Budget)with tokens or USD per run, per session, per session per calendar day and per day for all sessions. A run that would start past a limit is refused before the model is called. A run that crosses one stops at the next step boundary, after every tool call that ran has kept its result. Both fail with the newError::BudgetExceeded/ErrorKind::BudgetExceeded(RuntimeErrorCode::BudgetExceededon the wire). Tests:crates/microclaw/tests/budgets.rs. budgets.per_turn_tokens/budgets.per_turn_cost_usdfor the Server: one interactive turn, checked between model calls (the SDK'sper_run_*).- The refund desk (
crates/microclaw/examples/refund_desk/): host tools, aToolGaterefund policy (small refunds go through, large ones are refused, the rest wait for a person), in-run approvals, a budget, andallow_toolsso nothing else is offered.tests/refund_desk.rstests the same policy module offline withScriptedModel: each policy path, plus the tool's own check. Walkthrough:site/docs/sdk-governed-agent.md. microclaw skill validate <dir> [--json]checks a skill or a directory of skills against the Agent Skills specification and needs no config file:- Errors: the
namerule and the match with the directory name, a requireddescriptionof at most 1024 characters,compatibilityof at most 500 characters, and the shape ofmetadataandallowed-tools. - Warnings: unknown frontmatter keys, and a body over 500 lines or about 5,000 tokens.
- All 45 bundled skills pass, and a test keeps it that way. Loading stays lenient.
allowed-toolsis documented as informational: a skill never pre-approves a tool.
- Errors: the
site/docs/sdk-vs-zeroclaw.md: the MicroClaw SDK and ZeroClaw 0.9 compared as libraries for embedding. Every ZeroClaw fact links its source or is marked "not verified".
Removed
- The legacy proactive loops
interjection(unprompted group remarks) andidle_checkin(a message after a long silence), superseded in 1.2.0 by the proactive loop. A config that still has either section fails to load with the fix named: setproactive.enabled: truewithproactive.group_interjection/proactive.idle_checkin_hours, which add the motive check, quiet hours, a daily cost cap and the decision log. No compatibility shim.
Changed
pin-project-lite0.2.17, which was yanked, is replaced by 0.2.19 in both lockfiles.- The live-eval workflow no longer runs every Monday: it is now
.github/workflows/eval-live.yml(Live Eval) and runs only when started by hand, since a full run spends model tokens.
Full changelog: v1.2.6...v1.3.0