Skip to main content
Developers · CLI

The agent, on your terms

The forg CLI is the direct tap into the on-device agent: status, session, gate, budget, and temper — scriptable and pipeable into anything.

forg session --json | jq
$ forg session --json | jq .cost
112.93
$ forg gate status
caps: ok… 
Common commands

Everything at your fingertips

forg status

Agent health, armed rules, and today's governed-session counts.

forg gate

Enforce budget caps at the agent — block or warn when a session exceeds its limit.

forg session

Per-session cost breakdown by model, repo, and time window.

forg budget

Set hard per-seat or per-repo caps; view current spend vs limits.

forg temper

Watch policy-drift signals and Temper Standard status for the active session.

forg update

Pull the latest signed stable and swap atomically — fail-closed.

Get the agent

Signed, fail-closed, on every platform.

Install guide