CroutonHQ
Redline · Open source

Never waste your AI subscription quota.
This time, nothing expires.

Your Claude or Codex quota resets every five hours and every week, and whatever you didn't use is gone. Redline keeps track of when each window resets, queues the agent jobs that are always on your backlog, and runs them in Claude Code, Codex or Pi when your allowance would otherwise expire.

  • Every decision explained
  • A reserve kept for your own work
  • Local only, no account

Claude Code · Codex CLI · Pi · Hermes · any command

Behind pace means capacity to spare. 71% of the week has gone but only 28% of the allowance is used, so Redline runs a queued job. Watch the 1-minute video.
Who it's for

Your schedule is flexible. Your subscription isn't.

Redline is for people who end the week with quota left over, not for people who keep running out. If you already spend every bit of your allowance, you don't need it.

  1. 01

    Two limits, one clock.

    A weekly limit and a 5-hour limit, ticking whether you're at the keyboard or not.

  2. 02

    Some days you don't use it.

    Lighter days, days away from the computer. The subscription doesn't notice.

  3. 03

    Then the window resets.

    Whatever you didn't use is gone, even with test gaps, refactors and doc sweeps still on the backlog.

  4. 04

    Redline does the math.

    When you're comfortably behind on usage, or about to hit a reset with quota unspent, it starts one of your queued jobs.

Redline spends your allowance; it doesn't get around it. It decides when queued work fits inside the limits you already have, and keeps a reserve back so a background job can't eat the quota you wanted for tomorrow morning.

How it works

Monitor, decide, dispatch, review.

You write up low-urgency jobs, decide how aggressively they should spend your remaining quota, and pick the harness they run in. Redline handles the rest.

  1. 01 · Monitor

    Watch the allowance.

    Redline reads the same 5-hour and weekly windows your CLIs see, including when each one resets. It reuses a local OpenUsage API when one is running and collects natively when it isn't.

  2. 02 · Decide

    Compare it to the clock.

    If you have more allowance left than an even burn pace predicts, and the reserve is intact, the account is eligible. Near a reset with allowance unspent, Redline can release the reserve too.

  3. 03 · Dispatch

    Run the next job.

    Jobs unlock by tier (behind pace, well behind, capacity likely to expire), then by priority. Each runs in an isolated Git worktree or DevX session. One at a time unless you say otherwise.

  4. 04 · Review

    See what it did.

    Completed runs keep a result, artifacts such as a draft PR link, bounded output and a timeline, in the dashboard, the menu bar, the CLI or over MCP.

Redline dashboard: a Claude account showing a WAIT decision with its explanation
WAIT, with the reason. Every cycle records RUN, WAIT or fail-closed UNKNOWN.
Redline dashboard: a Claude account showing a near-expiry RUN decision with its explanation
RUN, near expiry. The week resets in 6 hours with 40% left, so queued work runs.
A completed Redline run with a result summary, test evidence, formatted output and a draft pull request link
A completed run keeps its result, output and a draft PR link.
Redline execution profile editor with provider account, harness, model, Git worktree workspace, repository and base branch
An execution profile: which allowance, which harness and model, which workspace.

Screenshots come from Redline's synthetic demo mode, with no real repositories or live allowance data.

Resets

It knows when your quota resets.

Leftover capacity is only worth something until the window resets. Redline keeps track of when your windows reset, and of any banked resets you're holding, so queued work gets in before the unused allowance is gone.

  • 5-hour and weekly windows. Redline reads when each window resets and compares what you have left with the time left. The closer a reset gets with allowance unspent, the more of your queue it unlocks.
  • Right before a reset. When a window is about to reset with allowance unspent, Redline can release the reserve too, rather than let it lapse.
  • Banked resets. Claude and Codex sometimes give you resets to use later, and those expire too. Redline shows each one with its expiry, can remind you before it lapses, and if you opt in, redeems it before it expires.
Safe by default

Background work that never surprises you

Every decision is explained

Each cycle records RUN, WAIT or UNKNOWN with the reasoning, so you always know why a job did or didn't start.

Off until you turn it on

Automatic dispatch starts off, so installing Redline can't spend capacity by itself. A reserve is always held back for your interactive work, and stale telemetry means wait, never run.

Use it before you lose it

Firesale speeds up queued work near a reset, and opt-in redemption uses expiring banked resets before they lapse.

Isolated by design

Jobs run in Git worktrees or DevX sessions, and completed runs keep their result, artifacts and logs, so unattended work doesn't disappear.

Local only

A loopback service, a SQLite file and your existing CLI logins. No cloud, no account, no telemetry.

Expiring API credits too

The monthly API credit a ChatGPT Pro/Business or Claude subscription grants expires unused. Redline can run queued jobs on it before it lapses, only above a floor you set. Purchased credit is never counted.

What to run

Start with a template.

Redline ships 16 editable starter prompts. Pick one under + New job in the dashboard, or start from a blank job. Each template does one small thing: it finds one real problem and makes one reviewable change, or for the read-only one, writes up a report. Most also check open pull requests first, so they don't duplicate work someone else already has underway. If a job finds nothing worth doing, it changes nothing and tells you what it checked.

