← Back to Product Feed

GitHub Open Source Gitlawb/openclaude

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

21,387
Traction Score
7,384
Forks
Apr 1, 2026
Launch Date
View Origin Link

Product Positioning & Context

AI Executive Synthesis
OpenClaude as a functional interface for DeepSeek models, correctly handling model-specific constraints.
Similar to the OpenAI gpt-4o issue, OpenClaude is sending a 'max_tokens' value outside the valid range for deepseek-chat (8192), resulting in a 400 API error. This reinforces the pattern of OpenClaude failing to correctly manage or adapt request parameters to specific LLM provider constraints, even when using an OpenAI-compatible API shim. The consistent 'Invalid max_tokens' errors across different providers (OpenAI, DeepSeek) highlight a systemic flaw in OpenClaude's parameter validation or dynamic configuration. Market implication: This fundamental incompatibility with provider-specific API limits severely limits OpenClaude's utility as a universal LLM interface, forcing developers to contend with basic API contract violations.
Open Claude Is Open-source coding-agent CLI for OpenAI, Gemini, DeepSeek, Ollama, Codex, GitHub Models, and 200+ models via OpenAI-compatible APIs.

Related Ecosystem & Alternatives

Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.

Deep-Dive FAQs

What is Gitlawb/openclaude?
Gitlawb/openclaude is analyzed by our AI as: OpenClaude as a functional interface for DeepSeek models, correctly handling model-specific constraints.. It focuses on Similar to the OpenAI gpt-4o issue, OpenClaude is sending a 'max_tokens' value outside the valid range for deepseek-chat (8192), resulting in a 400...
Where did Gitlawb/openclaude originate?
Data for Gitlawb/openclaude was aggregated directly from the GitHub Open Source community ecosystem, representing raw developer and early-adopter sentiment.
When was Gitlawb/openclaude publicly launched?
The initial public indexing or launch date for Gitlawb/openclaude within our tracked developer communities was recorded on April 1, 2026.
How popular is Gitlawb/openclaude?
Gitlawb/openclaude has achieved measurable traction, logging over 21,387 traction score and facilitating 7,384 recorded discussions or engagements.
Are there active development issues for Gitlawb/openclaude?
Yes, we are currently tracking open architectural debates and bug reports for this project on GitHub. There are currently 5 active high-priority issues logged recently.
What are some commercial alternatives to Gitlawb/openclaude?
Our semantic intelligence engine identifies potential commercial alternatives in the SaaS space, such as Monkey Morse, which offers overlapping value propositions.
How does the creator describe Gitlawb/openclaude?
The original author or development team describes the product as follows: "Open Claude Is Open-source coding-agent CLI for OpenAI, Gemini, DeepSeek, Ollama, Codex, GitHub Models, and 200+ models via OpenAI-compatible APIs."

Active Developer Issues (GitHub)

open Azure openai endpoint not working for cognitive services
Logged: Apr 1, 2026
open Keyboard dont working
Logged: Apr 1, 2026
open Bug: OpenClaude starts with Opus 4.6 not OpenAI local models
Logged: Apr 1, 2026
open ctrl-0 crash
Logged: Apr 1, 2026
open Getting Failure Request Body
Logged: Apr 1, 2026

Community Voice & Feedback

nikolaybehiyan • Apr 2, 2026
fixed, thanks
auriti • Apr 2, 2026
This was fixed by PR #61 (commit \`6c35f4e\`), already merged into \`main\`.

