Install
Install Bearing, connect Jev, and give your agent a set of rules to work with.
Install the Bearing CLI
From your repository root, run:
npm install -D bearing-lintConnect Jev
Enter your Jev API key at the prompt. Bearing saves it locally.
npx bearing auth set-keySet up your agent
From your repository root, choose the command for your agent. This installs the Bearing skill and enables end-of-turn checks.
# Codex npx bearing init --agent codex --hooks # Claude Code npx bearing init --agent claude --hooksRestart your agent and approve its project hooks when prompted.
Create your rules
Invoke
$bearingin Codex or/bearingin Claude Code. Ask your agent to turn your project preferences and skills into rules.Review the rules, validate them, and run your first check:
npx bearing rules npx bearing validate npx bearing check