Run Record from your terminal. Or let your coding agent run it.
Agents changed in a console can’t be reviewed, tested or rolled back. On Record every agent is a folder in your repo and every change is a command, so it ships through the same review as your code. Everything the console does works from the CLI and the API.
No learning curve. Running in a day, not months.
Your developers keep their editor and the coding agent they already use. It reads the CLI’s help, writes the files and runs the checks. They review the diff.
- Claude Code
- Codex
- Cursor
- Antigravity
- GitHub Copilot
- OpenCode
- Cline
- Pi
The workflow
From an empty folder to production. All in the terminal.
Your coding agent can run every step: it reads the CLI’s help, writes the files and runs the checks. You review the diff.
- Sign in
One sign-in for you and your coding agent.
record loginopens your browser once. After that, every command your coding agent runs acts as you, with your Record permissions, and is audited as you.record login🔐 Record Platform — Device Authorization Your code: WDJB-MJHT 🌐 Opening your browser. If nothing opens, visit the URL above. ⏳ Waiting for authorization (polling every 5s)... ✅ Logged in as dev@halvorsen.example
- Scaffold
An agent starts as a folder.
Pick a harness: Claude Code, Codex or Hermes.
initwrites record.yaml and policy.cedar. Everything else in the folder is your project, and it all goes in Git.record agent init review_agent --harness claude_code✅ Agent project created: ./review_agent/ Harness: claude_code Files: policy.cedar, record.yaml git add review_agent && git commit -m "review agent"
- Write the policy
Check a rule before it ships.
Policy is a Cedar file beside the code.
policy checkruns one tool call through the same evaluator production uses, and shows the verdict and who approves.record agent policy check policy.cedar --tool github__merge_pull_requestVerdict: HITL (requires human approval)Approver: role admin record agent policy check policy.cedar --tool github__delete_repositoryVerdict: DENY
- Test in simulation
Prove the change before anyone uses it.
Test cases run the agent in a simulated company with your apps and your policy. Checks judge every session, and
--min-passturns the run into a release gate.record agent test run review_agent --min-pass 0.9# each test case starts fresh in a simulated company# the agent’s checks judge every session# exits 0 when the pass rate meets --min-pass
- Ship it
Validate, push, deploy.
validatechecks record.yaml against the contract the API enforces.pushstages an immutable revision.deploymakes it the version new sessions run.record agent validate ./review_agentrecord agent push review_agent ./review_agentrecord agent deploy review_agent🚀 Deploying review_agent... ✅ Agent "review_agent" deployed with policy spine and runtime evidence. Chat: record agent chat review_agent
- Run it
Call it from anywhere.
The same agent answers in the terminal, over the API, in Slack or Teams, and from cron or webhook triggers. Every session gets its own sandbox.
record agent chat review_agent --once "Review PR #482 for security risks"# the reply streams here; the session stays resumable record trigger create pr-events --agent review_agent# a webhook trigger; --every 15m or --at "fri 09:00" for a schedule
- Watch it
Every call, its approval and how it ended.
tracesreads each turn as its steps: every call once, with its approval and its outcome. Add--jsonto any command and pipe it into your own tools.record agent traces --agent review_agentrecord agent traces <session-id># each turn: calls, approvals, outcomes, then the reply record issue list --json | jq '.[0]'
- Roll back
A bad change is one command from gone.
rollbackdeploys the files an earlier generation shipped, as a new generation. History is never rewritten, so you can roll forward the same way.record agent rollback review_agent# without --to, the version before the current one record agent rollback review_agent --to 5
An agent is a folder
Config, policy and skills. In your repo.
record.yaml says what the agent is and what it may reach. policy.cedar says what each call may do. Skills and project files stay native to the harness. record agent pull and push move the folder between your repo and Record.
- One strict schema. A field nothing reads is rejected, not ignored.
- The key never enters the agent. Tools get a credential per call at the Gateway.
- Every deploy is an immutable revision you can roll back to.
record.yamlWhat the agent is and what it may reach.version: 1
agent:
model: default-llm
description: Reviews pull requests for risk.
instruction: |
Review the change. Cite file evidence for
each finding. Never claim work you didn't run.
harness:
kind: claude_code
identity:
modes: [delegated]
access:
tool_sources:
- github
- record_memory
knowledge_sources:
- engineering-handbook
hitl:
timeout_seconds: 3600
notifications:
- type: slack
connection: halvorsen-slack
channel: "#eng-approvals"Policy as code
Every change is a pull request. Including the rules.
A reviewer sees exactly which call now needs an approval, and the checks prove it before merge. Ship from your release step: whoever ships signs in once, and the deploy is recorded as them.
policy.cedar+2 lines// Merging waits for an admin.+@advice("hitl")+@approver({"type":"role","id":"admin"}) permit( principal, action == Action::"ToolCall", resource == Tool::"github__merge_pull_request" );
- 01The manifest matches the schema
record agent validate ./review_agent - 02The new rule does what you meant
record agent policy check policy.cedar --tool github__merge_pull_request - 03The agent still does its job
record agent test run review_agent --min-pass 0.9
record agent push review_agent ./review_agent && record agent deploy review_agentTwo more ways in
Keep the agent you have. Teach the one you code with.
Connect an agent you already run
Your framework, your hosting. connect issues a gateway credential bound to the agent and to you, and prints a ready-to-paste MCP config. Its model and tool calls go through policy from then on.
record agent connect support_bot# prints a ready-to-paste /mcp config# and the governance receipt for its calls
Teach your coding agent to test agents
One command installs a skill into the project. Your coding agent then builds simulated companies, writes test cases and checks, runs them and reads why they failed.
record sim skill --to .claude/skills# Codex and others read .agents/skills# installing again replaces it with this CLI’s version
The whole platform
Every part of Record has a command.
The console and the CLI are clients of the same API. Add --json to any command and script it.
- FleetEvery agent and what it runs.
record agent fleet - AccessWhat each agent can reach, and for whom.
record access overview - GatewayEvery tool your agents can call.
record catalog tools - GovernanceApprovals waiting on you.
record hitl list - MonitoringOpen incidents, with owners and evidence.
record issue list - BrainAsk your company’s knowledge.
record context query "…" - LedgerSpend per agent, and the audit trail.
record usage agents - Your scriptsEvery command can answer in JSON.
record agent fleet --json | jq
Put your agents in Git. Ship them with one command.
Request access to get a workspace and the record CLI. Your coding agent takes it from there.