RuleOak v0.1.0 — Agent Firewall + Flight Recorder for AI Agents Start with v0.1.0

Developer release · v0.1.0 monorepo

Agent Firewall + Flight Recorder for AI Agents

RuleOak helps developers gate risky tool calls before execution and record what happened after: allow, deny, require approval, or dry run — with hash-chained evidence for audit and replay.

Policy before actionEvidence during actionReplay after action

Why developers use it

Prompt guardrails are not enough once agents execute actions

Prompts can describe safety expectations, but tool execution needs an explicit boundary that is testable, versioned, replayable, and reviewable. RuleOak gives you that boundary as a small developer-facing runtime and CLI.

Externalize safety rules

Move permission rules out of fragile prompts and into policy files that can be reviewed and tested.

Block before damage

Deny or pause risky actions before shell, filesystem, database, email, MCP, or connector calls execute.

Keep evidence local

Record structured Evidence JSONL so teams can inspect what the agent attempted and why RuleOak decided.

Adopt incrementally

Start with the CLI and high-risk demos, then embed @ruleoak/core into your agent runtime or adapter.

Visual guide for developers

Click diagrams to inspect the integration boundary

Use these diagrams to decide where the action boundary belongs, which component to embed first, and what evidence a reviewer should expect after a run. Click any diagram to enlarge it in place.

What v0.1.0 offers

A clean monorepo release for developer adoption

PackageLicenseDeveloper purpose
@ruleoak/protocolMITShared policy, decision, evidence, and replay contracts. Use this when you need stable types across adapters or frameworks.
@ruleoak/coreApache-2.0Policy evaluator, fail-closed decision model, evidence recorder, approval semantics, and replay primitives.
@ruleoak/cliApache-2.0Command-line gate for demos, local checks, scripted workflows, and CI-friendly governance experiments.

Start here

Clone, test, inspect, then integrate

git clone https://github.com/ruleoak/ruleoak.git
cd ruleoak
npm install --ignore-scripts
npm run check:publish
npm test

Open the quickstart