AI writes code fast. Shipping it is the hard part.

Sequant takes GitHub issues from spec to merge-ready PR — with quality gates that block bad code before it reaches your repo.

Works with:
Claude Code
Aider
Any MCP client

Project credentials

What is Sequant

How It Works

An AI coding workflow that turns your backlog into merge-ready pull requests — one issue or many, all in parallel. Each issue gets its own worktree, its own spec → exec → QA pipeline, and its own PR.

AI coding tools are remarkably capable. But capability without process means results vary — vague issues produce vague implementations, there's no formal review, and context drifts over long sessions. Sequant provides the discipline: a repeatable pipeline where every issue follows the same lifecycle.

Phase Isolation

Each phase runs in a fresh session inside an isolated worktree. No context drift — code never touches main until gates pass.

8 Quality Gates

AC adherence, type safety, security, scope, CI status, build verification, static analysis, and anti-pattern detection — checked automatically on every PR.

Parallel Automation

Run many issues simultaneously — each in its own worktree. Chain dependencies, resume failed runs, and process your backlog overnight.

Issue #123
Spec Plan
Reads issue, lints AC, posts plan to GitHub
Isolated Worktree
Exec Build
Implement, commit, push, create PR
Test Verify
Browser & CLI verification
QA Review
Type safety, security, scope, tests
Loop Auto-fix
Up to 3 retries
Merge PR lands on main

What runs underneath


Skills

14 skills that guide each phase — from planning to merge

Hooks

Pre-tool blocks secrets and unsafe commands. Post-tool formats and observes quality.

State

Tracks phase progress, metrics, and run logs. View with sequant dashboard or sequant stats

GitHub Comments

Plans, verdicts, and phase markers that carry context between sessions

GitHub Actions

Label-triggered and comment-triggered CI workflows via sequant-action

A Smarter Way to Code

2 Ways to Solve Issues

( 01 ) Automation
Sequant Run

Point it at an issue. Walk away. Come back to a finished PR — spec'd, built, tested, and QA'd.

Sequant Run illustration
or
Interactive ( 02 )
Full Solve

Stay in the loop. Run each phase — /spec, /exec, /test, /qa — with full control.

Fullsolve illustration

Skills

Commands

Run any skill by name in conversation, as a /slash command, or via npx sequant run. Not sure where to start? Try /assess.

Core Automation Quality Analysis

Quality Loop

Automated Iteration

When tests fail, Sequant doesn't stop. It analyzes the failure, fixes the code, and retests — automatically. You review working code, not broken builds.

Enable it:

Or interactively: /loop 123. Built into /fullsolve by default.

Control retries with --max-iterations 5. Gate chains with --qa-gate.

3 Max retries
for test failures
2 Max retries
for QA issues
0 Manual
intervention
1
Build /exec implements the feature in an isolated worktree
2
Test Run tests, type checks, and quality gates automatically
3
Analyze Parse failures — type errors, missing AC, security issues
4
Fix Apply targeted changes to address each identified issue
Repeat Loop until all gates pass — or hand off for manual review

MCP Server

Universal AI Integration

Any MCP-compatible AI tool can drive Sequant workflows — no custom integrations needed. Claude Desktop, Cursor, VS Code, Windsurf, and Zed all work out of the box.

Getting Started
  1. 1 Install Sequant in your project
  2. 2 Add the config snippet to your AI tool
  3. 3 Ask your AI to run Sequant workflows

Full MCP guide →

Claude Desktop Claude Desktop
Cursor Cursor
VS Code VS Code
Windsurf Windsurf
Zed Zed

Quick Start

Zero to First PR

Install ( 01 )

Install the package, then scaffold your project.

or via plugin

Requires an AI coding agent (Claude Code or Aider) and GitHub CLI (gh auth login)

Assess ( 02 )

Point it at one or many GitHub issues.

Analyzes your issues and recommends the right workflow — including npx sequant run flags like --chain, --sequential, and --quality-loop. Run reference →

Build ( 03 )

Full pipeline, headless, or step by step.

Interactive:

Spec → exec → test → QA with auto-fix iterations.

or
Headless:

Walk away. Issues run in parallel by default — same pipeline, no conversation needed.

Or run individual skills:

Skills also work without slash commands — just describe what you need. Cheat sheet →

Ship ( 04 )

QA passes. Merge the PR.


Quickstart guide →   Full docs →

FAQ

Common Questions

What is Sequant?

A CLI tool that adds structured workflows to AI coding agents. It orchestrates your sessions through defined phases — spec, exec, test, qa — with automated quality gates. Think of it as a workflow engine between your GitHub issues and your AI agent of choice.

How is this different from using Claude Code directly?

Claude Code is freeform conversation. Sequant adds structure: acceptance criteria extracted from issues, isolated git worktrees for safe experimentation, automated test iteration, and quality gates that verify code before merge. You get the speed of AI with the confidence of a defined process.

What are the prerequisites?

An AI coding agent (Claude Code or Aider), GitHub CLI (gh auth login), Git, and Node.js 20+. Optional: Chrome DevTools MCP server for browser-based testing, Semgrep for enhanced security scanning.

Does it work with existing projects?

Yes. Run npm i sequant && npx sequant init in any git repository. It auto-detects your stack (Node.js, Python, Rust, Go, Next.js, Astro, and more) and configures accordingly. The worktree-based workflow works with any git repository.

What happens if the quality loop can't fix something?

The loop has bounded retries — 3 for test failures, 2 for QA issues. If a fix requires architectural decisions or ambiguous requirements, it stops and hands off for manual review. You're never stuck in an infinite loop.

Is my code sent anywhere?

Sequant collects zero telemetry, analytics, or user data. The only external communication is GitHub CLI operations you initiate (reading issues, creating PRs). Your code stays local.

Does it work with other AI models?

Yes. Sequant 2.0 ships with an Aider backend (--agent aider) that supports GPT-4o, Gemini, DeepSeek, and local models. Claude Code remains the default, but you can use whichever agent fits your workflow. The MCP server (sequant serve) also lets any MCP-compatible client drive Sequant.

Can I customize the workflow?

Extensively. Add project-specific coding standards via a constitution file, create custom slash commands, configure phase selection (skip spec, skip test), set custom base branches, and adjust loop iteration limits. Customizations live in .sequant/settings.json and are never overwritten by updates.

Changelog

Latest Releases