LibreAI / AI Agents / openclaude
// agents · Twigpine/openclaude

openclaude

A Claude Code-style coding agent that runs anywhere and works with almost any model provider

★ 33.7k stars⑂ 9.1k forksMITupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

openclaude is an open-source ai agents project by Twigpine (Twigpine/openclaude on GitHub). It has 33,685 GitHub stars and 9,104 forks, is released under the MIT license, and was last updated on GitHub on 7 October 2026.

GitHub stars
33,685
Forks
9,104
License
MIT
Last updated on GitHub
7 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Clarify your goal

    Decide what you want to achieve with openclaude and check the README on GitHub for requirements before installing.

  2. Get the code

    Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).

  3. Install and configure

    Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.

  4. Run your first task

    Work through the README's quickstart example end to end, then adapt it to your own project or data.

// features

Why people love it

Multi-provider by design

Documented setup guides cover many providers, with fast paths for OpenAI-compatible APIs and local Ollama.

Familiar agent workflow

Interactive terminal sessions with resume and fork of conversations, plus background sessions.

Web search and fetch

Built-in web search/fetch tools so the agent can read documentation while it works.

Agents and buddies

Supports agent definitions and a companion 'buddy' feature described in the README.

Headless gRPC server

Can run as a headless gRPC server for programmatic/embedded use.

VS Code extension

An editor extension complements the CLI for in-editor workflows.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Get the OpenClaude source.

    git clone https://github.com/Twigpine/openclaude.git
    cd openclaude
  2. Install the CLI

    Install globally from npm (requires Node.js >= 22).

    npm install -g @gitlawb/openclaude@latest
  3. Configure a provider and start

    Follow the README's fastest setup for OpenAI or local Ollama, then launch the agent in your project.

    openclaude
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains openclaude?

openclaude is maintained by the Twigpine organization/account on GitHub, together with open-source contributors, in the public repository Twigpine/openclaude.

Is openclaude free to use?

Yes — the code is open source under the MIT license. You can use, modify and redistribute it under that license's terms.

Does openclaude need a paid API key?

It depends on the provider you choose: cloud providers need your paid API key, while a local Ollama setup can run with no API key at all.

How does openclaude compare to Claude Code (official)?

The official client is Anthropic-only and polished; OpenClaude trades that focus for provider freedom — many APIs plus local models — as a community-maintained derivative.

How do I get started with openclaude?

Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.

// keep exploring

Similar tools

Agents

claude-code-from-scratch

Rebuild Claude Code’s core in ~5,000 lines: an 11-chapter coding-agent masterclass.

★ 2.7k starsMIT
View guide →
Agents

nanocoder

Community-built terminal coding agent: bring your own model, keep code local.

★ 2.5k starsCustom
View guide →
AI Agents

zero

A coding agent that runs on your model, your machine, your rules.

★ 1.7k starsMIT
View guide →
AI Agents

c-code-style

C99+ style guide with an AI agent skill for formatting code.

★ 1.4k starsMIT
View guide →
AI Agents

smolagents

smolagents — Hugging Face's barebones agent library where agents think in code: a CodeAgent that writes its actions as Python, model-agnostic, Apache-2.0

★ 29.9k starsApache-2.0
View guide →
AI Agents

agent-lightning

Microsoft's trainer for AI agents - reinforcement learning for almost any agent framework

★ 18.6k starsMIT
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if openclaude is not the right fit.

Get openclaude

Free and open — grab the source, star the repo, and start creating.