AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
使用雲端與本地 AI 模型於同一工作區,依任務與政策路由每個請求,並將對話、檔案與編排工具一起保存。
AI 翻譯
Use cloud and local AI models from one workspace, route each request by task and policy, and keep conversations, files, and orchestration tools together.
開發工具TypeScript · JavaScriptGitHub @ihabkhaled上線中營運者未確認
試用過了嗎? 點一下就好,不需要登入。
ClawAI Coding Agent is the secure VS Code client for a ClawAI backend. It brings streaming chat, backend-owned AUTO routing, manual model selection, model comparison and judging, project-aware code workflows, explainable context receipts, and preview-before-apply edits into the editor.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
ClawAI Coding Agent is the secure VS Code client for a ClawAI backend. It brings
streaming chat, backend-owned AUTO routing, manual model selection, model
comparison and judging, project-aware code workflows, explainable context
receipts, and preview-before-apply edits into the editor.
The extension remains a thin client. Authentication, entitlements, quotas,
thread history, provider credentials, routing, inference, and audit records stay
in the ClawAI platform.檢視完整 README ↗Every AI, one workspace — right inside VS Code.
ClawAI Coding Agent puts a chat and a coding agent in your editor. Ask a question, fix a bug, write tests, or hand over a bigger task. It reads your project, proposes changes, and waits for your OK before it touches a file.
It connects to your ClawAI account, so you can use many AI models from one place: hosted models, or models running on your own machine.
Version 1.100.0 delivers a more capable agent that can plan, edit files, run commands, use git, and drive a browser, all with your approval, and it keeps working with the classic chat-and-review flow if a newer feature is not available on your ClawAI server. The approval choices now mean what they say (Strict asks every time, Plan can still read your workspace), the chat box remembers Run, Context and Web research, and in Plan mode the agent answers that it cannot write instead of stopping with an error. Compare and Compare + Judge now show one card per model as each model starts and fill it while it writes, then show the judge's verdict with a winner, ranks and scores the moment it is ready. Scheduled tasks can now follow a calendar (for example weekdays at 9:00), and commands sent to a runner machine run with your sandbox setting and without your editor's private environment. The command-line agent can now be set up like the chat box (effort, what it is shown first, which web tools it may use, and how much it may do without asking), and the agent can read several pages of one website.
@clawai in VS Code Chat.src/app.ts:10-40 in a message to pull in exactly those lines.Pick the Approval level under More settings in the chat box:
No level skips Workspace Trust or secret-file protection, and you can always cancel. On an approval card, Always allow in this workspace remembers your choice for that trusted workspace.
.env or id_rsa) are refused..clawai folder. Create it with ClawAI: Initialize .clawai.clawai -p "your task") is included in the extension
(dist/headless.mjs) for scripts and CI. It needs Node.js 22.13 or newer and
a ClawAI credential in environment variables.The command-line agent (clawai -p "your task", also available as a code library) can do more than edit files. It can run
your tests, start your app, click through it in a real browser, call your API, split a big job between helpers, then commit and
push. These are command-line options, not editor settings, and every one of them is off until you turn it on.
By default the agent can only read your project and look at git. Turn on what the job needs, and nothing more:
--allow-tools read,write,commandgit-write--browser-allow-host localhost:3000--http-allow-host localhost:3000 (add http-write to let it send changes)command--vision--plan-file plan.json --require-plan--allow-tools agents (only for big jobs with separate parts)--allow-tools shell --allow-shell --permission-mode ask (off unless you give all three)Safety, in plain words:
--write-scope), and define what "done" means with checks that run real commands
(--done-check) instead of trusting the agent's word.Every tool, with its limits and what is asked in each approval level, is in docs/TOOLS.md. Common questions are in docs/FAQ-AGENT-TOOLS.md; all options are in docs/HEADLESS.md.
https://claw.local) or Cloud (https://claw-ai.co), or your own.Ctrl+Shift+A
(Cmd+Shift+A on macOS).Ctrl+Shift+Enter. Keep Automatic routing on, or pick a model.Open the Command Palette (Ctrl+Shift+P) and type ClawAI.
| Command | Shortcut (Windows/Linux) | macOS shortcut |
|---|---|---|
| ClawAI: Open Chat | Ctrl+Shift+A | Cmd+Shift+A |
| ClawAI: Ask About Selection | Ctrl+Shift+Enter (selection) | Cmd+Shift+Enter (selection) |
| ClawAI: Select Model | Ctrl+Alt+M | Cmd+Alt+M |
| ClawAI: Review Selected Code | Ctrl+Alt+R | Cmd+Alt+R |
| ClawAI: Generate Tests | Ctrl+Alt+U | Cmd+Alt+U |
| ClawAI: Fix Selected Code | Ctrl+Alt+X (selection) | Cmd+Alt+X (selection) |
| ClawAI: Cancel Active Request | Ctrl+Alt+Escape | Cmd+Alt+Escape |
| ClawAI: Undo Last ClawAI Edit | Ctrl+Alt+Z | Cmd+Alt+Z |
| ClawAI: Search Run History | Ctrl+Alt+H | Cmd+Alt+H |
| ClawAI: Reopen Closed Chat | Ctrl+Alt+T | Cmd+Alt+T |
| ClawAI: Toggle Focus View | Ctrl+Alt+F | Cmd+Alt+F |
| ClawAI: Compare Models | none | none |
| ClawAI: Generate Plan | none | none |
| ClawAI: Audit Workspace | none | none |
| ClawAI: Initialize .clawai | none | none |
| ClawAI: Create Checkpoint | none | none |
| ClawAI: Manage Plugins | none | none |
| ClawAI: Manage Scheduled Tasks | none | none |
| ClawAI: Show Usage | none | none |
| ClawAI: Show Logs | none | none |
Keyboard shortcuts marked "(selection)" work while text is selected in the editor. Review Selected Code and Generate Tests work while an editor has focus. You can also right-click a selection to ask, fix, or review it.
Open Settings and search for clawAI.
| Setting | What it does |
|---|---|
clawAI.backendEnvironment | Local, Cloud, or Custom server. Use clawAI.backendCustomUrl for a custom. |
clawAI.permissionMode | How much ClawAI must ask before it acts. |
clawAI.agentMode | Automatic execution, or read-only planning. |
clawAI.routingMode | Automatic model choice, or a strategy such as local-only or cost saver. |
clawAI.effortMode | How much work a single run may do, from low to ultra. |
clawAI.zeroDataRetention | Keep run history in memory only and ask the server not to keep content. |
clawAI.commandSandbox.mode | Run agent commands in an OS sandbox or Docker. |
clawAI.exclude | Files ClawAI must never read as context. |
clawAI.maxContextFiles / maxContextBytes | How much of your project goes into one request. |
clawAI.autosave | Save your unsaved files before a reviewed edit. |
clawAI.outputStyle | How answers are written. |
Secrets such as tokens and API keys are never settings.
I can't connect.
Check the server address on the connection screen. Local is
https://claw.local and Cloud is https://claw-ai.co. Non-local servers
must use https://. Run ClawAI: Show Logs for details.
The browser opens but VS Code stays signed out. Approve the request in the browser tab, then return to VS Code. If it still fails, run ClawAI: Log Out, then connect again.
ClawAI will not edit my files. Trust the workspace (VS Code shows a banner or use Workspaces: Manage Workspace Trust). In an untrusted workspace ClawAI only chats and reviews.
A command was refused. Commands are checked for safety. Approve it when asked, or check that you are in the right permission mode. Secret files and paths outside your workspace are always blocked.
I don't see any models. Run ClawAI: Refresh Models. Your account decides which models you can use.
How do I undo what the agent did?
Run ClawAI: Undo Last ClawAI Edit (Ctrl+Alt+Z), or restore a checkpoint.
These pictures use made-up sample data. Each one also comes in a light version in the same folder.
.clawai folder guide.