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
A browser-based and desktop code editor powered by an AI coding agent via the [OpenClaw](https://github.com/openclaw/openclaw) gateway. Think Cursor, but with your own gateway-integrated agent.
3
+
**AI coding, without the bloat.**
4
+
5
+
A lightweight, AI-native code editor powered by [OpenClaw](https://github.com/openclaw/openclaw). Your agent, your gateway, your data. Browser + Desktop (Tauri).
> **Why so light?** Knot Code uses Tauri (Rust + native WebKit) instead of Electron. No bundled Chromium. No background processes phoning home. The AI runs through your own [OpenClaw](https://github.com/openclaw/openclaw) gateway — your keys, your models, your data stays on your machine.
37
+
16
38
## Quick Start
17
39
18
-
### Web (Vercel)
40
+
### Desktop (macOS)
19
41
20
-
Live at [editor.openknot.ai](https://editor.openknot.ai)
42
+
Download the [latest release](https://github.com/OpenKnots/code-editor/releases/latest) (.dmg), or build from source:
21
43
22
44
```bash
23
45
pnpm install
24
-
pnpm dev# http://localhost:3080
25
-
pnpm build # production build (Vercel)
46
+
pnpm run:desktop# dev mode (Tauri + hot reload)
47
+
pnpm run:desktop --build # production build (.app + .dmg)
26
48
```
27
49
28
-
Or use the unified run script:
50
+
> First Tauri build takes 2-5 minutes (compiling Rust deps). Subsequent builds are fast.
29
51
30
-
```bash
31
-
pnpm run:web # dev server
32
-
pnpm run:web --build # production build + start
33
-
```
34
-
35
-
### Desktop (macOS)
52
+
### Web (self-hosted)
36
53
37
54
```bash
38
55
pnpm install
39
-
pnpm run:desktop# dev mode (Tauri + hot reload)
40
-
pnpm run:desktop --build # production build (.app + .dmg)
56
+
pnpm dev# http://localhost:3080
57
+
pnpm build # static export
41
58
```
42
59
43
-
> First Tauri build takes 2-5 minutes (compiling Rust deps). Subsequent builds are fast.
Copy `.env.example` to `.env.local` and fill in the required values. See the file for detailed descriptions of each variable (WorkOS keys, GitHub tokens, IP allowlist, sponsor gate, etc.).
68
+
Copy `.env.example` to `.env` and configure. All variables are optional — the editor works without them, but GitHub auth and plugins need their respective keys.
48
69
49
70
## Features
50
71
51
-
See [docs/FEATURES.md](docs/FEATURES.md) for the full feature list with current status and roadmap.
72
+
-**AI Agent Chat** — Ask, Agent, and Plan modes with streaming responses
73
+
-**Agent Builder** — Choose a persona, customize your system prompt, configure behaviors
74
+
-**Inline Edits** — Agent proposes changes, you review diffs and accept/reject per-hunk
0 commit comments