Docs / Quickstart

Connect your first agent workflow to controlled execution

Start from one real entrypoint: choose an agent runtime, define policy, enable checkpoints, route high-risk actions into the action queue, and generate the first Action Receipt.

01 install

Install the local entrypoint

local entrypoint
# install the local runner
npm install -g @beforewire/cli@latest
02 policy

Define the policy boundary

policy: refund-v3
egress:
  default: deny
  allow:
    - host: api.internal.example
actions:
  payment.refund: approval_required
03 checkpoint

Enable checkpoints

beforewire checkpoint create --scope files,runtime --name cp_004
04 run

Start the controlled run

beforewire run --policy refund-v3 -- codex "handle refund case refund_7781"