{"_id":"cheap-agent","_rev":"16-c64ae36d2446d7a91c4b38bfb9fc4877","name":"cheap-agent","dist-tags":{"latest":"1.4.3"},"versions":{"0.0.0-stage":{"name":"cheap-agent","version":"0.0.0-stage","_id":"cheap-agent@0.0.0-stage","stub":true,"maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"dist":{"shasum":"f2c10954a7573f4e5e7a1d8083b7157dafe6193e","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-Omrtc1WxaY8ux94MJta+c4v8zptcw8cGEYnZdwbvbHHF5H1Cz3XfUoWJoqxQ13rW2vr7nuar84HzfN9JMzKjdw==","signatures":[{"sig":"MEYCIQDJQGyN6DH8EsjO1LVyDyydWCIyOBJzRatfGJlvx94D0QIhAPx0PosR4xrrMldvQeqzi3wUcBAWjQ453AhvvjnZmWoi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":333},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"description":"Temporary package placeholder for staged publishing","directories":{}},"1.0.0":{"name":"cheap-agent","version":"1.0.0","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation"],"author":{"name":"muaaz9329"},"license":"Elastic-2.0","_id":"cheap-agent@1.0.0","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"2c8fd34cfafba457405a169341c0917342fa20af","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.0.0.tgz","fileCount":35,"integrity":"sha512-Oz2HwWVZ6XKwO9hJmBQrhJ/WumYqE7bdbmeD6AkH8OXEiFLP0SBwnORK7vjRZXJmc6/mnxIRb/pFP/i0RzjIiA==","signatures":[{"sig":"MEUCIClbYdPQ+1jNs4/LZwcelYmoKNDiFnp8TeiwAYMThIdUAiEAnPaVoykDeqGV/ZTQMq8vLFvKtD00VBu1H2+1y3AsmQE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIHVF6iahNXzJ9yPEdemtbUpS6ecmqow9vePm8gaICOevAiEA0jdRUGN5+TnaXDpgwCrhzCXdfXJJL6hpu3bvGn8HxYM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":269102},"type":"module","engines":{"node":">=20.11"},"gitHead":"dfc2e3f5b6a444b6b6d78d6f511cf378923624ad","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Cut your Claude Code usage: Claude plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.0.0_1793236637986_0.3265611651907888","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"cheap-agent","version":"1.1.0","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation"],"author":{"name":"muaaz9329"},"license":"Elastic-2.0","_id":"cheap-agent@1.1.0","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"917bdc180b5c150b0df98aee5e8dc2e02038781f","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.1.0.tgz","fileCount":35,"integrity":"sha512-yWcFdfIqbvF8OkH2pe7iH7Ijos+JuwcoLtliFIls7pm5maH0Zf7xKtUVaoyQMXEf8JKGZREF0iJDYvFrr0OdiQ==","signatures":[{"sig":"MEQCIDI3MXhpr8GlKryvRegjmySmJtr0OlmrncYXI+7OuQS0AiBEFVbKPRtiI2kf67KfVBXlNlIwlJnhViqDQQkKRSOl4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDnGFZjRumuZMAI3892WWKizciU5qJleniwah+x9vuF2AIgGfmvF1iCuOPp4CJybssJ8rF9o5Mv+fEeyriUIie7Ha0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":280461},"type":"module","engines":{"node":">=20.11"},"gitHead":"3293d14a53ae8a0d529f607f52e5e53f1fa1cf6e","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Cut your Claude Code usage: Claude plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.1.0_1793283170754_0.06789015288831823","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"cheap-agent","version":"1.1.1","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation"],"author":{"name":"muaaz9329"},"license":"Elastic-2.0","_id":"cheap-agent@1.1.1","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"25a11f941be2fa0331023eb5e6495efd11b061ea","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.1.1.tgz","fileCount":35,"integrity":"sha512-UG6bFSxuyVnoUtvjnYkslM4mL84RAgUREjOEYYuChIyvv2ATEqqLwNXrvd7yYZ85rLCUOEPxKbVHxXWxnjwyww==","signatures":[{"sig":"MEQCICZvWlRqHn92F67VPeBMLlADA2CCu3l9x9VIm3rJvMdiAiAzcWZXl8rMDdHfmPmGUAqcnpoGbrt0xM8UQYtLGouf1w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCfSY74VZ9XjZCWFhbRjZKHiO+5z/Onz6GJrsC89uTj+AIhAOAtu+t4cIxYnolgo1BFVR13TQ9bwrtGM5QvB4/++jg7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":280655},"type":"module","engines":{"node":">=20.11"},"gitHead":"07cad8b061a1b8ff6c23eb02add89349f1171481","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Cut your Claude Code usage: Claude plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.1.1_1793285927211_0.12838055466227716","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"cheap-agent","version":"1.2.0","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation"],"author":{"name":"muaaz9329"},"license":"Elastic-2.0","_id":"cheap-agent@1.2.0","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"04b7e5b884d8ce459de9559dc7b3b8f20020aeb5","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.2.0.tgz","fileCount":35,"integrity":"sha512-XAKZYnG6cctaiWeOlHkq+nL3fEVwo2k00yivnjUkkFN/j5b6ODaMZwLkJoU8dFy9DRSK7mxlCUkQyazhgKTRfQ==","signatures":[{"sig":"MEUCIFht6krYJUd+Cl+1NCCkZfKBXQqfYTTR7/A7eWjh/DwLAiEAx0ndExy6Xg6HpQ1fJuBEccY6IgZFBEUaVdF+K5pvulU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCPLqfhMsPSd+3geNzbFQARkqoCahtx9ccqPlBEXuFUHQIga7bnTEDihbDVnwbgIJ+4wNyyCCL2cyu6OwAX+WdVpOM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":292546},"type":"module","engines":{"node":">=20.11"},"gitHead":"ff41696393dc9d7e4a6852bb4963dada00411326","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Cut your Claude Code usage: Claude plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.2.0_1793293575655_0.5505376897034159","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"cheap-agent","version":"1.2.1","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation"],"author":{"name":"muaaz9329"},"license":"Elastic-2.0","_id":"cheap-agent@1.2.1","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"bbe87b9ef8acaaeaea3e19dd4e25b378f790e5cf","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.2.1.tgz","fileCount":35,"integrity":"sha512-d1VIjebLlf5bkUA+GHtewTc9Kxvle5IKBVkWncksgW1QtJQEVQT/Cn06cQFONHuopuQOk1WlQmLI6JQU40OIsQ==","signatures":[{"sig":"MEUCIEdArCoayd0KHuFS5Dh0qkStw+zz5kCR7//SHO+U5f81AiEA+KybFWN2J4q/8w1GOjUq+WE2rKrTl1Se5qwJg3XLNig=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGtxRkQguIj5WqF/1W9Y6NHHPld+l+GI2ltwaKz/pRTJAiEAt1kQnRRwXhphvhI8AQvdo/Sl9tKgNuCGTMG2wm08vMk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":295726},"type":"module","engines":{"node":">=20.11"},"gitHead":"6ead8a6caac312dd0ea281ded6084127e4f8c2c3","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Cut your Claude Code usage: Claude plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.2.1_1793301379610_0.1102459524864482","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"cheap-agent","version":"1.2.2","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation"],"author":{"name":"muaaz9329"},"license":"Elastic-2.0","_id":"cheap-agent@1.2.2","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"fb751d2a6ed56464cb5125c791b21cd5bcbe00f5","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.2.2.tgz","fileCount":35,"integrity":"sha512-Xs63qH8r7qZlFIAFfaUIpoKoHpogK/YzAtpAM5YwdmOJnrSN3mYhTI0zRKv6XVFEbnKZDQIXnZnRnXM+5bU1ww==","signatures":[{"sig":"MEUCIDu8y4Elo3Tc0jhirXCjySx87N8gVjnzsu+tTxRTctotAiEAxeJSYMbYWMbL2AM6fkK56+yrtFlv/iqvZM2IaW+DB0Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDwuw4qdmMggUoqyXPJ815O/3AziqWs8NRlOjvjt4rmfAIhAOpd9ALIwOHUwM+cJJw+Vy11yDAafe9LWuT+tjFEmT5R","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":297054},"type":"module","engines":{"node":">=20.11"},"gitHead":"0f7b680e8ec924d74d96ff10b7b8ed54bb17d114","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Cut your Claude Code usage: Claude plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.2.2_1793303067216_0.39494130222921564","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"cheap-agent","version":"1.2.3","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation"],"author":{"name":"muaaz9329"},"license":"Elastic-2.0","_id":"cheap-agent@1.2.3","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"f72705d918bc46ac32c362ac9da0bc4832c49ccb","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.2.3.tgz","fileCount":35,"integrity":"sha512-ahGAFhHn9C6VRl3XFWjxIxOCx94ylqPbUwMAfF8VYksqsU2BgCY+tFhamr+ALSsohv9RBhWZ4EZ7YJwqjcaSug==","signatures":[{"sig":"MEQCIAe6pQmNR2YExdpYFWt08IwnyXnIG8qpyYpdRprDREI6AiAC0+erY4hXRB/v24HHfEBm1pPb1bRVuHzv4XrwSWz6vA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIHiNRc69WlQidY7RRn1bLl0QaOyig/UVRY/g+06nVrP0AiEAqHLawEqGRKF6l1UtgqYM2sGa3pRu1e08x3jv2CXB0lQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":298533},"type":"module","engines":{"node":">=20.11"},"gitHead":"a7f70c2965ee029aec69460d4f888ba31e7655ec","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Cut your Claude Code usage: Claude plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.2.3_1793312000469_0.0010601663584492993","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"cheap-agent","version":"1.2.4","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation"],"author":{"name":"muaaz9329"},"license":"MIT","_id":"cheap-agent@1.2.4","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"772cf1ca6a9d37958ca881f8021e7f8f890a8f9c","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.2.4.tgz","fileCount":35,"integrity":"sha512-o+ZTDlhNbTuyPw0osUFHa9LLm1Kfqv+959Pzj3Gz8wN4Uza8aA5i0ZW4kGrM0kLhtr89klFC7LuLHjR8JhAruw==","signatures":[{"sig":"MEYCIQDPGYBV9Dd3F38mUXtUE1ComMG33AZ254hTgtRQAaOSHgIhALH7LZjJVwbU+FmL55D9Sc8Q/+xogqcsYdO7wnPfEwbE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDCeKBklvOYneXicQLWd2KT5xSvC0x0atG3kRwnbTHKowIgD+mQN5ynAeI/+ZyoyQVDQ3qSj61aM/MPMXTomjh4/ZU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":295985},"type":"module","engines":{"node":">=20.11"},"gitHead":"9c7c8692c79ad4327c933234ea063ad685af91d1","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Cut your Claude Code usage: Claude plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.2.4_1793384950206_0.07058327912229834","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"cheap-agent","version":"1.2.5","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation"],"author":{"name":"muaaz9329"},"license":"MIT","_id":"cheap-agent@1.2.5","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"e6b62dc94b8441d9172354cd84facf919ad68e03","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.2.5.tgz","fileCount":35,"integrity":"sha512-uPQgcj2G4G5vZIKSicO4rADWl2BpY1LcklgPO1BbeESHH9yZJ6GAH7ZtTx2SP7KU4ZM3SnVO2mKv8tltfJ4IDQ==","signatures":[{"sig":"MEUCIQCLOsQzabZ1x4nYZzhs1Wt6j7CGHZwVzkQ7FMAb9l8DmAIgCejkOvsdc1H9aqoZkgHsWV7mTu2hftwYEle1jQCEVoQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICkdvVCDU3RjuD6yYCfFo8IHyR8eJUbGCL4S9j6u/nIrAiAc9dGYEEUL8pTN1EQu/KQCV5cQlGwmfZtEgknWosv/Vw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":296737},"type":"module","engines":{"node":">=20.11"},"gitHead":"7e2191a3c2f506a4d61f9c5f618a11c36281eb5d","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Cut your Claude Code usage: Claude plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.2.5_1793385375693_0.5283414569621981","host":"s3://npm-registry-packages-npm-production"}},"1.2.6":{"name":"cheap-agent","version":"1.2.6","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation"],"author":{"name":"muaaz9329"},"license":"MIT","_id":"cheap-agent@1.2.6","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"a8c92fa29fca6a401ef86abd5fa1862d97d8c0d2","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.2.6.tgz","fileCount":35,"integrity":"sha512-0FqJrQ4yFhy87x7kLaUqvv4jMHvimq/Rt5yGJMoRYN/JwldoobCdlqi1lq62VheK6uoREvbAYylVwwnGGzZI6Q==","signatures":[{"sig":"MEQCICkz5D/g13cs1W1aCxrWg6xmBDUeO+yUTqGrDOTVG0gRAiADhmQVuVUdIWPBMajEoODtt1mGDYB713h2Dp+JzG2kug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIBnfB6byy8GSNNatoauSINMP28KQf3Vjva3DX4KBm97wAiBj4Vv3f3t/E4dgVfK8iuc4ZcuVJRVf+KpBw9RZJ0eePQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":298227},"type":"module","engines":{"node":">=20.11"},"gitHead":"71c89afe2ef507f88387386e9e3ee330da9d326f","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Cut your Claude Code usage: Claude plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.2.6_1793484309903_0.4448746318743194","host":"s3://npm-registry-packages-npm-production"}},"1.2.7":{"name":"cheap-agent","version":"1.2.7","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation"],"author":{"name":"muaaz9329"},"license":"MIT","_id":"cheap-agent@1.2.7","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"bafe4f7c2de4a28f4cdf649dd6a60ee26d2ae868","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.2.7.tgz","fileCount":35,"integrity":"sha512-rWhqjFtQQ5nTEqKxCKhfcxixluBrncHont8koQbkVta1c4ahyYe/UaORQfU30PZzUU2prMGbOgO9wIb65oFhwA==","signatures":[{"sig":"MEQCIEzFd3KPTgX6H6k9TR9Sema3u5f1PSoXXzR6Ems36YM2AiBbnghjIRqn+OnXa577ynrFmh6Gv+zRaB8l35kj7Y9TyA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIF4s+rpeP6qiXZz2YVxIGQCBFHLeLsswxmdjj/u29H1iAiBgPdFQEWh0KbKTUjbeUAcvYp9ULBU+juQg2urVCDK+Kg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":302642},"type":"module","engines":{"node":">=20.11"},"gitHead":"d4a8a52b9bb53d2ed6342517c4524e7be4944c9e","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Cut your Claude Code usage: Claude plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.2.7_1793486516358_0.675501036698012","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"cheap-agent","version":"1.3.1","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation","codex","openai-codex"],"author":{"name":"muaaz9329"},"license":"MIT","_id":"cheap-agent@1.3.1","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"8a7516f4eedb84c12827a74c510e39e4c1e19e2c","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.3.1.tgz","fileCount":43,"integrity":"sha512-FYqlL9OD+wuPJCp4WFeB/L9NejgX6vzWs9wUmbqX0PQcKZQZ2khqXyZCDY/s1Kdn+WhX9ElAWGFTd5skiHw9IA==","signatures":[{"sig":"MEQCIHFZtWDndgnzO5SWquFCmml0tL1w9hFSe+gM/OVNipX9AiA9Nl6oNaUZwi0eN30eBz0cm3e1bMqNefHEtLEzBW5Hog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDjy2vBHi5RPVvB4Y5q618Zyn88t5SOmOeb9lqofQtinAIgaL9bP0bBbNZVAaSsZAG1pr9r14OI7eCIBEHfiqKyfJ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":326685},"type":"module","engines":{"node":">=20.11"},"gitHead":"72c71f269a021029913ad5575b81ddd3f82e6081","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Make your Claude Code or Codex plan last longer: your frontier model plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.3.1_1793657234980_0.2515517556137711","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"cheap-agent","version":"1.3.2","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation","codex","openai-codex"],"author":{"name":"muaaz9329"},"license":"MIT","_id":"cheap-agent@1.3.2","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"5c97197b56bceefb3effc7270dc424a414a397b2","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.3.2.tgz","fileCount":43,"integrity":"sha512-Jg5Vwy+yCLNWRJye8p/y/qY8ax7JDkZ35heZTtkWn3zlcBYabe0fn6I4qRSCc47yVEQRX3Wfw3D190yu54MKAg==","signatures":[{"sig":"MEYCIQCeBrhgXwOlFrlnOL0uYrMxyptep6WnKB1clBZv6JetngIhAKflkjJ4jkhmfhjFqNc9y2R3kDVeY9p6oLwTROwjoePs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCYi9WY4OSuN7B9L53BztJuqGC/PMRkF8RICl4gqyQCWAIhAJ7rlGvLh9PcgPRGGpRwp0ByKSqTOjQOXQ8fiUKk7jUV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":329034},"type":"module","engines":{"node":">=20.11"},"gitHead":"7b1ee74e48cd946e01ee920a1eeaa514d4dfb0a8","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Make your Claude Code or Codex plan last longer: your frontier model plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.3.2_1793662978001_0.8402220903539592","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"cheap-agent","version":"1.4.1","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation","codex","openai-codex"],"author":{"name":"muaaz9329"},"license":"MIT","_id":"cheap-agent@1.4.1","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"homepage":"https://github.com/muaaz9329/cheap-ag#readme","bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"bin":{"cheapag":"dist/index.js"},"dist":{"shasum":"25241923f267f1902657ef9031667e3f3fd6cc45","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.4.1.tgz","fileCount":51,"integrity":"sha512-d/qDtCPFz02EkhCkSj7FeUJnrpHbXRDvm5uHJ5HlYxmdzacOeExjLGVNxAPW31parM4pQeX1MJfG1WT3+bLI2g==","signatures":[{"sig":"MEUCIDlQL1A5GHAgtVvCJv8q2J0puTPWZg/JFXUOERKo61cmAiEAkwXeAaFDOPWQ6Xb+eLxRPF00gQ7WmQG0+3qmnY3D0G8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIH6b3fsdbRA7OWtpJ4JZAbQCjsfGRz1fxxCV74wNqrh4AiEAkERSxkDuZjuJll+RUzwmfuJk0PS4tNBOVt5/U9fsMx8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":393479},"type":"module","engines":{"node":">=20.11"},"gitHead":"892de9c49bf670ca516933e1b2d9bd7ce533764d","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Make your Claude Code or Codex plan last longer: your frontier model plans, a cheap model writes the code. One command to install.","directories":{},"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"tmp":"tmp/cheap-agent_1.4.1_1794201029890_0.32140499867336136","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"_id":"cheap-agent@1.4.3","bin":{"cheapag":"dist/index.js"},"bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"dist":{"shasum":"726eebbdabc797d9e373cfa7ed8552c192efc472","tarball":"https://registry.npmjs.org/cheap-agent/-/cheap-agent-1.4.3.tgz","fileCount":51,"integrity":"sha512-lZ7xX5rzucV+FpfEBB1q2vVH1HRQU38k5UZIHkGdJXBf0LztE340C2jklwnkQ/+4iKV2ezTFZd7RPZgatwiqSw==","signatures":[{"sig":"MEUCIAZrChS98O6ERWOLCvrpK0OjW+DaoByPpyR2sZCZVYySAiEA6jCM0Yn2Q8fsMubgBTq6eyyXBQJSBEX/orHesRubWxc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC4LVDGI5ksijORGj+E5apzs2qlriMyW1bcZs9WDqbN3QIhAOYL+VqiGEngK0oulAAnntv9J6nOyx4zSCK35rlntZck"}],"unpackedSize":417162},"name":"cheap-agent","type":"module","author":{"name":"muaaz9329"},"engines":{"node":">=20.11"},"gitHead":"badb48d74048fed7978aab52ca22a95ddd565b56","license":"MIT","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","pretest":"npm run build","typecheck":"tsc --noEmit"},"version":"1.4.3","_npmUser":{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"},"homepage":"https://github.com/muaaz9329/cheap-ag#readme","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation","codex","openai-codex"],"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"_npmVersion":"11.20.0","description":"Make your Claude Code or Codex plan last longer: your frontier model plans, a cheap model writes the code. One command to install.","directories":{},"maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"_nodeVersion":"26.12.1","dependencies":{"zod":"^4.6.7","opencode-ai":"1.19.0","@opencode-ai/sdk":"1.19.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.4","typescript":"^7.0.2","@types/node":"^26.6.5"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cheap-agent_1.4.3_1794810375318_0.6573198618465939"}}},"time":{"created":"2026-10-29T01:15:09.234Z","modified":"2026-11-16T06:26:16.048Z","0.0.0-stage":"2026-10-29T01:15:09.234Z","1.0.0":"2026-10-29T01:17:18.129Z","1.1.0":"2026-10-29T14:12:50.843Z","1.1.1":"2026-10-29T14:58:47.417Z","1.2.0":"2026-10-29T17:06:15.840Z","1.2.1":"2026-10-29T19:16:19.769Z","1.2.2":"2026-10-29T19:44:27.337Z","1.2.3":"2026-10-29T22:13:20.596Z","1.2.4":"2026-10-30T18:29:10.318Z","1.2.5":"2026-10-30T18:36:15.778Z","1.2.6":"2026-10-31T22:05:10.033Z","1.2.7":"2026-10-31T22:41:56.449Z","1.3.1":"2026-11-02T22:07:15.113Z","1.3.2":"2026-11-02T23:42:58.090Z","1.4.1":"2026-11-09T05:10:30.008Z","1.4.3":"2026-11-16T06:26:15.427Z"},"bugs":{"url":"https://github.com/muaaz9329/cheap-ag/issues"},"author":{"name":"muaaz9329"},"license":"MIT","homepage":"https://github.com/muaaz9329/cheap-ag#readme","keywords":["claude-code","claude","mcp","ai-agents","deepseek","openrouter","cost","delegation","codex","openai-codex"],"repository":{"url":"git+https://github.com/muaaz9329/cheap-ag.git","type":"git"},"description":"Make your Claude Code or Codex plan last longer: your frontier model plans, a cheap model writes the code. One command to install.","maintainers":[{"name":"muaaz9329","email":"muaazkhan1575@gmail.com"}],"readme":"<h1 align=\"center\">Cheap Agent</h1>\n\n<p align=\"center\">\n  <em>Your frontier model is a principal engineer. Stop paying it to type.</em>\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/npm/v/cheap-agent?style=flat-square&color=111111&label=npm\" alt=\"npm\">\n  <img src=\"https://img.shields.io/badge/for-Claude%20Code%20%7C%20Codex-111111?style=flat-square\" alt=\"For Claude Code and Codex\">\n  <img src=\"https://img.shields.io/badge/cheap%20model-%C2%BD%C2%A2%20a%20task-111111?style=flat-square\" alt=\"Cheap model: half a cent a task\">\n  <img src=\"https://img.shields.io/badge/tested%20on-SWE--bench%20Verified-111111?style=flat-square\" alt=\"Tested on SWE-bench Verified\">\n  <img src=\"https://img.shields.io/badge/license-MIT-111111?style=flat-square\" alt=\"MIT License\">\n</p>\n\n<p align=\"center\">\n  <img src=\"assets/demo.gif\" width=\"880\" alt=\"Two real Claude Code sessions side by side, same prompt: Claude Code alone climbs to 233k Opus tokens, Claude Code with Cheap Agent stops at 132k, and the cheap model costs $0.007.\">\n</p>\n\n<p align=\"center\">\n  <img src=\"assets/hero.svg\" width=\"880\" alt=\"Same feature, same prompt: Claude Code alone used 154k Opus tokens in 5 turns; with Cheap Agent 57k Opus tokens in 2 turns, 63% fewer, and the cheap model cost half a cent. Both versions pass all their tests.\">\n</p>\n\n<p align=\"center\">\n  <strong>Same feature. Same prompt. 63% fewer Opus tokens.</strong><br>\n  <strong>Your Claude or ChatGPT plan lasts longer. Your code still ships with tests.</strong>\n</p>\n\n<p align=\"center\">\n  ⭐ Star it, and click <strong>Watch → Custom → Releases</strong> to hear when new versions ship.\n  <br>💬 Questions, ideas and setups: <a href=\"https://www.reddit.com/r/CheapAgent/\">r/CheapAgent</a>\n</p>\n\n## Install\n\nWorks in Claude Code and Codex. One login covers both.\n\n### Let agent install\n\nCopy this into Claude Code or Codex and let the agent take it from there. It asks what you want, sets things up, and gives you one command to run yourself, where you type your API key.\n\n```text\nSet up Cheap Agent (npm: cheap-agent) for me.\n1. Ask me which provider (OpenCode Go, OpenRouter recommended for a hosted one, DeepSeek,\n   Ollama for a local model with no key, Command Code, OpenCode Zen, or Custom endpoint for any OpenAI-compatible API)\n   and which models (balanced is the default; cheapest, strongest, or my own provider/model).\n2. Check that node is 20+, and whether I use Claude Code (claude CLI), Codex (codex CLI) or both.\n3. If I picked my own model, save {\"models\":{\"implement\":\"<model>\"}} in\n   ~/.config/cheapag/config.json, keeping what else is there.\n4. Give me the command to run in my terminal: npx cheap-agent login --preset <my choice, or custom>,\n   and which provider to pick with the arrow keys or its number (1 OpenCode Go, 2 OpenRouter,\n   3 DeepSeek, 4 Ollama, 5 Command Code, 6 OpenCode Zen, 7 Custom endpoint). If I picked Ollama Cloud, tell me to\n   export OLLAMA_API_KEY before running it. If I don't use Claude Code, tell me\n   to say no when it offers to add itself there. I run it and type my API key there. Never ask for my key.\n5. When I say done: for Claude Code, check `claude mcp list` shows cheapag. For Codex, run\n   `codex plugin marketplace add muaaz9329/cheap-ag` and `codex plugin add cheapag@cheap-agent`.\n6. Tell me to open a new session in my project and run /cheapag:allow in Claude Code, or\n   $cheapag:allow in Codex (trusting the 3 cheapag hooks when it asks).\n```\n\n### Claude Code\n\n```bash\nnpx cheap-agent\n```\n\nPick a provider (**OpenRouter** if unsure), press Enter for the recommended models, paste your API key. It checks the key works, then adds itself to Claude Code for every project.\n\nThen, in each project, once:\n\n```\n/cheapag:allow\n```\n\n**That's it.** Ask Claude for changes like you always do.\n\n### Codex\n\nLog in (say no when it offers to add itself to Claude Code, if you don't use Claude):\n\n```bash\nnpx cheap-agent\n```\n\nAdd the plugin:\n\n```bash\ncodex plugin marketplace add muaaz9329/cheap-ag\n```\n\n```bash\ncodex plugin add cheapag@cheap-agent\n```\n\nStart `codex` in your project and trust the 3 cheapag hooks when it asks. Then, in each project, once:\n\n```\n$cheapag:allow\n```\n\n**That's it.** Ask Codex for changes like you always do.\n\n### You need\n\n- [Claude Code](https://claude.com/claude-code) or [Codex](https://developers.openai.com/codex)\n- [Node.js](https://nodejs.org) 20+\n- An API key with a few dollars on it from one of the [supported providers](#supported-providers), or [Ollama](#ollama), local or cloud, or a local model with no key at all. A few dollars lasts hundreds of tasks.\n\nIt runs on macOS, Linux and Windows.\n\n**Windows:** you also need [Git for Windows](https://git-scm.com/downloads/win) (Git Bash). Known so far:\n- The very first job can take about 2 minutes while the cheap model's engine (OpenCode) sets itself up. Later jobs start in seconds.\n- If that engine crashes mid-session, Cheap Agent starts a new one, but the crashed copy can stay running (`opencode.exe` in Task Manager) until you end it or restart.\n- The cheap model can't read your dependency folders (like `node_modules`) inside its copy of the project. Your tests still run normally.\n\n## Supported providers\n\n| # | Provider | Get a key | Good to know |\n|---|---|---|---|\n| 1 | OpenCode Go | [opencode.ai](https://opencode.ai) | Set Regions to Global in its console for the DeepSeek models. |\n| 2 | OpenRouter | [openrouter.ai/keys](https://openrouter.ai/keys) | Pick this if unsure. |\n| 3 | DeepSeek | [platform.deepseek.com](https://platform.deepseek.com) | |\n| 4 | Ollama | None for this machine; [ollama.com](https://ollama.com) for cloud | Local or cloud. Used by default when set up. [How](#ollama) |\n| 5 | Command Code | [commandcode.ai](https://commandcode.ai) | Needs a plan with API access. |\n| 6 | OpenCode Zen | [opencode.ai/zen](https://opencode.ai/zen) | Pay-as-you-go. |\n| 7 | Custom endpoint | Your own, if it needs one | Any OpenAI-compatible API. [How](#local-model-or-your-own-endpoint) |\n\nThe number is what you press at login. Log in to more than one and switch any time with `/cheapag:provider`.\n\n## Ollama\n\nRun `npx cheap-agent login`, pick **Ollama**, then one of its two endpoints:\n\n- **This machine**: your own Ollama at `http://127.0.0.1:11434` (it asks for the URL if yours differs). No key. It lists the models you have pulled and asks which one to use. Nothing leaves the machine, so `/cheapag:allow` treats it as zero retention.\n- **Ollama Cloud**: `https://ollama.com/v1`. Export `OLLAMA_API_KEY` where Claude Code (or Codex) starts, then log in: it checks the key, lists the cloud model ids, and saves a preset (cheapest, balanced or strongest). Jobs fall back to the next cloud model when one hits a limit, and escalate to the strongest. The key stays in your environment and OpenCode reads it; Cheap Agent never sees or stores it.\n\nOnce set up, Ollama is used by default, even if you logged in to another provider earlier. To use another one, pick it with `/cheapag:provider` or set `\"provider\"` in `~/.config/cheapag/config.json`.\n\nOn this machine's endpoint one model implements and researches. If `models` in a project's `cheapag.json` names a model from another provider, it is ignored, and `ping`, `status` and `delegate` say which model actually runs.\n\n## Commands\n\n| Claude Code | Codex | What it does |\n|---|---|---|\n| `/cheapag:allow` | `$cheapag:allow` | Your OK to send this project's code to the cheap model. Once per project. |\n| `/cheapag:status` | `$cheapag:status` | Recent jobs, and what the cheap model has cost you. |\n| `/cheapag:hook on` | `$cheapag:hook on` | No more \"I'll just do it myself\": your frontier model *must* hand code changes to the cheap model. |\n| `/cheapag:clean` | `$cheapag:clean` | Tidy up old job folders. |\n| `/cheapag:model` | `$cheapag:model` | Pick the worker's main and fallback models, each with an effort. |\n| `/cheapag:provider` | `$cheapag:provider` | Switch to another provider you've already logged in to, with no key prompt. This project's consent moves with it, and you see what it now covers. If the new provider fails its check, nothing changes. Add a new provider with `npx cheap-agent login`. |\n\nWhile a job runs, Claude Code shows the worker's latest step under the tool call, and Codex shows it each time it checks in (about every 15 seconds). To follow every step in a second terminal, run `npx cheap-agent watch`.\n\n## Settings\n\nOptional. Put a `cheapag.json` in a project:\n\n| Setting | Default | What it does |\n|---|---|---|\n| `takeover` | `\"ask\"` | What happens when the cheap model couldn't finish a step. `\"ask\"`: Claude asks you first, so nothing is spent without your choice. `\"sonnet\"`: a Sonnet helper takes over automatically, often several hundred thousand Claude tokens on a hard task. `\"self\"`: Claude does it, capped at 15 tool calls (`limits.takeover_calls`). Claude Code only; Codex asks in chat (`\"ask\"`) or finishes it itself. |\n| `limits.max_turns` | `25` | The most turns the cheap model gets per step. |\n| `limits.repro_by_turns` | `30` | A bug-fix step that has edited nothing by this turn is stopped early (×2 medium, ×3 hard). The default lands past the 25-turn cap, so by default the worker runs to its cap; set it lower to stop sooner. |\n| `models` | from setup | Which cheap models to use. Switch with `npx cheap-agent login --preset strongest`. |\n| `retention` | `{ \"unlanded_worktree_days\": 2, \"job_log_days\": 7 }` | Days cleanup keeps an unlanded worktree and a job's log folder. It runs at server start and every hour. |\n\n## Local model or your own endpoint\n\nNot in the list of providers? Run `npx cheap-agent login` and pick **Custom endpoint**. It works with anything that speaks the OpenAI API: llama.cpp, LM Studio, vLLM, LiteLLM, Azure, or a vendor's API. For Ollama, pick **Ollama** instead; it does the URL, model and context questions for you. The custom endpoint asks for:\n\n- **URL**, e.g. `http://127.0.0.1:8080/v1` for llama.cpp. Plain `http` only works on this machine or your own network.\n- **API key**, only if the endpoint needs one: the name of an environment variable, or a file, that holds it. Cheap Agent never reads the key itself.\n- **Model**, picked from the endpoint's list.\n- **Context window and prices**, both optional. Without prices, cost shows $0.\n\nThe model has to be good at tool calls; small local models often aren't. If jobs time out on a slow machine, raise `limits.max_minutes` (default 20).\n\n## Orchestrators and git worktrees\n\nCheap Agent works in the repository your session started in. If one session runs several tasks, each in its own git worktree (an orchestrator handing tickets to subagents, say), pass `root` with the worktree's absolute path on `delegate`, `research`, `jobs`, `land` and `reply`. Jobs then run, land and keep their records in that worktree, and the session's own checkout is untouched. Each worktree needs its own consent (`/cheapag:allow` there, or a copied `.cheapag/consent.json`). Without `root`, nothing changes.\n\n---\n\nYou know the principal engineer. Twenty years in. Sees the whole system at once. Costs a fortune per hour.\n\nYou would never pay them to type out a CSV exporter.\n\nBut that's exactly what happens every time your frontier model (Claude Opus, GPT-6 Astra or Sol) writes your code: the most expensive model you have, reading files, typing boilerplate, re-running tests, burning through your plan.\n\n**Cheap Agent fixes the org chart.** Your frontier model plans and decides. A model that costs half a cent per task does the typing, in its own copy of your project, and has to prove its work with a test before anything reaches you.\n\n## Why I built this\n\nThe idea: get **$200-plan usage out of the $100 Claude plan**, and **$50–70 worth out of the $20 plan**, with a few dollars of DeepSeek doing the typing.\n\nI've met a lot of students, mostly in developing countries, who really want Opus for the hard problems and simply can't afford $100 a month. I wanted to find something that helps them.\n\nThis is a small effort from my side. It won't make Opus ten times cheaper. But stretching the plan you already pay for is something, and something is better than nothing.\n\n📖 The full story (why I built it, how it works step by step, and the SWE-bench numbers): **[Cheap Agent: how I made my Claude plan last 2.2–2.7x longer](https://muaazkhan.me/blog/cheap-agent)**\n\n## The numbers\n\nTested on [SWE-bench Verified](https://www.swebench.com): real bugs from real open-source projects, graded by the official harness. Same prompts in Claude Code with Opus 5.5, with and without Cheap Agent.\n\n<p align=\"center\">\n  <img src=\"assets/chart.svg\" width=\"880\" alt=\"Opus tokens, Claude Code alone versus with Cheap Agent. Adding a feature: 154k vs 57k, 63% less, both pass all tests. 7 everyday bug fixes: 1.6M vs 655k, 59% less, 7 of 7 solved by both. 9 of the hardest bugs: 3.0M vs 1.3M, 55% less, 6 of 9 solved vs 7 of 9, with a Sonnet helper doing the leftovers.\">\n</p>\n\n**What I won't hide:**\n- On the very hardest bugs it solved 6 of 9 where plain Opus solved 7 (on a single run plain Opus averages about 6 too).\n- On tiny jobs (a few lines, or a whole small app from nothing), Opus is already quick, so there's nothing to save.\n\nCheap Agent shines on the work in between: real features and real fixes in real code. That's most of your day.\n\n## Before / after\n\n**The ask:** *\"Add monthly budgets to the expense tracker, plus a CSV export. Tests for everything.\"*\n\n|  | Claude Code alone | Claude Code + Cheap Agent |\n|---|---|---|\n| Opus tokens | 154k | **57k** |\n| Opus turns | 5 | **2** |\n| Who wrote the code | Opus | a cheap model, for **$0.005** |\n| Tests | 33 passing | **38 passing** |\n\nOpus wrote one task. The cheap model did the rest, tests included.\n\n## How it works\n\n<p align=\"center\">\n  <img src=\"assets/flow.svg\" width=\"880\" alt=\"How it works: Opus writes a short task; a cheap model works in its own copy of your project, writes a test that fails, fixes the code and makes the test pass; Cheap Agent runs the tests itself and only work that passes its checks lands, and a reproduction the server could not verify lands with a risk note, uncommitted; Opus reads a ten-line result and tells you. If the cheap model can't finish, a Sonnet helper finishes the step instead of Opus.\">\n</p>\n\n- **Every change is proven.** The cheap model must write a test that fails before its fix and passes after. Cheap Agent runs the tests itself; it doesn't take the model's word for it.\n- **Your project stays clean.** Work happens in a private copy (a git worktree). Only work that passes its checks lands; a reproduction the server could not verify lands with a risk note. It lands uncommitted, so you review the diff like any other.\n- **Your frontier model stays in charge,** but it's held to it: Cheap Agent's hooks stop it from quietly redoing work that already passed, or (in Claude Code) doing a failed step itself when Sonnet can.\n\n## FAQ\n\n**Is a half-cent model actually any good?**\nOn its own, no. With a written task from your frontier model, a test it has to pass, and a referee that runs that test, yes, most of the time. When it isn't, it says so and a stronger model takes over.\n\n**Does my frontier model check the work?**\nThe tests check the work, and Cheap Agent runs them. Opus checking every passing change cost three times the tokens and caught nothing in my runs, so it trusts a pass. You still review the diff before you commit.\n\n**Where does my code go?**\nTo the provider you picked, only after you run `/cheapag:allow` (`$cheapag:allow` in Codex) in that project, which also shows exactly which models will see it. Your API key stays on your machine, in a hidden prompt and a local credential store, never in chat.\n\n**Will it commit or push anything?**\nNever. Changes land uncommitted. Your git, your call.\n\n**Why not just use Sonnet for everything?**\nSonnet still costs real usage on every line it types. The cheap model types for half a cent. Sonnet only gets called when the cheap model is stuck.\n\n**Can I use it at work, or build on it?**\nYes. It's MIT licensed: use it, change it, share it, at any company, for free ([MIT License](./LICENSE)).\n\n**Why \"Cheap Agent\"?**\nBecause your plan isn't.\n\n## Contributing\n\nPRs are welcome, and I'm more than happy to merge them. Setup, where things live, and how to add a provider are in [CONTRIBUTING.md](./CONTRIBUTING.md). For ideas and questions, come say hi on [r/CheapAgent](https://www.reddit.com/r/CheapAgent/).\n\n## Update or remove\n\nNew versions are announced on the [Releases page](https://github.com/muaaz9329/cheap-ag/releases). Cheap Agent also tells you when a session starts if a new minor or major version is out; set `CHEAPAG_NO_UPDATE_CHECK=1` to turn that off.\n\n**Update:**\n\n```bash\nnpx cheap-agent@latest\n```\n\nIn Codex, also:\n\n```bash\ncodex plugin marketplace upgrade\n```\n\n**Remove** (two commands):\n\n```bash\nclaude plugin uninstall cheapag@cheapag\n```\n\n```bash\nclaude mcp remove -s user cheapag\n```\n\nIn Codex:\n\n```bash\ncodex plugin remove cheapag@cheap-agent\n```\n","readmeFilename":"README.md"}