Root cause: \`SandboxViolationExpandedView.tsx\` called \`.subscribe()\` on a null sandbox violation store. The store is null when sandboxing is not enabled (Linux, WSL2, or no sandbox configured).

The fix adds two guards in the \`useEffect\`:
- Early return if sandboxing is disabled or platform is Linux
- Null check on the store before calling \`.subscribe()\`

If you're still seeing this crash, try updating to the latest build.
auriti • Apr 2, 2026
This is already fixed on `main`. The full code path now correctly caps `max_completion_tokens` to 8192 for `deepseek-chat`:

1. `openaiContextWindows.ts:88` — `'deepseek-chat': 8_192` in OPENAI_MAX_OUTPUT_TOKENS
2. `context.ts:186-189` — `getModelMaxOutputTokens()` returns `{ default: 8192, upperLimit: 8192 }` for OpenAI providers
3. `openaiShim.ts:670-671` — sends `body.max_completion_tokens = 8192` (never `max_tokens`)

There are also two tests in `context.test.ts` verifying this behavior, including clamping of user overrides.

If you're still seeing this error, try rebuilding from latest `main`.
Sjoerd-Bo3 • Apr 1, 2026
And with the Github Copilot CLI SDK, it could work if we rework claude
Vasanthdev2004 • Apr 1, 2026
Thanks for confirming you're on `0.1.5`.

I’m able to use keyboard input on another Windows setup, so this doesn’t look like a universal Windows regression. It may be specific to a certain terminal, shell, or keyboard/layout setup.

Could you share a few more details so we can narrow it down?
- terminal app: Windows Terminal, PowerShell, CMD, VS Code terminal, etc.
- shell inside it: `cmd`, PowerShell, Git Bash, etc.
- keyboard layout / OS language
- whether the same issue happens in a different terminal app on the same machine

That should help tell whether this is a terminal-specific compatibility issue or a broader OpenClaude bug.
Vasanthdev2004 • Apr 1, 2026
not in OpenClaude today, but technically possible.

Right now OpenClaude only supports providers that are already wired in:
- Anthropic
- OpenAI-compatible endpoints
- Gemini
- Bedrock / Vertex / Foundry
- Codex

GitHub Copilot is different because GitHub does not expose a stable/public third-party API for this use case the same way OpenAI or Gemini do.

That said, tools like Opencode / Continue make it work by using GitHub’s undocumented internal Copilot flow:
- get a short-lived token from GitHub
- use that token against `api.githubcopilot.com`

So:
- **supported in OpenClaude today:** no
- **possible to add:** yes, probably
- **official/public/stable API:** not really

That’s why the answer is a bit awkward: it’s not “impossible,” but it’s also not something OpenClaude currently supports out of the box.

If someone wants to add it, it would likely need a dedicated Copilot auth/provider integration rather than just setting `OPENAI_BASE_URL` and `OPENAI_MODEL`. @Harmonicrain
fabercastella5512-lgtm • Apr 1, 2026
keyboard still not working
Vasanthdev2004 • Apr 1, 2026
check on that terminal
fabercastella5512-lgtm • Apr 1, 2026
gnanam1990 • Apr 1, 2026
Good catch @Harmonicrain — I was wrong to say it's completely impossible.

Opencode supports Copilot by using GitHub's **undocumented internal API** (`https://api.githubcopilot.com`). The flow is:
1. Exchange your GitHub OAuth token at `https://api.github.com/copilot_internal/v2/token` to get a short-lived Copilot token
2. Use that token against the `api.githubcopilot.com` endpoint, which is OpenAI-compatible

It's not an official/public API — GitHub hasn't documented it — but tools like Opencode and Continue.dev have reverse-engineered it and it works.

OpenClaude could support this too by implementing the same token exchange flow. If anyone wants to contribute that, it would be a great addition — the endpoint is OpenAI-compatible so it would slot in alongside the existing OpenAI shim.
Vasanthdev2004 • Apr 1, 2026
This looks very similar to the earlier Windows keyboard/input issue that was fixed recently.

Could you first check which version you’re running?

```bash
openclaude --version
The current npm version is 0.1.5, so if you’re on an older version, please update first:

npm install -g @gitlawb/openclaude@latest
If it still happens on 0.1.5, please share:

your OS
terminal app (Windows Terminal, PowerShell, CMD, Git Bash, VS Code terminal, etc.)
the output of openclaude --version
That’ll help tell whether this is the old fixed issue or a new terminal-specific one.
Harmonicrain • Apr 1, 2026
Just a note - how's does Opencode support it? Haven't looked into it myself. @gnanam1990
Vasanthdev2004 • Apr 1, 2026
No worries at all.

This was the `ctrl+o` transcript-expand bug, and the fix from PR #61 is already merged. The current npm version is `0.1.5`, so if you install/update to the latest package, you should have the fix.

You can check with:

```bash
npm view @gitlawb/openclaude version
openclaude --version
If your installed version is 0.1.5 or newer, it should include this fix.

To update:

npm install -g @gitlawb/openclaude@latest
If you update and still see it on 0.1.5+, feel free to post the new error and we can take another look.
roadkingvrod • Apr 1, 2026
Pardon my ignorance, but given there are no versions here, how do I know when the npm install will include the merge?

Thanks!
Vasanthdev2004 • Apr 1, 2026
This looks like a real bug in the transcript expand path, not a usage mistake.

Root cause:
- `ctrl+o` mounts the expanded transcript view
- that view includes `SandboxViolationExpandedView`
- the component was subscribing to the sandbox violation store before checking whether sandboxing was actually enabled
- if that store is unavailable, the expand flow crashes with the `...reading 'subscribe'` error you hit

I opened a fix here:
- PR: https://github.com/Gitlawb/openclaude/pull/61

The patch adds the same kind of guard that the prompt footer sandbox hint already uses, so expand mode no longer tries to subscribe when sandboxing is off or the store is unavailable.

Discovery Source

GitHub Open Source GitHub Open Source

Aggregated via automated community intelligence tracking.

Tech Stack Dependencies

No direct open-source NPM package mentions detected in the product documentation.

Media Tractions & Mentions

No mainstream media stories specifically mentioning this product name have been intercepted yet.

Deep Research & Science

No direct peer-reviewed scientific literature matched with this product's architecture.