Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Konnect/
│ │ ├── pcb_sync.rs # update_pcb_from_schematic: pure planner + one-commit IPC apply
│ │ ├── sch_hierarchy.rs # 12 tools (typed Sheet model, sheet CRUD + hierarchy/page queries + pin lifecycle)
│ │ ├── pcb_board.rs # 11 tools (S-expr file editing, IPC fallback, SVG logo import)
│ │ ├── pcb_components.rs # 18 tools (IPC real-time + safe headless single-placement fallback)
│ │ ├── pcb_components.rs # 19 tools (IPC real-time + safe headless single-placement fallback)
│ │ ├── pcb_footprint_update.rs # library refresh planner + one-commit IPC apply
│ │ ├── pcb_routing.rs # 12 tools (traces, vias, nets, netclasses)
│ │ ├── pcb_export.rs # 13 tools (Gerber, PDF, 3D, DRC, DXF/GenCAD/IPC-2581/ODB++)
Expand Down Expand Up @@ -303,7 +303,7 @@ Source: [`crates/konnect-core/src/observability.rs`](crates/konnect-core/src/obs

## Tool Routing (Starter Kit + On-Demand Loading)

The server does NOT expose all 205 tools (211 total with the 6 meta-tools) in `tools/list` by default — that would cost ~23K tokens of context on every listing. Instead:
The server does NOT expose all 206 tools (212 total with the 6 meta-tools) in `tools/list` by default — that would cost ~23K tokens of context on every listing. Instead:

- **Startup**: only `STARTER_KIT` toolsets are pre-loaded (see `router/registry.rs::STARTER_KIT`). Currently: `project`, `config`. Combined with the 6 meta-tools, baseline `tools/list` is 20 tools ≈ 2K tokens.
- **On demand**: the LLM reads `list_toolboxes` → calls `load_toolset(name)` to expose a toolset's tools in subsequent `tools/list` responses. `unload_toolset(name)` prunes them when the task shifts.
Expand Down Expand Up @@ -378,9 +378,9 @@ convention for other `kicad-cli`-calling code.

## Current Stats

- **19 toolsets, 205 tools** + 6 meta-tools (4 routing + 2 observability — see `tool-directory.md`)
- **19 toolsets, 206 tools** + 6 meta-tools (4 routing + 2 observability — see `tool-directory.md`)
- Baseline `tools/list`: 20 tools / ~2K tokens (starter kit + meta-tools)
- Full-catalog `tools/list` (all loaded): 211 tools (205 registered + 6 meta) / ~25K tokens
- Full-catalog `tools/list` (all loaded): 212 tools (206 registered + 6 meta) / ~25K tokens
- **0 IPC stubs** (all protobuf methods implemented)
- **0 unimplemented tools**
- **Specctra DSN/SES are PCB-editor operations**, not `kicad-cli` commands. Konnect
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Rust binary — that lets Claude and other AI assistants design schematics and PCBs
through the [Model Context Protocol](https://modelcontextprotocol.io) (MCP).

**205 tools across 19 on-demand toolsets.** Schematic capture, PCB layout and
**206 tools across 19 on-demand toolsets.** Schematic capture, PCB layout and
routing, ERC/DRC, design-review audits, JLCPCB part search, reference
circuits, and a full manufacturing export pipeline — with bundled skills and agents
that teach Claude KiCAD conventions out of the box.
Expand Down Expand Up @@ -70,7 +70,7 @@ through its own S-expression engine with atomic writes (write, fsync, rename), U
preservation, and round-trip tests — no third-party schematic library with known
gaps, no text-manipulation workarounds.

**Context economy is a feature.** Exposing all 205 tools to an LLM costs roughly 23K
**Context economy is a feature.** Exposing all 206 tools to an LLM costs roughly 23K
tokens of context on every listing. Konnect's router loads a starter kit (~2K
tokens) and lets the model pull in toolsets on demand — plus built-in observability
(`get_recent_calls`, `server_stats`, JSONL call logs) so the model can diagnose its
Expand Down
2 changes: 1 addition & 1 deletion crates/konnect-core/src/router/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub static ALL_TOOLSETS: &[ToolsetMeta] = &[
name: "pcb_components",
description: "Place, refresh, move, rotate, flip, align, duplicate and repair PCB footprints; inspect pads; inspect and edit a placed footprint's graphics",
category: "pcb",
tool_count: 18,
tool_count: 19,
},
ToolsetMeta {
name: "pcb_routing",
Expand Down
Loading
Loading