Run overnight.
Wake up to progress.

Autonomous AI development teams that work while you sleep. Approve specs, run one command, and let the agents handle the rest.

How It Works

Step 1

Install

Clone the repo and run the install script. Takes 30 seconds.

Step 2

Generate Specs

Run overnight in your project. Chat to generate detailed specs.

Step 3

Sleep

Approve the specs and go to bed. Agents work through the night.

Step 4

Review

Wake up to commits, tests, and a summary. Iterate and repeat.

Built for Reliability

Double-Checked

Agents verify their work twice. Only stops when 2 consecutive passes find zero defects.

Task Tracking

Every task tracked: scope, duration, defects found, defects fixed. Full visibility.

Self-Improving

Agents score themselves and learn from mistakes. Gets better over time.

Get Started

1. Clone and Install

git clone https://github.com/DecOperations/overnight-swe.git
cd overnight-swe
./install.sh

2. Go to Your Project

cd ~/your-project

3. Run Overnight

overnight

This starts an interactive session. Chat to generate specs, then approve and let it run.

4. Morning Review

git log --oneline -20
cat .overnight/summary.md
pnpm test

The Overnight Loop

┌─────────────────────────────────────────────────────────────┐
│  YOU                                                        │
│  $ overnight                                                │
│  > "Build a whiteboard app like tldraw"                    │
│                                                             │
│  [Agent generates detailed specs...]                        │
│                                                             │
│  Review specs? (y/n) y                                      │
│  [Opens specs in editor]                                    │
│                                                             │
│  Start overnight run? (y/n) y                              │
│  [Agent starts working...]                                  │
│                                                             │
│  $ # Go to sleep 😴                                         │
└─────────────────────────────────────────────────────────────┘
                            │
                            ▼
┌─────────────────────────────────────────────────────────────┐
│  OVERNIGHT (8 hours)                                        │
│                                                             │
│  📋 PM Agent    → Manages priorities, reviews quality       │
│  💻 SWE Agent   → Implements features, writes code          │
│  🧪 QA Agent    → Tests everything, finds defects           │
│                                                             │
│  Loop until:                                                │
│  ✓ All tasks complete                                       │
│  ✓ 2 consecutive QA passes with 0 defects                  │
│  ✓ All tests passing                                        │
└─────────────────────────────────────────────────────────────┘
                            │
                            ▼
┌─────────────────────────────────────────────────────────────┐
│  MORNING                                                    │
│                                                             │
│  $ git log --oneline                                        │
│  abc123 feat(canvas): add pan/zoom                         │
│  def456 feat(tools): add rectangle tool                    │
│  ghi789 test: add canvas tests                             │
│  ...                                                        │
│                                                             │
│  $ cat .overnight/summary.md                               │
│  # Overnight Summary                                        │
│  - 12 tasks completed                                       │
│  - 3 defects found and fixed                               │
│  - 94% test coverage                                        │
│  - 2 consecutive clean passes ✓                            │
└─────────────────────────────────────────────────────────────┘

Ship faster. Sleep better.

Join developers using AI teams to 2-3x their output.