|
1
|
# siGit Code — On-device AI Coding Agent |
|
2
|
|
|
3
|
**Your code never has to leave your machine.** siGit Code is a local-first AI |
|
4
|
coding agent for VS Code. It runs the on-device [`sigit`](https://code.sigit.si) |
|
5
|
agent, a quantized (GGUF) model that executes entirely on your hardware and |
|
6
|
works offline, and brings it into the editor as a chat-driven pair programmer. |
|
7
|
|
|
8
|
There are no cloud round-trips and no API keys for the default agent. The model |
|
9
|
lives on your device, and so does your code. |
|
10
|
|
|
11
|
siGit Code also speaks the open [Agent Client |
|
12
|
Protocol](https://agentclientprotocol.com) (ACP), so it can drive other |
|
13
|
ACP-compatible agents over stdio. The on-device agent is still the point. |
|
14
|
|
|
15
|
## Why local-first |
|
16
|
|
|
17
|
- Your prompts and file contents stay on your machine. |
|
18
|
- It works offline, including on a plane or behind an air gap. |
|
19
|
- There is no per-token billing, so you can run it as much as your hardware allows. |
|
20
|
- You choose the model and the weights, and they do not change underneath you. |
|
21
|
|
|
22
|
ACP and multi-agent support are there for when you need a hosted agent. They are |
|
23
|
not the headline. |
|
24
|
|
|
25
|
## Requirements |
|
26
|
|
|
27
|
- VS Code `^1.90.0` |
|
28
|
- The `sigit` binary on your `PATH`. |
|
29
|
Install it from [code.sigit.si](https://code.sigit.si). |
|
30
|
|
|
31
|
> siGit Code only *spawns* the `sigit` binary over ACP, so it has no build-time |
|
32
|
> dependency on the agent. Install the agent separately. |
|
33
|
|
|
34
|
## Getting started |
|
35
|
|
|
36
|
1. Install the `sigit` agent (see [code.sigit.si](https://code.sigit.si)) and |
|
37
|
confirm `sigit` runs from your terminal. |
|
38
|
2. Install this extension. |
|
39
|
3. Click the **siGit Code** icon in the Activity Bar to open the chat view. |
|
40
|
4. Type a prompt and press **Enter**. The extension spawns the agent, opens a |
|
41
|
session in your workspace folder, and streams the response. |
|
42
|
|
|
43
|
Commands (Command Palette): |
|
44
|
|
|
45
|
| Command | Description | |
|
46
|
| --- | --- | |
|
47
|
| `siGit: Open Chat` | Reveal the chat view. | |
|
48
|
| `siGit: New Session` | Start a fresh session with the active agent. | |
|
49
|
| `siGit: Select Agent` | Pick an agent from the registry. | |
|
50
|
| `siGit: Restart Agent` | Restart the active agent process. | |
|
51
|
|
|
52
|
## Configuration |
|
53
|
|
|
54
|
| Setting | Type | Default | Description | |
|
55
|
| --- | --- | --- | --- | |
|
56
|
| `sigit.agent.default` | string | `"sigit"` | Key of the agent used by default, looked up in `sigit.agents`. | |
|
57
|
| `sigit.agents` | object | on-device `sigit` | Registry of ACP agents (`{ name, command, args, env }`). | |
|
58
|
| `sigit.permission.mode` | enum | `"prompt"` | `prompt`, `allow`, or `deny` for agent-requested actions. | |
|
59
|
|
|
60
|
### Add another ACP agent |
|
61
|
|
|
62
|
The default registry contains only the on-device agent. To add another |
|
63
|
ACP-compatible agent, extend `sigit.agents` in your `settings.json`: |
|
64
|
|
|
65
|
```jsonc |
|
66
|
{ |
|
67
|
"sigit.agents": { |
|
68
|
"sigit": { |
|
69
|
"name": "siGit (on-device)", |
|
70
|
"command": "sigit", |
|
71
|
"args": [], |
|
72
|
"env": {} |
|
73
|
}, |
|
74
|
"claude-code": { |
|
75
|
"name": "Claude Code (ACP)", |
|
76
|
"command": "claude-code-acp", |
|
77
|
"args": [], |
|
78
|
"env": {} |
|
79
|
}, |
|
80
|
"gemini": { |
|
81
|
"name": "Gemini CLI (ACP)", |
|
82
|
"command": "gemini", |
|
83
|
"args": ["--experimental-acp"], |
|
84
|
"env": {} |
|
85
|
} |
|
86
|
}, |
|
87
|
"sigit.agent.default": "sigit" |
|
88
|
} |
|
89
|
``` |
|
90
|
|
|
91
|
Then run **`siGit: Select Agent`** to switch between them. |
|
92
|
|
|
93
|
## Development |
|
94
|
|
|
95
|
This project uses [pnpm](https://pnpm.io). |
|
96
|
|
|
97
|
```bash |
|
98
|
pnpm install |
|
99
|
pnpm run watch # esbuild in watch mode |
|
100
|
# Press F5 to launch the Extension Development Host |
|
101
|
``` |
|
102
|
|
|
103
|
Other scripts: |
|
104
|
|
|
105
|
```bash |
|
106
|
pnpm run compile # tsc --noEmit type check |
|
107
|
pnpm run lint # eslint |
|
108
|
pnpm run build # production bundle (esbuild) |
|
109
|
pnpm run test:smoke # ACP round-trip against a mock agent |
|
110
|
pnpm run package # vsce package (.vsix) |
|
111
|
``` |
|
112
|
|
|
113
|
## License |
|
114
|
|
|
115
|
[MIT](./LICENSE) © 2026 siGit Code & Deploy |