openclaw/extensions/typesafe
Jacqueline Henriksen f9e969c081
feat(decisions): add explicit evaluation and Labs opt-in foundation (#155134)
Add provider-neutral explicit Decision evaluation through the existing runtime, declared provider capabilities, and a default-off Labs consent foundation. Keep explicit evaluation independent of Labs and retire the unreleased TypeSafe-specific tool. No automatic consumer or public selection/local-availability inspection API is added.

Verified the registered core tool with real ONNX CPU inference, host-bound rejection before dispatch, and agent disablement. Preserve the contributor implementation and the reviewed Labs UI/config behavior.

Related: #155115, #155314, #155317

Co-authored-by: Jacqueline Henriksen <jjjhenriksen@gmail.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Co-authored-by: Josh Lehman <550978+jalehman@users.noreply.github.com>
2026-09-22 15:55:02 -07:00
..
assets fix(plugins): add missing categories and artwork for FaceTime, GitHub, ONNX, TypeSafe (#154888) 2026-09-21 07:57:43 -07:00
src feat(decisions): add explicit evaluation and Labs opt-in foundation (#155134) 2026-09-22 15:55:02 -07:00
index.ts feat(decisions): add explicit evaluation and Labs opt-in foundation (#155134) 2026-09-22 15:55:02 -07:00
LICENSE
openclaw.plugin.json feat(decisions): add explicit evaluation and Labs opt-in foundation (#155134) 2026-09-22 15:55:02 -07:00
package.json feat(decisions): add explicit evaluation and Labs opt-in foundation (#155134) 2026-09-22 15:55:02 -07:00
README.md feat(decisions): add explicit evaluation and Labs opt-in foundation (#155134) 2026-09-22 15:55:02 -07:00

TypeSafe AI for OpenClaw

Official external plugin for typed decisions with hosted TypeSafe AI Jev models or a local Kev System One server. It provides Choice, Score, and Boolean judgments through OpenClaw's shared decision-model API. Core supplies the provider-neutral decision_evaluate agent tool when the agent has an effective decisionModel selection, subject to normal tool policy and harness capabilities. No separate tool enablement is required.

Requires OpenClaw and plugin API 2026.9.6 or later. Released OpenClaw 2026.9.5 does not include the decision API.

openclaw plugins install @openclaw/typesafe

The ClawHub install spec is clawhub:@openclaw/typesafe. First publication is pending a supporting release. Enable the plugin, configure a protected TypeSafe credential, and select typesafe/jev-latest as your agent's decisionModel. With that selection, decision_evaluate sends supplied evidence to TypeSafe AI and incurs its normal usage charges. Other providers route evidence according to their own configuration.

For local Kev, configure plugins.entries.typesafe.config.baseUrl with the server's loopback origin, such as http://127.0.0.1:8009, omit apiKey, and select typesafe/kev-latest. The plugin calls /v1/systemone without a hosted credential. Start the server separately with your chosen checkpoint; the decision-model selection labels requests and does not download or load a model.

See the TypeSafe AI setup guide and decision-model documentation for configuration, rubrics, and API semantics.