JSPM

  • Created
  • Published
  • Downloads 133
  • Score
    100M100P100Q61141F

Package Exports

  • opencoder
  • opencoder/mcp

Readme

OpenCoder: the open source version of Claude Code

Try it out:

npx opencoder@latest
bunx opencoder@latest

Or try the beta channel:

npx opencoder@next

Overview

  • Complete Claude Code replacement
  • Built on top of the Vercel AI SDK. Fully compatible with the AI SDK model.
  • Supports any LLM providers that the AI SDK supports (OpenAI, Anthropic, Google, etc.)
  • Cross-platform shell: which means supports Windows, Linux, and MacOS.
  • 60 FPS UI rendering, powered by React concurrent rendering

Demo

Features

1. Built on top of the Vercel AI SDK

OpenCoder is built on top of the Vercel AI SDK. It is fully compatible with the AI SDK model, any official or community model supported by the AI SDK will work with OpenCoder:

import { ollama } from 'ollama-ai-provider'; // read more: https://sdk.vercel.ai/providers/community-providers/ollama
import type { Config } from 'opencoder';

export default {
  model: ollama('qwq'),
} satisfies Config

Available tools

  • Read file
  • Write file
  • Memory read
  • Memory write
  • Think
  • Planning
  • Grep: powered by @vscode/ripgrep

Roadmap

  • Documentation
  • Add MCP support
  • Add auto-import MCP tools from vscode/mcp.json or cursorrules/mcp.json
  • Add more examples
  • Prebuilt MCP tools (import { playwright } from "opencoder/mcp")
  • Tools confirmation dialog
  • Proper release process (changeset + changelog)
  • Add more tests

Contributions are welcome!