open source · agplv3 · zero-config

Make programmers healthy,
one approval prompt at a time.

FitGate intercepts the moment your AI coding agent stops and asks "Do you want to proceed?" — and gates that approval behind a 10-second-to-2-minute micro-workout. You were about to sit and wait anyway. Now the wait makes you healthier.

$ npm i -g fitgate && fitgate init
FitGate - Turn your AI agent's approval prompts into micro-workouts | Product Hunt
how it works

Four steps, running entirely on your machine.

A hook fires before the approval prompt, a local daemon hands back a task, and a cooldown keeps the rhythm sane. FitGate never sees your code — only the tool name and a one-line summary, and only on localhost.

01 · intercept

Intercept

A lifecycle hook runs fitgate gate right before your agent shows you a permission prompt.

02 · gate

Gate

The hook asks the local daemon for a micro-task. A notification pops, you do it, you press Done.

03 · pace

Pace

A cooldown and daily cap keep gates habit-forming, not constant. FitGate always fails open.

04 · personalize

Personalize

Optional: pair with FitGate Cloud for an LLM-drafted plan inside a clinician-reviewed safety envelope.

coverage

Supported agents

Adding an agent is one file — contributions on new integrations are especially welcome.

AgentHowReliability
Claude CodePermissionRequest hook★★★ fires exactly at the approval prompt
CursorbeforeShellExecution / beforeMCPExecution★★★
GitHub Copilot CLIpreToolUse hook★★★
OpenAI Codex CLIPermissionRequest hook★★★
Gemini CLIBeforeTool hook★★ paced by cooldown
Windsurf (Devin Desktop)pre_run_command / pre_write_code★★
Augment, Kiro, Amp, Clinenative hooks / permission helpers★★
opencode, Roo Code, Aider, Zed…fitgate_gate MCP tool + rules★ model-dependent
quick start

Two ways to install

Node.js users get the CLI from npm; everyone else gets a self-contained binary, Node bundled inside.

with node.js
$ npm i -g fitgate
$ fitgate init

  ✔ Claude Code    hooks installed
  ✔ Cursor         hooks installed
  ✔ Copilot CLI    hooks installed
  ✔ Codex CLI      hooks installed
  ✔ daemon         running at :4820
  # next approval prompt gets a workout first
standalone binary
# windows — powershell
$ .\fitgate.exe init

# macos / linux
$ tar -xzf fitgate-<platform>.tar.gz
$ chmod +x fitgate
$ ./fitgate init
# node is bundled — nothing else to install
See all releases →
two ways in

Run it free forever, or shape what's next.

🐙
the open source core

Star it, fork it, send a PR

The whole free product lives here under AGPL-3.0 — run it forever, offline, no account. Stars help other developers find it; issues and PRs on new agent integrations, task pools, and platform builds are especially welcome.

★ Star & contribute on GitHub
⚡
coming soon

Get early access to FitGate Cloud

LLM-drafted plans inside a deterministic safety envelope, clinician review, and a team dashboard — built on the same open core. The waitlist form doubles as quick market research to help us price it fairly.

Join the waitlist →