---
title: "Your AI, on rails. | Gatwen"
description: "Gatwen checks every move your AI coding agent makes against your workflow, and blocks the ones that skip a step."
canonical_url: "https://gatwen.com/"
locale: en
meta:
  "og:description": "Gatwen checks every move your AI coding agent makes against your workflow, and blocks the ones that skip a step."
  "og:title": "Your AI, on rails. | Gatwen"
---

> Index of every page on this site: [llms.txt](https://gatwen.com/llms.txt)

# **Your AI, on rails.**

AI writes fast. Gatwen makes sure it writes your way: the right files, the right order, done only when it's really done.

[**Try free for 3 days**](https://gatwen.com/pricing) [**See how it works**](https://gatwen.com/#how)

For macOS on Apple Silicon · Works with the coding agents on your Mac

\~/shop-api

Gatwen · Task**Auto-renew on login timeout**

1. **Spec**
2. **Build + test**
3. **Self-check**
4. **Close**

› Auto-renew the token when login times out● Edit src/lib/http.ts ✕ Blocked: outside this task's scope● Edit src/lib/http.ts passed

**Blocked: outside this task's scope**Next: request a wider scope

**Approved**

## **You've seen this before.**

- 01 ### **It touches files it shouldn't.**

  Ask for a login fix, get a refactor of three other modules.
- 02 ### **"Done" before the tests run.**

  It says it's finished. The tests say otherwise.
- 03 ### **You can't look away.**

  Every change needs a second look, so you never really hand it off.
- 04 ### **Long sessions forget your rules.**

  After hours of work and a context compaction, it drifts. Start a fresh session and you're correcting it from scratch.

## **Three steps. Then it just works.**

1. 01 ### **Pick the kind of work.**

   Your AI starts every job by saying what it is: a bug fix, a feature, docs. Gatwen hands it the matching workflow.Your AI declares**Fix a bug****Build a feature****Write docs**Gatwen hands it the workflow
   1. **Spec**
   2. **Build + test**
   3. **Self-check**
   4. **Close**
2. 02 ### **One stage at a time.**

   Each stage says which files it may touch and what proof it must hand in: tests passing, docs written.**Build + test**May editsrc/auth/\*\*tests/auth/\*\*Must hand in
   - Tests passing
   - Docs written
3. 03 ### **Stopped, with a next step.**

   When it steps out of line, Gatwen blocks it and tells it exactly what to do instead. Anything that needs you shows up in one place.**Blocked: outside this task's scope**Next: request a wider scopeNeeds you **1 **Widen scope · src/lib/http.ts**Approve**

## Features

### **Draw your workflow.**

Drag a line to decide where a stage goes when it passes and where it goes back when it fails. Or just describe it to your AI; Gatwen checks the proposal for dead ends before you approve.

Drag a green dot to the stage that comes next when it passes. Drag a red dot to an earlier stage to set where it goes back on fail.

### **See every job at a glance.**

Every task your AI takes on becomes a card: which stage it's in, what it's waiting for, what it handed in.

**Auto-renew on login timeout**Build + testIn progress

**Token refresh API**Self-checkDone

**Timeout tests**Build + testWaiting for you

### **Stay in your editor.**

A small capsule in the corner shows what's running and what needs you. Hover to expand, press Enter to approve.

### **Approve right in the chat.**

Say "approved" to your AI and it presses the button for you, using your exact words.

Widen scope · src/lib/http.ts** Approved**

YouApproved, go ahead.

AIapprove\_from\_chat("Approved, go ahead.")

### **Keep the rules while you're away.**

Remote mode lets an independent reviewer agent rule on routine requests, and leaves the irreversible ones for you.

Remote mode on

**Left for you**

**Reviewer agent**

- Widen scope · tests/auth/\*\***Approved**
- Drop the sessions table**Left for you**

### **Review diagrams and schemas visually.**

Ask for a flowchart or a schema change; it shows up as a diagram you can comment on, and your AI revises from your notes.

users

<dl>

<dt>id</dt>
<dd>bigint PK</dd>

<dt>email</dt>
<dd>varchar</dd>

</dl>

refresh\_tokens**+ new**

<dl>

<dt>user_id</dt>
<dd>→ users.id</dd>

<dt>token_hash</dt>
<dd>char(64)</dd>

<dt>expires_at</dt>
<dd>datetime</dd>
<dd>idx</dd>

</dl>

You: should expires\_at get an index?

**Index added**

### **Bind tools to stages.**

Require a stage to use a specific MCP server, and Gatwen notices when one breaks.

**Integration review**Requires MCP · playwright

**Connected**

## **Works with the agent you already use.**

Claude Code and Codex connect in one click. Other agents that run on your Mac can connect with a prompt.

- **Claude Code**
- **Codex**
-

## **What changes when it's on.**

- ### **No more surprise edits.**

  Your AI only touches what the task allows.
- ### **"Done" means done.**

  Tests pass and the evidence is in before a task can close.
- ### **Hand it off for real.**

  Let it run, and check in only when it needs you.
- ### **Every decision on record.**

  What was allowed, blocked or approved, and why.
- ### **Rules that survive any session.**

  Your workflow and the task's progress live in Gatwen, not in the chat. After a compaction or in a brand-new session, your AI is told exactly where it is and what the rules are.

## **Your code stays on your Mac.**

Gatwen runs locally. It only goes online to check your subscription and for updates.

## **$20 a month. Start with 3 days free.**

Cancel anytime. Early bird: $13/month for the first 100 subscribers.

[**Try free for 3 days**](https://gatwen.com/pricing) [**Download for Mac**](https://gatwen.com/download)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://gatwen.com/#website","@type":"WebSite","inLanguage":"en","name":"Gatwen","url":"https://gatwen.com/","workTranslation":{"@id":"https://gatwen.com/zh-Hant#website"}},{"@id":"https://gatwen.com#webpage","@type":"WebPage","description":"Gatwen checks every move your AI coding agent makes against your workflow, and blocks the ones that skip a step.","name":"Your AI, on rails.","url":"https://gatwen.com","isPartOf":{"@id":"https://gatwen.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://gatwen.com"]}]}]}
```

## Sitemap

See the full [sitemap](https://gatwen.com/sitemap.md) for all pages.
