OpenClaude

Active
GitHub TypeScript NOASSERTION

Description

Open-source coding agent CLI supporting OpenAI, Gemini, DeepSeek, Ollama, Codex, GitHub Models, and 200+ models via OpenAI-compatible APIs.

Key Features

  • Multi-backend LLM support — one CLI connects OpenAI, Gemini, DeepSeek, Ollama, Codex and 200+ models
  • Tool-driven coding — built-in bash, file read/write/edit, grep, glob, agents, tasks, MCP and slash commands
  • Provider profiles — guided setup via /provider, save and switch between AI backend configurations
  • Streaming responses — real-time token output and tool progress display for long-running tasks
  • VS Code extension — desktop editor integration with one-click launch and theme sync
  • Local Ollama inference — no API key needed, connect directly to local Ollama for open-source models

Use Cases

💡 Local code completion — connect to local Ollama running open-source code models, no paid API needed
💡 Multi-model code review — cross-review code changes with different backends (GPT-4o, Claude, DeepSeek)
💡 CI/CD integration — call OpenClaude in pipelines to auto-fix lint errors or generate tests
💡 Cross-platform development — same CLI workflow across macOS, Linux, and Windows
💡 Privacy-sensitive projects — full local inference, code never leaves the developer machine

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (32.0k stars)
  • Responsive to issues, low backlog

⚠️ Limitations

  • No clear open-source license

Quick Start

# Install
npm install -g @gitlawb/openclaude@latest

# Start with OpenAI
export CLAUDE_CODE_USE_OPENAI=1
export OPENAI_API_KEY=sk-your-key-here
export OPENAI_MODEL=gpt-4o
openclaude

# Or with local Ollama
export CLAUDE_CODE_USE_OPENAI=1
export OPENAI_BASE_URL=http://localhost:11434/v1
export OPENAI_MODEL=qwen2.5-coder:7b
openclaude

Related Projects

Qwen Code

27.6k · TypeScript
Active A

An open-source AI coding agent that lives in your terminal, built by Qwen team with support for code generation, editing, debugging and multi-file operations.

codingllmtypescript +2
  • · Multi-protocol multi-provider — supports OpenAI, Anthropic, Gemini-compatible APIs with Alibaba Cloud, OpenRouter and more
  • · Qwen3-Coder co-evolution — both framework and Qwen3-Coder model are open-source and ship together
  • · Built-in Skills and SubAgents — rich built-in tools for full agentic workflow with Claude Code-like experience

ByteRover CLI

5.0k · TypeScript
Normal B

ByteRover CLI provides persistent structured memory for autonomous coding agents. It features context tree management, git-like version control, and cloud sync, compatible with Cursor, Claude Code, Windsurf, and 22+ coding agents via MCP integration.

agent-memorycontext-managementcoding-agent +3
  • · Persistent structured memory with context tree and knowledge storage for coding agents
  • · Git-like version control for context trees (branch, commit, merge, push/pull)
  • · Supports 20 LLM providers including Anthropic, OpenAI, Google, Groq, DeepSeek

oh-my-pi

29.1k · TypeScript
Active A

oh-my-pi is an AI coding agent for the terminal with hash-anchored edits, optimized tool harness, LSP, Python, browser, subagents, and more.

coding-agentclitui +3
  • · Hash-anchored edits for first-attempt-landing precise code modifications, avoiding edit drift
  • · 32 built-in tools + 13 LSP operations + 27 DAP debug operations — batteries included
  • · Deep LSP integration — renames automatically update all references via willRenameFiles

Pi

101.0k · TypeScript
Active A+

Pi is a full-stack AI agent toolkit featuring a coding agent CLI, unified LLM API, TUI and Web UI libraries, Slack bot, and vLLM inference pods.

coding-agentclillm +2
  • · Unified multi-provider LLM API — pi-ai package provides unified interface for OpenAI, Anthropic, Google, and other LLM providers
  • · Interactive coding agent CLI — pi-coding-agent provides command-line interactive coding agent with tool calling and state management
  • · Agent runtime — pi-agent-core provides agent runtime with tool calling and state management for multi-step task execution