# openclaude

> openclaude is an open-source agent for coding. Terminal coding agent that talks to OpenAI, Gemini, Ollama and 200-plus other models. It is available on CLI, macOS, Linux and Windows.

- **Kind:** Agent
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows
- **Website:** https://openclaude.twigpine.com
- **Repository:** https://github.com/twigpine/openclaude
- **GitHub stars:** 34,398
- **Categories:** coding, developer tools
- **Listing updated:** 2026-11-14

## About

Openclaude is a command-line coding agent that keeps the same loop whichever backend you choose. Providers are wired once with a /provider command and can be switched mid-session; named options include OpenAI, Gemini, Grok, Ollama, GitHub Models, OpenRouter, DeepSeek, Kimi, GLM, Groq, Mistral and LM Studio, plus any OpenAI-compatible endpoint.

Its tools include bash, file edits, grep, glob, MCP servers and skills. A non-interactive print mode offers JSON and stream-JSON output, tool allowlists and budgets for scripting. Profiles save model, base URL and defaults per repo, and sessions can be resumed, branched and rewound, with worktree isolation and remote control from a phone.

It needs Node 22 or later.

## Features

- **Provider switching:** Change models with one command.
- **Built-in tools:** Bash, edits, grep, glob, MCP and skills.
- **Scriptable mode:** JSON output, allowlists and budgets.
- **Repo profiles:** Save settings per repository.
- **Persistent sessions:** Resume, branch and rewind.
- **Live streaming:** Watch tool calls and diffs.

## Good for

- Use local Ollama models for coding
- Script agent runs in CI
- Switch models mid-session

## FAQ

### What does it need?

Node 22 or later.

### Which providers?

OpenAI, Gemini, Ollama, GitHub Models and many more.

### Can it be scripted?

Yes, via a non-interactive print mode.

### Is openclaude free?

Yes. openclaude is open source, so you can use and self-host it for free.

### What are the best alternatives to openclaude?

The closest alternatives to openclaude are deepseek-harness, gemini-cli, ruflo, DeepCode and learn-claude-code.

## Alternatives

- [deepseek-harness](https://ai-powered.com/agents/deepseek-harness): deepseek-harness is an open-source agent for multi-agent frameworks.
- [gemini-cli](https://ai-powered.com/agents/gemini-cli): gemini-cli is an open-source agent for ai models and llm tooling.
- [ruflo](https://ai-powered.com/agents/ruflo-2): ruflo is an open-source agent framework for knowledge and memory.
- [DeepCode](https://ai-powered.com/agents/deepcode): DeepCode is an open-source agent for coding.
- [learn-claude-code](https://ai-powered.com/agents/learn-claude-code): learn-claude-code is an open-source hosted agent for ai models and llm tooling.
- [openinterpreter](https://ai-powered.com/agents/openinterpreter): openinterpreter is an open-source agent for coding.
- [Codewhale](https://ai-powered.com/agents/codewhale): Codewhale is an open-source agent for coding.
- [oh-my-pi](https://ai-powered.com/agents/oh-my-pi): oh-my-pi is an open-source agent for coding.

---
Source: https://ai-powered.com/agents/openclaude
