Repolode
Twigpine

Twigpine/openclaude

An open-source coding-agent CLI that runs in the terminal and works with cloud APIs and local model backends like Ollama.

Open-source alternative to:Claude Code

Stars
34,036
Forks
9,265
Open issues
72
Last commit
yesterday

What is it?

OpenClaude is a terminal-first coding agent that lets you use different LLM providers with one workflow. It supports OpenAI-compatible APIs, Gemini, GitHub Models, Codex, Ollama, and a long list of gateways, so the same prompts, tools, agents, and slash commands work regardless of which model answers.

The CLI includes bash execution, file read and edit tools, grep and glob search, agents and tasks, MCP integration, and web search and fetch. Provider setup is handled through the /provider command, which saves profiles locally, and sessions can be resumed, forked, or run in the background.

The project also ships a VS Code extension for launching OpenClaude from the editor, and an optional headless gRPC server for embedding its agent in other applications or CI pipelines. It is distributed on npm as @twigpine/openclaude and requires Node.js 22 or later.

Key features

  • 01Connects to OpenAI-compatible APIs, Gemini, GitHub Models, Codex, and local Ollama models
  • 02Guided provider setup with saved profiles via the /provider command
  • 03Coding tools including bash, file editing, grep, glob, and sub-agents
  • 04MCP support and streaming output in the terminal
  • 05Session resume, fork, and background runs
  • 06Optional headless gRPC server and VS Code extension

Use cases

  • Using a local Ollama model for coding tasks without sending code to a cloud service
  • Switching between several model providers while keeping one terminal workflow
  • Embedding a coding agent into CI pipelines or custom tools through the gRPC server
  • Running long coding prompts in the background from the command line

Quick start

  1. 1

    Install the npm package globally

    npm install -g @twigpine/openclaude@latest
  2. 2

    Start OpenClaude in your terminal

    openclaude
  3. 3

    Inside OpenClaude, run /provider to set up a model provider

Things to know

  • Requires Node.js 22.0.0 or newer for npm installs.
  • The package metadata lists the license as NOASSERTION, though the README badge says MIT.

Topics

FAQ

What is openclaude?
An open-source coding-agent CLI that runs in the terminal and works with cloud APIs and local model backends like Ollama. OpenClaude is a terminal-first coding agent that lets you use different LLM providers with one workflow. It supports OpenAI-compatible APIs, Gemini, GitHub Models, Codex, Ollama, and a long list of gateways, so the same prompts, tools, agents, and slash commands work regardless of which model answers.
Is openclaude free to use? What license does it have?
openclaude is open source under the Other license. Check the license terms before using it in commercial products.
Is openclaude still maintained?
Actively maintained. The last commit to openclaude was on Oct 19, 2026.
What can I use openclaude for?
Using a local Ollama model for coding tasks without sending code to a cloud service Switching between several model providers while keeping one terminal workflow Embedding a coding agent into CI pipelines or custom tools through the gRPC server Running long coding prompts in the background from the command line
How do I install openclaude?
Install the npm package globally: npm install -g @twigpine/openclaude@latest Start OpenClaude in your terminal: openclaude Inside OpenClaude, run /provider to set up a model provider
Where can I get openclaude?
The source code and installation instructions are on GitHub: https://github.com/Twigpine/openclaude

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects