Skip to main content

TryBrake for ChatGPT & OpenAI

OpenAI agents that ask before they act.

Whether it's Codex writing code in your terminal or an agent you built on the OpenAI API, TryBrake checks each risky action against your rules first: allow it, block it, or hold it for a human.

Codex hooks cover shell commands. For your own code, any OpenAI model works.

How it works

Set up in three steps.

  1. 1

    Pick your setup

    Codex CLI, or your own agent in Python or JavaScript (OpenAI Agents SDK, Assistants, function calling).

  2. 2

    Paste the install text

    Paste it into Codex or into your AI coding assistant. It adds TryBrake's hook, or the connector file and your key, to the project.

  3. 3

    Wrap the risky tools

    For your own agent, one line per tool: guard("stripe.refund"). The tool then only runs if your rules say yes.

my-app — codex — 120×32>_ OpenAI Codex model: gpt-5-codex /model to changedirectory: ~/my-app› Rebase my branch on main and push it• Ran git rebase main └ Successfully rebased and updated refs/heads/feature.• Running git push --force origin feature └ ⏸ Waiting for approval in TryBrake: force push needs a human✓ Approved by Sam from Slack └ + 3f9c2e1...a81b0d4 feature -> feature (forced update)Protected by TryBrake• Your branch is rebased on main and pushed.› ▍
In Codex: a force push waits for a human. Your teammate approves it from Slack, and Codex carries on.

What it stops

The mistakes you can't undo.

  • Codex shell commands

    rm -rf, database wipes and curl | sh are blocked; force pushes wait for you.

  • Function calls

    Each tool your OpenAI agent can call gets its own rules, using the real arguments, like the amount of a refund.

  • Human approval

    Hold an action until someone approves it from the dashboard, Slack, Teams, Google Chat or Telegram.

  • Replay

    See every step of a run with the agent's reasoning, what was allowed, blocked or approved.

Questions

Good to know.

Does it work inside the ChatGPT app itself?

Not inside the chat window. TryBrake protects agents that take real actions: Codex, OpenAI's coding agent included with ChatGPT plans, and agents you build with the OpenAI API.

Do you need my OpenAI key?

No. Your agent keeps its own keys. TryBrake only answers yes, no or wait.

What if TryBrake is unreachable?

The action doesn't run. Every connector fails closed.

Works with more than ChatGPT & OpenAI.

One TryBrake account protects every agent you run, wherever it's built.

See all integrations

Protect your ChatGPT & OpenAI agents today.

Connect your first agent in five minutes. 14 days free, no credit card.