← Back to directory
C

Cheap Agent

Community
Let a low-cost model write code, then verify it with tests.
Category
Dev Tools #316 of 751
Stars
★ 344 Very popular
Runtime
Node.js 20+
Credentials
Optional API key
License
MIT
Last commit
52FMRS · D

The README describes an MCP server for Claude Code and Codex that delegates implementation to a lower-cost model in a Git worktree and verifies changes with tests. The server manifest was not provided, so specific tool names and transport cannot be confirmed.

Strongest · Setup experience 13/20 Weakest · Reliability 6/20

Reliability
6/20
Security and permissions
10/20
Maintenance
10/20
Documentation
13/20
Setup experience
13/20
Why each score
Reliability 6/20
The README describes isolated worktrees, a test-first/pass workflow, turn limits, and fallback behavior, and it discloses several known limitations. However, no reviewable manifest, source, CI workflow, or committed tests were provided, so MCP initialization, tool listing, and implementation behavior cannot be verified; the static-calibration cap and missing evidence reduce the score.
Security and permissions 10/20
The documentation says project code is sent to the selected model only after user consent, credentials stay local and out of chat, and work occurs in a separate worktree without automatic commits or pushes. It also supports external providers and custom endpoints, documents exceptions in command approval, and provides no source to verify actual data flows, permission boundaries, or confirmation behavior. These gaps reduce the score; the supplied evidence does not establish a red line.
Maintenance 10/20
An MIT license, GitHub Releases update path, and contribution instructions are provided; the repository is not archived and the supplied open-issue count is zero. But commit cadence, version history, dependency updates, a security-response channel, and maintainer response records are absent, so sustained maintenance is unproven and the score is reduced.
Documentation 13/20
The README covers providers, authentication, commands, configuration, cost display, data flows, limits, platform differences, and update/removal, and it acknowledges limitations on hard and small tasks. But there is no reviewable manifest, detailed tool-parameter evidence, troubleshooting coverage, or implementation evidence; some performance and test claims are README assertions only, so the score is limited.
Setup experience 13/20
Clear installation, login, and project-consent steps are given for Claude Code and Codex, along with the Node.js 20+ prerequisite and extra Windows requirement. However, there is no reviewable manifest or evidence of client configuration and a successful connection handshake, and setup relies on npx, interactive login, and extra plugin steps, so the static-calibration cap applies.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the network

Best for

  • Developers who want to manage model costs in Claude Code or Codex.
  • Projects where users can review uncommitted changes and verify results with tests.
  • Users able to configure a supported hosted provider, Ollama, or an OpenAI-compatible endpoint.

Not for

  • Users who need Claude Desktop or another client not listed in the source.
  • Users who expect the tool to commit or push changes automatically.
  • Tiny tasks, or users who need a low-cost model to reliably solve the hardest problems on its own.

Required permissions

  • Requires project-specific consent via `/cheapag:allow` or `$cheapag:allow` to send project code to the selected provider's model.
  • Needs to create and use Git worktrees in the project repository and run tests.
  • May access the configured model provider; local Ollama needs no key, while hosted providers may require an API key.
  • The Codex setup asks users to trust cheapag hooks.

Risks and side effects

  • After consent, project code is sent to the selected model provider; for local Ollama, the README says code stays on the machine.
  • Passing tests do not replace human review; changes land uncommitted and should be checked.
  • A reproduction the server cannot verify may land with a risk note, and the low-cost model may not finish a task.
  • The README notes that first jobs may be slow on Windows and a crashed engine process may remain running.

Setup

Before you start

Runtime:Node.js 20+

OLLAMA_API_KEY optionalsecret For Ollama Cloud, set this to an API key from Ollama; local Ollama needs no key.
Other optional settings (1)
CHEAPAG_NO_UPDATE_CHECK optional Set to `1` to turn off the version update check at session start.

Requires Node.js 20+, Claude Code or Codex, and an API key from a supported model provider; Ollama is also supported. Run npx cheap-agent and choose a provider and models. Claude Code users complete setup and run /cheapag:allow in the project. Codex users run codex plugin marketplace add muaaz9329/cheap-ag and codex plugin add cheapag@cheap-agent, start Codex in the project, trust the cheapag hooks, and run $cheapag:allow. Enter API keys in the local login flow, not in chat.

Check that it works

In Claude Code, run `claude mcp list` and confirm `cheapag` appears. In Codex, install the plugin and trust the cheapag hooks in a project session, then run `$cheapag:allow`.

Troubleshooting

  1. Check that Node.js is version 20 or newer.
  2. Confirm cheapag appears in `claude mcp list`; Codex users should confirm the marketplace and plugin are installed.
  3. Run `/cheapag:allow` or `$cheapag:allow` in the current project and check the consent scope and selected models.
  4. Check provider login, API keys, or environment variables; Ollama Cloud requires `OLLAMA_API_KEY` in the environment that starts Claude Code or Codex.
  5. For local models or custom endpoints, verify the URL, model availability, and tool-call support; on slow machines, increase `limits.max_minutes`.

Things to try

Once connected, you can ask your AI assistant things like:

  • Investigate the login failure in this project and run tests to verify a fix.
  • Add CSV export to this project and write tests for it.
  • Show me recent Cheap Agent jobs and their model costs.

Use cases

Delegate implementation work to a lower-cost model to reduce frontier-model usage.
Implement features or fix bugs in a separate worktree and verify changes with tests.
Review recent jobs and model costs, or switch between configured providers and models.

Supported clients

Claude Code
Codex

Listed from the project's documentation, not tested by this site.

Overview

Cheap Agent is an MCP server for Claude Code and Codex. It assigns planning and decisions to a frontier model, then delegates implementation to a lower-cost model working in a separate Git worktree. The server runs tests to verify changes; passing work is brought into the project uncommitted for review. The README states that it is MIT licensed and reports results on SWE-bench Verified.

Similar servers

Source revision 216dcd4631b9 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/cheap-ag.svg)](https://followmcp.com/en/servers/cheap-ag)