# AgentSys

> A plugin marketplace and installer that adds phase-gated agent pipelines — task to merged PR, review, cleanup, docs sync, release — to Claude Code, Codex, OpenCode, Cursor and Kiro

- Category: Agents & Automation / Agent Skills & Plugins
- Language: JavaScript
- Licence: MIT
- Repository: https://github.com/agent-sh/agentsys
- Website: https://agent-sh.github.io/agentsys/
- Canonical page: https://ai-tldr.dev/tools/agentsys/
- Updated: 2026-10-06

## In short

AgentSys is an open-source orchestration layer for AI coding agents, built around the idea in its README that writing code is no longer the hard part — task selection, branch management, code review, cleanup, CI, PR comments and deployment are. It sits in the Agent Skills & Plugins category of the Agents & Automation tools and is open-source, written in JavaScript and licensed MIT.

## Overview

AgentSys is an open-source orchestration layer for AI coding agents, built around the idea in its README that writing code is no longer the hard part — task selection, branch management, code review, cleanup, CI, PR comments and deployment are. It is a set of plugins, each with its own agents and skills, that compose into structured pipelines for software development. Each plugin lives in its own repository under the agent-sh GitHub organisation; the agentsys repository is the marketplace and the npm installer that ties them together. At version 6.1.1 (October 2026) the README counts 25 plugins, 55 agents and 47 skills.

The flagship command, `/next-task`, walks a task from discovery to a merged pull request: you pick a task from GitHub Issues, GitHub Projects, GitLab or a local file, it sets up a git worktree, explores the codebase, writes a plan for you to approve, then implements, runs a multi-agent review loop, validates the delivery, updates the CHANGELOG and hands off to `/ship`, which opens the PR, watches CI, answers review comments and merges. Every agent has a single job and a fixed model assignment (opus for planning and implementation, sonnet for discovery and validation, haiku for git and CI polling), phases are gated so a step cannot be skipped, and workflow state is kept in JSON files so an interrupted session can resume.

Many commands also work on their own: `/deslop` removes debug statements, placeholder text and other AI leftovers; `/audit-project` runs up to ten role-based reviewers; `/drift-detect` compares plans and issues with what the code really does; `/sync-docs` finds stale documentation; `/perf`, `/release`, `/onboard`, `/consult` and `/debate` cover profiling, releases, onboarding and second opinions from other AI CLIs. The design rule is "code does code work, AI does AI work": regex, AST and static analysis do detection, and LLM calls are kept for judgment, with findings graded HIGH, MEDIUM or LOW certainty. AgentSys is written in JavaScript, needs Node.js 18+ and Git, and is MIT-licensed.

## What it does

- `/next-task` pipeline from task discovery through planning, implementation, review, validation and docs to a merged PR, with one human approval at the plan
- `/ship` and `/gate-and-ship`: commit, push, open the PR, watch CI, fix or answer every review comment and merge
- Standalone quality commands — `/deslop`, `/audit-project`, `/drift-detect`, `/sync-docs`, `/enhance` and `/agnix` config linting
- Single-responsibility agents with per-agent model assignment and phase gates that agents cannot skip
- Persistent workflow state and git worktrees, so sessions resume after interruptions and run in parallel
- One installer for Claude Code, OpenCode, Codex CLI, Cursor and Kiro, fetching each plugin from its own repo

## Getting started

You need Git and Node.js 18+, plus an authenticated GitHub CLI (`gh`) for GitHub workflows or `glab` for GitLab. On Claude Code the README recommends the plugin marketplace; every other platform uses the npm installer.

1. Claude Code: add the marketplace and install plugins

```bash
/plugin marketplace add agent-sh/agentsys
/plugin install next-task@agentsys
/plugin install ship@agentsys
```

2. Any platform: run the npm installer

   The interactive installer supports Claude Code, OpenCode, Codex CLI, Cursor and Kiro, or you can pick tools non-interactively.

```bash
npm install -g agentsys && agentsys

# Non-interactive
agentsys --tool claude
agentsys --tools "claude,opencode"
```

3. Run a task end to end

   Choose a task source, approve the plan, and the pipeline carries the work through review to `/ship`.

```bash
/next-task              # Start new workflow
/next-task --resume     # Resume interrupted workflow
/next-task --status     # Check current state
```

4. Or use a single command

```bash
/deslop apply          # Fix HIGH-certainty AI slop
/prepare-delivery      # Quality gates without shipping
/ship                  # PR, CI and merge for this branch
/audit-project         # Multi-agent code review
```

## When to use it

- Hand a coding agent a GitHub issue and let it plan, implement, review and merge the change after one plan approval
- Clean up AI-written code and run review and validation gates before opening a pull request
- Check whether a roadmap, issues and docs still match what the code actually implements
- Install the same set of workflow plugins across Claude Code, Codex, OpenCode, Cursor and Kiro

## Version history

- 2026-10-06 v6.1.1: OpenCode, Codex, Cursor and Kiro installs get the onboard and can-i-help plugins, agnix installs its command, agent and skill on every platform, and the installer can fetch git-subdir plugin sources pinned by commit.
