Protocol-first
Use @ruleoak/protocol to make policies, decisions, and evidence portable across languages and adapters.
RuleOak
Packages
RuleOak v0.1.0 is structured so developers can adopt the protocol alone, embed the runtime, or use the CLI as a local guardrail.
| Package | License | Developer purpose |
|---|---|---|
@ruleoak/protocol | MIT | Shared policy, decision, evidence, and replay contracts. Use this when you need stable types across adapters or frameworks. |
@ruleoak/core | Apache-2.0 | Policy evaluator, fail-closed decision model, evidence recorder, approval semantics, and replay primitives. |
@ruleoak/cli | Apache-2.0 | Command-line gate for demos, local checks, scripted workflows, and CI-friendly governance experiments. |
Use @ruleoak/protocol to make policies, decisions, and evidence portable across languages and adapters.
Use @ruleoak/core inside an agent, MCP gateway, IDE extension, coding harness, or automation runner.
Use @ruleoak/cli to test policies, run demos, and prove the behavior before embedding the runtime.
Use the open packages as the foundation; add support, implementation help, policy packs, and vertical apps when the workflow becomes business-critical.