You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install: replace PATH-append with symlink-first strategy
(/usr/local/bin -> ~/.local/bin -> shell config fallback),
gateway-first post-install instructions, symlink cleanup on
uninstall. README: reorder Engines before Providers, add
engine field to config example, fix architecture diagram and
directory structure to match actual UI files, fix CN stale
test count.
@@ -21,8 +21,8 @@ Pure-shell AI agent runtime. No Node.js, no Python, no compiled binaries.
21
21
<ahref="#quick-start">Quick Start</a> ·
22
22
<ahref="#features">Features</a> ·
23
23
<ahref="#web-dashboard">Dashboard</a> ·
24
-
<ahref="#providers">Providers</a> ·
25
24
<ahref="#engines">Engines</a> ·
25
+
<ahref="#providers">Providers</a> ·
26
26
<ahref="#channels">Channels</a> ·
27
27
<ahref="#architecture">Architecture</a> ·
28
28
<ahref="README_CN.md">中文</a>
@@ -224,6 +224,144 @@ PUT /api/env Save API keys
224
224
225
225
</details>
226
226
227
+
## Engines
228
+
229
+
BashClaw has a pluggable engine layer that determines how agent tasks are executed. Each agent can use a different engine.
230
+
231
+
### Claude Engine (Recommended)
232
+
233
+
The **claude** engine delegates execution to [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code). It reuses your existing Claude subscription -- no API keys needed, no per-token cost.
|`engineModel`| Override model (e.g. `"opus"`, `"sonnet"`, `"haiku"`). If empty, uses your subscription's default. |
278
+
|`maxTurns`| Max agentic turns per invocation |
279
+
280
+
| Environment Variable | Default | Purpose |
281
+
|---------------------|---------|---------|
282
+
|`ENGINE_CLAUDE_TIMEOUT`|`300`| Timeout (seconds) for Claude CLI execution |
283
+
|`ENGINE_CLAUDE_MODEL`| -- | Override model (alternative to `engineModel` in config) |
284
+
285
+
</details>
286
+
287
+
### Builtin Engine
288
+
289
+
The **builtin** engine calls LLM APIs directly via curl. It supports 18 providers and 25+ pre-configured models, and works with any OpenAI-compatible endpoint.
290
+
291
+
```sh
292
+
# Builtin is the default engine (no config change needed)
When using the Claude engine, BashClaw tools are mapped to Claude Code's native equivalents where possible. Tools without a native counterpart are bridged through the CLI:
- Config format (`maxTurns`, tool allow/deny lists, tool profiles)
364
+
227
365
## Providers
228
366
229
367
The builtin engine supports 18 providers with data-driven routing. All configuration is in `lib/models.json` -- adding a provider is a JSON entry, no code changes.
@@ -375,144 +513,6 @@ The builtin engine supports three API formats. Most providers use OpenAI-compati
375
513
376
514
Any service that implements one of these formats works out of the box.
377
515
378
-
## Engines
379
-
380
-
BashClaw has a pluggable engine layer that determines how agent tasks are executed. Each agent can use a different engine.
381
-
382
-
### Claude Engine (Recommended)
383
-
384
-
The **claude** engine delegates execution to [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code). It reuses your existing Claude subscription -- no API keys needed, no per-token cost.
|`engineModel`| Override model (e.g. `"opus"`, `"sonnet"`, `"haiku"`). If empty, uses your subscription's default. |
429
-
|`maxTurns`| Max agentic turns per invocation |
430
-
431
-
| Environment Variable | Default | Purpose |
432
-
|---------------------|---------|---------|
433
-
|`ENGINE_CLAUDE_TIMEOUT`|`300`| Timeout (seconds) for Claude CLI execution |
434
-
|`ENGINE_CLAUDE_MODEL`| -- | Override model (alternative to `engineModel` in config) |
435
-
436
-
</details>
437
-
438
-
### Builtin Engine
439
-
440
-
The **builtin** engine calls LLM APIs directly via curl. It supports 18 providers and 25+ pre-configured models, and works with any OpenAI-compatible endpoint.
441
-
442
-
```sh
443
-
# Builtin is the default engine (no config change needed)
When using the Claude engine, BashClaw tools are mapped to Claude Code's native equivalents where possible. Tools without a native counterpart are bridged through the CLI:
0 commit comments