bots-garden/sidekickspublic Fork
⑂ feature/m2-chat
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/sidekicks.git
git clone ssh://git@rickub.com/bots-garden/sidekicks.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
🛟 Updated. 6713ff0 · on feature/m2-chat · k33g · 26d ago
README.md · 51 lines · 3.1 KBmarkdown
Blame HistoryOpen raw

Sidekicks

A desktop application to talk with AI agents in channels, for people who are not developers. Agents are reached through the Agent Client Protocol (ACP), so any ACP agent can join. Built with Go and Wails v3, interface in Svelte 5.

Status — milestone M2 (Conversation with an agent): talk with one agent at a time in streaming, Markdown answers with coloured code, tool calls and permission requests in plain words, a configuration editor with live validation, and opening another configuration file. Channels and multi-agent conversations arrive with milestone M3. Backlog and roadmap: .tickets/ (IssueSpec).

Documentation: English · Français · decisions (ADR) · wireframes

Develop

Prerequisites: Go ≥ 1.26, Node ≥ 20, pnpm 12.11.2 (npm install -g pnpm@12.11.2), the Wails CLI (go install github.com/wailsapp/wails/v3/cmd/wails3@v3.0.0), and the Xcode command line tools on macOS — or pkg-config libgtk-4-dev libwebkitgtk-6.0-dev on Linux.

make install       # frontend dependencies (macOS and Linux binaries side by side)
make dev           # run the application with hot reload
make check         # lint + every test, as the CI does
make package       # macOS: bin/sidekicks.app
make help          # every target

Run it with the four test agents of agents/ (they need mm and llmman):

SIDEKICKS_CONFIG="$PWD/examples/test-agents.yaml" make dev     # or: bin/sidekicks --config examples/test-agents.yaml

Details: How to develop the application · How to run the tests.

Layout

Path What it is
main.go Entry point: flags, Wails application, services, window
internal/app The services bound to the interface (AgentService, ChatService, ConfigService)
internal/conversations One conversation per agent: sessions, streaming, queue, permissions
internal/prefs Last opened and recent configuration files
internal/agents The agent processes: lazy start, limit, idle stop, states, logs
internal/acp ACP v1 client over stdio (wraps coder/acp-go-sdk)
internal/config Configuration file: load, validate, locate, create, save, watch
internal/events Events sent from Go to the interface
schema JSON Schema of the configuration file
frontend Svelte 5 interface: panels, shell, state
scripts Test-agent tooling (agents.sh), licence header check
agents, examples The four test agents and a configuration using them
spikes Throwaway prototypes of milestone Initialize

Package diagram: docs/diagrams/packages.drawio.

Licence

Source-available, see LICENSE: you may read the code and propose changes; using the code elsewhere or the application commercially needs an agreement. Every hand-written source file starts with a one-line licence header (make lint-headers checks it).

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Sidekicks

A desktop application to talk with AI agents in channels, for people who are not developers. Agents are reached through the [Agent Client Protocol](https://agentclientprotocol.com) (ACP), so any ACP agent can join. Built with Go and [Wails v3](https://wails.io), interface in Svelte 5.

> **Status — milestone M2 (Conversation with an agent)**: talk with one agent at a time in streaming, Markdown answers with coloured code, tool calls and permission requests in plain words, a configuration editor with live validation, and opening another configuration file. Channels and multi-agent conversations arrive with milestone M3. Backlog and roadmap: `.tickets/` (IssueSpec).

Documentation: [English](docs/en/README.md) · [Français](docs/fr/README.md) · [decisions (ADR)](docs/adr/) · [wireframes](docs/design/README.md)

## Develop

Prerequisites: Go ≥ 1.26, Node ≥ 20, pnpm 12.11.2 (`npm install -g pnpm@12.11.2`), the Wails CLI (`go install github.com/wailsapp/wails/v3/cmd/wails3@v3.0.0`), and the Xcode command line tools on macOS — or `pkg-config libgtk-4-dev libwebkitgtk-6.0-dev` on Linux.

```bash
make install       # frontend dependencies (macOS and Linux binaries side by side)
make dev           # run the application with hot reload
make check         # lint + every test, as the CI does
make package       # macOS: bin/sidekicks.app
make help          # every target
```

Run it with the four test agents of `agents/` (they need [mm](https://rickub.com/bots-garden/mini-me) and llmman):

```bash
SIDEKICKS_CONFIG="$PWD/examples/test-agents.yaml" make dev     # or: bin/sidekicks --config examples/test-agents.yaml
```

Details: [How to develop the application](docs/en/how-to/develop-the-application.md) · [How to run the tests](docs/en/how-to/run-the-tests.md).

## Layout

| Path | What it is |
| --- | --- |
| `main.go` | Entry point: flags, Wails application, services, window |
| `internal/app` | The services bound to the interface (`AgentService`, `ChatService`, `ConfigService`) |
| `internal/conversations` | One conversation per agent: sessions, streaming, queue, permissions |
| `internal/prefs` | Last opened and recent configuration files |
| `internal/agents` | The agent processes: lazy start, limit, idle stop, states, logs |
| `internal/acp` | ACP v1 client over stdio (wraps `coder/acp-go-sdk`) |
| `internal/config` | Configuration file: load, validate, locate, create, save, watch |
| `internal/events` | Events sent from Go to the interface |
| `schema` | JSON Schema of the configuration file |
| `frontend` | Svelte 5 interface: panels, shell, state |
| `scripts` | Test-agent tooling (`agents.sh`), licence header check |
| `agents`, `examples` | The four test agents and a configuration using them |
| `spikes` | Throwaway prototypes of milestone Initialize |

Package diagram: [docs/diagrams/packages.drawio](docs/diagrams/packages.drawio).

## Licence

Source-available, see [LICENSE](LICENSE): you may read the code and propose changes; using the code elsewhere or the application commercially needs an agreement. Every hand-written source file starts with a one-line licence header (`make lint-headers` checks it).