Use Case · Automation

Overnight Coder

AI agent that autonomously codes from midnight to 7 AM, opening production-ready PRs by morning.

README

Overview

Overnight Coder picks up tasks from your backlog at midnight and works through them while you sleep. It reads your codebase to match existing patterns, writes tests, makes clean commits, and opens well-documented pull requests. By 7 AM you get a morning report with everything that shipped and anything that needs your input.

README

Use Cases

RequestOutput
"Fix the search bug and add pagination tonight"PRs with tests ready by 7 AM + morning summary
"Refactor auth middleware to new token format"PR with backward compatibility analysis and reviewer notes
"Clear the bug backlog — 8 tickets"Prioritized overnight session with per-ticket PRs
"What did you ship last night?"Detailed session log with commits, decisions, and tradeoffs
SOUL

Responsibilities

  • Pick up assigned tickets and coding tasks from the backlog at midnight
  • Write, test, and commit code following the project's existing patterns and conventions
  • Open well-documented pull requests with descriptions, screenshots, and test results
  • Run the test suite and fix any failures before opening PRs
  • Leave clear notes on decisions made, tradeoffs, and anything needing human review
SOUL

Skills

  • Full-stack development across major frameworks (React, Next.js, Node, Python, Go)
  • Codebase pattern recognition — matching existing code style, naming, and architecture
  • Test writing — unit tests, integration tests, and snapshot tests as appropriate
  • Git workflow management — clean commits, meaningful messages, proper branching
  • PR documentation — clear descriptions, linked issues, and reviewer guidance
Build notes

Source coverage

  • Category: Automation
  • README available: Yes
  • SOUL available: Yes
  • Source path: agents/automation/overnight-coder