https://github.com/mattzcarey/shippie
extendable code review and QA agent 🚢
https://github.com/mattzcarey/shippie
agent agents code-quality code-review flue github huggingface mcp modelcontextprotocol openai opensource pi qa qa-automation
Last synced: 16 days ago
JSON representation
extendable code review and QA agent 🚢
- Host: GitHub
- URL: https://github.com/mattzcarey/shippie
- Owner: mattzcarey
- License: mit
- Created: 2023-07-06T22:15:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-09-28T22:35:07.000Z (about 1 month ago)
- Last Synced: 2026-10-17T16:19:23.279Z (18 days ago)
- Topics: agent, agents, code-quality, code-review, flue, github, huggingface, mcp, modelcontextprotocol, openai, opensource, pi, qa, qa-automation
- Language: TypeScript
- Homepage: https://shippie.dev
- Size: 6.23 MB
- Stars: 2,509
- Watchers: 25
- Forks: 243
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
- awesome-ChatGPT-repositories - shippie - an extensible code review agent 🚢 (Openai)
- awesome-continuous-ai - shippie - powered code reviews (Programming Frameworks / Markdown)
- awesome-ai - mattzcarey/shippie
- awesome-mcp - mattzcarey/shippie - Shippie is an AI-powered code review agent that integrates Large Language Models into CI/CD pipelines and functions as a Model Context Protocol client for enhanced integration with external tools. (MCP Clients / CLI Tools)
- awesome-a2a-agents - mattzcarey/shippie - extendable code review and QA agent 🚢 (Agent Categories / <a name="Unclassified"></a>Unclassified)
- awesome-mcp-registry - mattzcarey/shippie
README
# Shippie 🚢 (formerly Code Review GPT)
[![NPM][npm_badge]][npm]
[![Contributors][contributors_badge]][contributors]
[![Pulse][pulse_badge]][pulse]
[![License][license_badge]][license]
[![Twitter][twitter_badge]][twitter]
## Helps you ship faster
Shippie is an extendable code-review agent. It runs an agent loop that reads your diff, explores the codebase with real developer tools, and posts focused review comments — picking up issues a human reviewer would, such as:
- Exposed secrets
- Slow or inefficient code
- Potential bugs or unhandled edge cases
Shippie can also act as a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) client to reach external tools like browser automation, observability and documentation.
## Demo
https://github.com/mattzcarey/shippie/assets/77928207/92029baf-f691-465f-8d15-e1363fcb808e
## Ethos 💭
- A prebuilt review **workflow**, not a bespoke CLI — the agent loop runs on [flue](https://flueframework.com/) + [pi](https://pi.dev).
- Runs **anywhere**: Node, Cloudflare, GitHub Actions, GitLab CI.
- Functions as a human code reviewer, using flue's built-in tools instead of a hand-rolled tool registry.
- Provider-agnostic: Anthropic, OpenAI, OpenRouter, and Cloudflare Workers AI out of the box.
- Acts as an MCP client for integration with external tools.
## Quick start 🚀
### GitHub Action
Run `npx shippie init` to scaffold the workflow below, then add your provider API key as a repo secret. Or add it manually — it needs a full checkout (`fetch-depth: 0`), PR write permissions, and a provider API key.
```yaml
# .github/workflows/shippie.yml
name: Shippie
on:
pull_request:
permissions:
pull-requests: write
contents: read
jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: mattzcarey/shippie@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
```
See [Action Options](docs/action-options.md) for all inputs (`MODEL`, `THINKING_LEVEL`, `IGNORE`, `CUSTOM_INSTRUCTIONS`, `MCP_SERVERS`, and the provider keys).
### Local
Run the review workflow locally with no server. Local mode reviews your **staged changes** (`git diff --cached`) and writes results to `.shippie/review/local_*.md`:
```bash
npx shippie review
```
### Run on demand with `/shippie`
Comment `/shippie review` on a pull request to run shippie on demand — either via a GitHub Actions workflow (no server) or a deployed webhook channel. See [Run Shippie on demand](docs/tag-shippie.md).
## Setup Instructions 💫
See the [setup instructions](docs/setup.md) for more docs on how to set up shippie in your CI/CD pipeline and run it locally.
### Additional Documentation
- [Setup](docs/setup.md) - Get shippie running in CI and locally
- [AI Provider Configuration](docs/ai-provider-config.md) - Configure Anthropic, OpenAI, OpenRouter, and Cloudflare Workers AI
- [Action Options](docs/action-options.md) - GitHub Action configuration options
- [Model Context Protocol (MCP)](docs/mcp.md) - Give shippie access to external tools
- [Rules Files](docs/rules-files.md) - Inject project context via `AGENTS.md` / `CLAUDE.md` and Agent Skills
- [Subagent Tool](docs/subagent-tool.md) - Delegate work to flue subagents with the `task` tool
- [On-demand /shippie](docs/tag-shippie.md) - Run shippie by commenting `/shippie` (Actions or webhook)
## Development 🔧
This repo targets Node >= 22.19 with npm.
1. Clone the repository:
```shell
git clone https://github.com/mattzcarey/shippie.git
cd shippie
```
2. Install dependencies:
```shell
npm install
```
3. Set up your API key:
- Copy `.env.example` to `.env`.
- Set the provider key you want to use, e.g. `ANTHROPIC_API_KEY` (or `OPENAI_API_KEY`, `OPENROUTER_API_KEY`, `CLOUDFLARE_API_KEY` + `CLOUDFLARE_ACCOUNT_ID`).
4. Run the review workflow:
```shell
npm run review
```
Useful commands:
- `npm run dev` — run flue in dev mode
- `npm run build` — build a publishable Node server to `dist/server.mjs` (run it with `npm run start`, then `POST /workflows/review?wait=result`)
- `npm run check` — lint with oxlint + check formatting with oxfmt
- `npm run check:types` — typecheck with tsc
- `npm test` — run tests
See `package.json` for the full list of scripts.
## Contributors 🙏
Thanks to our wonderful contributors!
## Roadmap 🌏
Have a look at the [discussion tab](https://github.com/mattzcarey/shippie/discussions) for the latest chat and ideas. I am actively working on the items in [todo.md](todo.md).
## Star History ⭐️
[](https://star-history.com/#mattzcarey/shippie&Date)
[npm]: https://www.npmjs.com/package/shippie
[npm_badge]: https://img.shields.io/npm/dm/shippie.svg
[license]: https://opensource.org/licenses/MIT
[license_badge]: https://img.shields.io/github/license/mattzcarey/shippie.svg?color=blue&style=flat-square&ghcache=unused
[contributors]: https://github.com/mattzcarey/shippie/graphs/contributors
[contributors_badge]: https://img.shields.io/github/contributors/mattzcarey/shippie
[pulse]: https://github.com/mattzcarey/shippie/pulse
[pulse_badge]: https://img.shields.io/github/commit-activity/m/mattzcarey/shippie
[twitter]: https://twitter.com/intent/follow?screen_name=mattzcarey
[twitter_badge]: https://img.shields.io/twitter/follow/mattzcarey?style=social&logo=twitter