Find and fix one reproducible bugReproduce one real defect, fix its root cause, and verify the affected suite.
Close one high-risk test gapAdd focused tests for an important untested failure path or boundary.
Stabilize one flaky testRemove one demonstrated source of nondeterminism without weakening the test.
Apply a safe dependency updateTake a bounded patch or minor update after reviewing compatibility and advisories.
Fix one documentation mismatchCorrect one instruction that no longer matches what the code actually does.
Verify the quickstart from scratchFollow the setup as a newcomer would, and fix one confirmed break or ambiguity.
Resolve one recurring CI warningFix one actionable warning at its source, without silencing the check.
Repair one accessibility barrierRemove one verified obstacle to completing a task in the project's interface.
Report one release-readiness blockerRead-only: find one blocker to the next release and suggest a next step, without changing the repository.

Seven more cover API contract mismatches, upgrade paths, performance regressions, build reproducibility, incident runbooks, confusing error messages and dead code.

Or write your own.

A job is a prompt plus a profile, so anything you'd ask your agent to do can wait for spare capacity. Two I like:

Work your issue tracker

Point your agent at your issue trackers and have it look for issues that meet your criteria, like a certain label or assignee, then take one on. The agent uses whatever access it already has, like the gh CLI or an MCP server. Redline only decides when it runs.

Donate your spare capacity

Clone another open source project you like, point a profile at it, and let quota that would expire anyway go to work there. Or put it toward another cause you care about. The quickstart check and documentation fix templates are good places to start. Edit the prompt so the job stops at a local change, and send it upstream yourself once you've read it.

Nothing has to go out on its own. Jobs run in an isolated worktree or DevX session. Redline keeps the result and the output, and by default it leaves the workspace in place, so you can review what the agent did before you submit a PR or anything else. Whether a job pushes or opens a pull request is up to its prompt and profile, and some built-in templates will do that when they finish. For someone else's project, tell the job to stop at a local change, read it, and submit it yourself if it's good. That's how you help a maintainer instead of spamming them.

Supported agents

Keep your harness. Redline decides when to launch it.

Redline watches your Claude and Codex subscription allowances. Each job's execution profile names the coding-agent CLI it runs in. Redline discovers installed harnesses and their models, but doesn't install or sign in to them for you.

Claude Code

Run jobs against your Claude allowance in Claude Code. Give Claude Code access to Redline over MCP:

claude mcp add --scope user redline -- redline mcp

Codex

Run jobs against your Codex allowance in Codex CLI. Give Codex access to Redline over MCP:

codex mcp add redline -- redline mcp

Pi

Run jobs in Pi. Pi and custom-command profiles can also spend expiring OpenAI API credits. Pi installs with an MCP bridge extension can register the same redline mcp server.

Also: Hermes runtimes, Cursor CLI and any custom command. Over MCP, your agent can check allowance, inspect the queue, add jobs and ask why the scheduler is waiting. Read-only tools are the default. MCP and agent guide.

Get started

Install Redline

Free and open source under Apache 2.0. Install it, connect an account, create a profile and queue a first job. Automatic dispatch stays off until you enable it.

Recommended

macOS app

A menu-bar app for macOS 13 or later, universal, signed and notarized. It bundles the service, dashboard and CLI, and a four-step guide walks you through setup.

brew install --cask croutoncreations/tap/redline

Or download the DMG, drag Redline to Applications and launch it.

macOS, Linux, Windows

CLI and headless service

Run Redline without the menu-bar app, for example on a Linux box that dispatches overnight.

brew install croutoncreations/tap/redline
go install github.com/croutoncreations/redline/cmd/redline@latest

Or grab a prebuilt archive from Releases. Windows is newer and less battle-tested.

Prefer help from an agent? The README has a bounded agent-assisted install prompt that keeps safe defaults and asks before saving jobs or enabling dispatch.

From the builder

I have a weekly limit and a 5-hour limit. Some days I don't use AI as much, some days I'm - gasp - away from the computer. My subscription completely ignores all these things, though.

I've been using Redline for a month or so now. It's found bugs, updated docs, and knocked out all kinds of little odds and ends that would've ended up as wasted quota otherwise.

The Redline menu bar panel showing provider capacity, the queue and recent runs
The menu-bar panel: capacity, the queue and recent runs.
FAQ

Questions

Does Redline get around my subscription limits?

No. Redline spends your allowance; it doesn't get around it. It decides when queued work fits inside the limits you already have, and keeps a reserve back for your own work.

Will it start spending my quota as soon as I install it?

No. Automatic dispatch is off until you turn it on, and stale or missing telemetry means Redline waits rather than runs.

Which subscriptions does it watch?

Codex and Claude subscriptions: their 5-hour and weekly windows. It can also track the monthly API credit a ChatGPT Pro/Business or Claude subscription grants to a linked API organization.

Will it flood other projects with pull requests?

Not unless you set it up that way. You choose the repository, the prompt and whether a job pushes. Redline keeps each run's result and output, and by default its workspace, so you can review the work and submit it yourself. Most of the built-in templates also check open pull requests before they start and again before they push, and stop if someone is already on it.

Does my data leave my machine?

No. Redline is a loopback service with a SQLite file and your existing CLI logins. No cloud, no account, no telemetry.

What does it run on, and what does it cost?

The menu-bar app needs macOS 13 or later. The CLI and headless service also run on Linux and Windows. Redline is free and open source under the Apache 2.0 license.

Stop letting your quota expire.

Queue the work that's always on your backlog. Redline runs it with the capacity you already paid for.