openclaude logo

openclaude

Free

runs anywhere. uses anything

AI ChatbotsFreeFree tier
#TypeScript
Inputs: textOutputs: text
Type
Open Source
Company
Gitlawb

About openclaude

OpenClaude is an open-source coding agent command-line interface (CLI) designed to run in the terminal and work with a wide variety of large language models. It is not a chatbot wrapper or an IDE plugin but a standalone agent that can execute tasks such as editing files, running bash commands, performing grep searches, and managing code changes in a reviewable manner. The tool supports multiple model providers including OpenAI, Gemini, Ollama, LM Studio, LiteLLM, and over 200 others, allowing users to switch providers mid-session with a single command. It is built to be model-neutral and aligned with the Gitlawb ecosystem, emphasizing scriptability, session persistence, and real-time streaming of agent actions.

Key Features

Runs in the terminal as a CLI tool
Supports 200+ models via providers like OpenAI, Gemini, Ollama, LM Studio, LiteLLM, and more
Provides real tools: bash execution, file edits, grep, glob, MCP servers, and skills
Offers non-interactive --print mode with JSON and stream-json output, tool allowlists, budgets, and session control
Supports per-repo profiles that save model, base URL, auth, and runtime defaults
Enables session persistence: resume, branch, rewind conversations, background tasks, worktree isolation, and remote control
Streams agent thinking, tool calls, and diffs live for reviewable changes
Open-source under Gitlawb alignment

Pros & Cons

Pros
  • Open-source and free to use
  • Model-neutral — works with many providers and models
  • Runs locally in the terminal without requiring a separate IDE or web interface
  • Provides real tools (bash, file edits, grep) rather than just chat
  • Supports session persistence and resumability
  • Scriptable via non-interactive mode and JSON output
Cons
  • Requires Node.js version 20 or higher to install
  • Free tier usage limits may apply depending on the chosen model provider
  • Output quality and reliability depend on the underlying model used
  • Setup and configuration may require familiarity with CLI tools and model provider APIs
  • Internet access is required for cloud-based model providers

Best For

Automating code refactoring and bug fixes in a terminal environmentRunning code reviews with an agent that produces reviewable diffsIntegrating with CI/CD pipelines via non-interactive mode and JSON outputExperimenting with different AI models for coding tasks by switching providers mid-sessionManaging multiple coding projects with per-repo configuration profilesPerforming background code analysis and maintenance tasks with session persistence

Alternatives to openclaude

FAQ

What is OpenClaude?
OpenClaude is an open-source coding agent CLI that runs in the terminal and works with many AI models. It is not a chatbot or IDE plugin but a tool for automating code tasks.
Which models and providers are supported?
Based on available information, it supports OpenAI, Gemini, Ollama, LM Studio, LiteLLM, GitHub Models, OpenRouter, DeepSeek, Groq, Mistral, NEAR AI, Xiaomi MiMo, and any OpenAI-compatible endpoint, totaling over 200 models.
Is OpenClaude free?
The tool itself is open-source and free to use. However, usage costs may apply depending on the model provider you choose (e.g., API fees from OpenAI).
How do I install OpenClaude?
It can be installed via npm with the command 'npm install -g @gitlawb/openclaude@latest'. Node.js version 20 or higher is required.
Can I use OpenClaude non-interactively?
Yes, it supports a --print mode with JSON and stream-json output, tool allowlists, budgets, and session control for scripting and automation.
Does OpenClaude save my session?
Yes, sessions can be persisted, resumed, branched, and rewound. It also supports background tasks, worktree isolation, and remote control from a phone.