kodelyth-ecc 1.7.2 → 1.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,391 @@
1
+ # VIDEO 4 — "MCP Server: Give LangGraph access to 70 agents in one command"
2
+
3
+ **Duration:** 10–12 minutes
4
+ **Platform:** YouTube (AI/ML engineers, agent framework builders, Claude Desktop users)
5
+ **Hook:** Live wiring of ECC MCP into Claude Desktop + LangGraph
6
+ **Goal:** Drive adoption from the agentic AI engineering community
7
+ **Screen setup:** Terminal + code editor + browser (Claude Desktop or LangGraph notebook)
8
+
9
+ ---
10
+
11
+ ## FULL SCRIPT
12
+
13
+ ---
14
+
15
+ ### [0:00–0:20] COLD OPEN
16
+
17
+ **[SCREEN: Claude Desktop — chat open, typing]**
18
+
19
+ **[TYPE in Claude Desktop:]**
20
+ ```
21
+ route this task for me: our checkout flow is broken in production
22
+ ```
23
+
24
+ **[Show response from ECC MCP route_intent tool:]**
25
+ ```json
26
+ {
27
+ "suggestions": [
28
+ { "agent": "incident-commander", "score": 0.94, "reason": "production + broken = P0 pattern" },
29
+ { "agent": "debug-detective", "score": 0.81, "reason": "checkout flow + broken = active bug" },
30
+ { "agent": "silent-failure-hunter", "score": 0.62, "reason": "checkout failures often have no error" }
31
+ ]
32
+ }
33
+ ```
34
+
35
+ **NARRATION:**
36
+ > "That's Claude Desktop calling an ECC tool to route a task to the right specialist."
37
+ > "No plugins. No cloud. Just one command on your machine and MCP handles the rest."
38
+
39
+ **[TITLE CARD: Kodelyth ECC MCP Server — Universal Adapter]**
40
+
41
+ ---
42
+
43
+ ### [0:20–1:30] WHAT IS MCP AND WHY IT MATTERS
44
+
45
+ **[SCREEN: Simple diagram — MCP architecture]**
46
+
47
+ **NARRATION:**
48
+ > "Model Context Protocol is Anthropic's open standard for connecting AI applications to external tools and data."
49
+ > "Think of it like USB-C for AI. Any MCP client can plug into any MCP server."
50
+
51
+ **[Draw: Claude Desktop → MCP → ECC server]**
52
+ **[Draw: LangGraph → MCP → ECC server]**
53
+ **[Draw: AutoGen → MCP → ECC server]**
54
+
55
+ **NARRATION:**
56
+ > "ECC v1.7.0 ships a full MCP server. One command starts it."
57
+ > "Any framework that speaks MCP now has access to 70 agents, 194 skills, 97 commands, and your local memory store."
58
+
59
+ ---
60
+
61
+ ### [1:30–2:30] WHAT THE SERVER EXPOSES
62
+
63
+ **[SCREEN: Diagram — three columns: Tools / Prompts / Resources]**
64
+
65
+ **NARRATION:**
66
+ > "The ECC MCP server exposes three categories of content."
67
+
68
+ **[COLUMN 1: TOOLS (16)]**
69
+
70
+ **NARRATION:**
71
+ > "16 tools. These are callable functions your AI can invoke."
72
+
73
+ **[Show each with one line:]**
74
+ ```
75
+ route_intent → suggest the right ECC agent for a message
76
+ list_agents → catalog of all 70 agents
77
+ list_skills → catalog of all 194 skills
78
+ get_agent → full markdown body of any agent
79
+ get_skill → full markdown body of any skill
80
+ get_command → full slash command body
81
+ recall_memory → BM25 search of your local memory
82
+ capture_memory → store a new memory entry
83
+ memory_stats → stats on your memory store
84
+ catalog_stats → counts of agents/skills/commands
85
+ audit_skill_match → which skills are relevant to a task
86
+ ```
87
+
88
+ ---
89
+
90
+ **[COLUMN 2: PROMPTS (6)]**
91
+
92
+ **NARRATION:**
93
+ > "6 prompts. Canonical ECC context blocks you can summon by name."
94
+
95
+ ```
96
+ routing-rule → the full 10-tier intent routing system
97
+ agents-overview → all 70 agents, one-line each
98
+ skills-overview → all 194 skills compact
99
+ handoff-chains → standard multi-agent chain protocols
100
+ devil-mode → the adversarial parallel sweep command
101
+ commands-overview → all 97 slash commands
102
+ ```
103
+
104
+ ---
105
+
106
+ **[COLUMN 3: RESOURCES (377)]**
107
+
108
+ **NARRATION:**
109
+ > "377 resources. Every agent, skill, command, rule, and bundle is addressable as a kodelyth:// URI."
110
+
111
+ ```
112
+ kodelyth://agents/debug-detective
113
+ kodelyth://skills/kodelyth-memory
114
+ kodelyth://commands/devil-mode
115
+ kodelyth://rules/agent-intent-routing
116
+ kodelyth://bundles/indie-hacker
117
+ ```
118
+
119
+ **NARRATION:**
120
+ > "Any MCP client can do `resources/list` to discover everything, then `resources/read` to fetch any of it as markdown."
121
+
122
+ ---
123
+
124
+ ### [2:30–4:00] DEMO 1 — CLAUDE DESKTOP IN 30 SECONDS
125
+
126
+ **[SCREEN: macOS → finder → ~/Library/Application Support/Claude/]**
127
+
128
+ **NARRATION:**
129
+ > "Let's wire it into Claude Desktop. 30 seconds."
130
+
131
+ **[SCREEN: Open claude_desktop_config.json]**
132
+
133
+ **[TYPE the config:]**
134
+ ```json
135
+ {
136
+ "mcpServers": {
137
+ "kodelyth-ecc": {
138
+ "command": "npx",
139
+ "args": ["-y", "kodelyth-ecc", "mcp"]
140
+ }
141
+ }
142
+ }
143
+ ```
144
+
145
+ **NARRATION:**
146
+ > "Save. Restart Claude Desktop."
147
+
148
+ **[Restart Claude Desktop — show the server appearing in the tools panel]**
149
+
150
+ **NARRATION:**
151
+ > "ECC is now available. Claude Desktop can call all 16 tools, use all 6 prompts, and read all 377 resources."
152
+
153
+ **[DEMO in Claude Desktop:]**
154
+
155
+ **[TYPE:]**
156
+ ```
157
+ Use the routing-rule prompt, then route this:
158
+ "I've been debugging this race condition for 3 days, nothing works"
159
+ ```
160
+
161
+ **[Show: ECC routing-rule prompt loaded → route_intent called → response suggests /debug-blitz]**
162
+
163
+ **NARRATION:**
164
+ > "Claude used the ECC routing rule — the full 10-tier system — to decide that 3 days of frustration on a race condition means debug-blitz, not a single debug-detective."
165
+
166
+ ---
167
+
168
+ **[DEMO 2 in Claude Desktop — get agent body:]**
169
+
170
+ **[TYPE:]**
171
+ ```
172
+ Get me the full debug-detective agent instructions
173
+ ```
174
+
175
+ **[Show: get_agent tool called → full debug-detective.md loaded → Claude adopts the persona]**
176
+
177
+ **NARRATION:**
178
+ > "Claude fetched the full agent playbook on demand. Now it's running as debug-detective — with the real methodology, not a made-up persona."
179
+
180
+ ---
181
+
182
+ ### [4:00–6:30] DEMO 2 — LANGGRAPH INTEGRATION
183
+
184
+ **[SCREEN: VS Code with a Python file open]**
185
+
186
+ **NARRATION:**
187
+ > "Now let's wire it into LangGraph. This is for developers building multi-agent workflows in Python."
188
+
189
+ **[SCREEN: Show minimal LangGraph code with MCP client]**
190
+
191
+ ```python
192
+ from langchain_mcp import MCPToolkit
193
+ from langchain_anthropic import ChatAnthropic
194
+ from langgraph.prebuilt import create_react_agent
195
+
196
+ # Connect to ECC MCP server
197
+ async with MCPToolkit("npx kodelyth-ecc mcp") as toolkit:
198
+ tools = await toolkit.get_tools()
199
+
200
+ llm = ChatAnthropic(model="claude-sonnet-4-5")
201
+ agent = create_react_agent(llm, tools)
202
+
203
+ # Now the agent can call any ECC tool
204
+ result = await agent.ainvoke({
205
+ "messages": [
206
+ {"role": "user", "content": "Route this task and get me the right agent's instructions: our API is throwing 500s"}
207
+ ]
208
+ })
209
+ ```
210
+
211
+ **NARRATION:**
212
+ > "The ECC server spawns as a subprocess. LangGraph connects via stdio. The agent now has all 16 ECC tools in its tool belt."
213
+
214
+ **[RUN the script — show output:]**
215
+
216
+ ```
217
+ > Calling tool: route_intent
218
+ input: "our API is throwing 500s"
219
+
220
+ > Result: incident-commander (score 0.91), debug-detective (0.78)
221
+
222
+ > Calling tool: get_agent
223
+ input: "incident-commander"
224
+
225
+ > Loaded: incident-commander.md (7920 bytes)
226
+
227
+ [Agent now follows incident-commander playbook...]
228
+ ```
229
+
230
+ **NARRATION:**
231
+ > "The orchestrator called route_intent, got a recommendation, fetched the full agent body, and is now executing the incident-commander playbook."
232
+ > "Your LangGraph workflow just got 70 specialists."
233
+
234
+ ---
235
+
236
+ **[MEMORY ROUNDTRIP]**
237
+
238
+ **NARRATION:**
239
+ > "The memory tools are the most valuable part for long-running workflows."
240
+
241
+ ```python
242
+ # Store a solution during a session
243
+ await agent.ainvoke({
244
+ "messages": [{
245
+ "role": "user",
246
+ "content": "capture_memory: problem=API rate limiting, approach=exponential backoff with jitter, tags=[api, rate-limiting, retry]"
247
+ }]
248
+ })
249
+
250
+ # Recall it later, in any workflow
251
+ result = await agent.ainvoke({
252
+ "messages": [{
253
+ "role": "user",
254
+ "content": "I'm building retry logic for an API client. recall_memory first."
255
+ }]
256
+ })
257
+ ```
258
+
259
+ **NARRATION:**
260
+ > "Your LangGraph workflow can now persist solutions to your local BM25 memory and recall them on future runs."
261
+ > "The memory survives process restarts. It's a JSONL file. Your agent learns across runs."
262
+
263
+ ---
264
+
265
+ ### [6:30–8:00] DEMO 3 — CLI INSPECTION TOOLS
266
+
267
+ **[SCREEN: Terminal]**
268
+
269
+ **NARRATION:**
270
+ > "You don't have to write code to explore the server. ECC ships CLI commands for everything."
271
+
272
+ ```bash
273
+ # Register a server
274
+ npx kodelyth-ecc mcp-add kodelyth -- npx kodelyth-ecc mcp
275
+
276
+ # List registered servers
277
+ npx kodelyth-ecc mcp-list
278
+
279
+ # See all 16 tools
280
+ npx kodelyth-ecc mcp-tools kodelyth
281
+
282
+ # Call a tool directly
283
+ npx kodelyth-ecc mcp-call kodelyth route_intent \
284
+ --json '{"message":"production is down","top_k":3}'
285
+
286
+ # List resources
287
+ npx kodelyth-ecc mcp-resources kodelyth
288
+
289
+ # Read a specific resource
290
+ npx kodelyth-ecc mcp-call kodelyth get_agent \
291
+ --json '{"name":"debug-detective"}'
292
+ ```
293
+
294
+ **NARRATION:**
295
+ > "The mcp-call command is especially useful for testing integrations before you wire them into code."
296
+
297
+ **[Show route_intent output formatted with jq:]**
298
+
299
+ ```bash
300
+ npx kodelyth-ecc mcp-call kodelyth route_intent \
301
+ --json '{"message":"I need to refactor my auth module"}' \
302
+ | jq '.content[0].text | fromjson | .suggestions[:3]'
303
+ ```
304
+
305
+ ---
306
+
307
+ ### [8:00–9:30] DESIGN PRINCIPLES
308
+
309
+ **[SCREEN: Diagram]**
310
+
311
+ **NARRATION:**
312
+ > "A few things I want to be explicit about in the design."
313
+
314
+ **[PRINCIPLE 1: No LLM calls]**
315
+
316
+ **NARRATION:**
317
+ > "The ECC MCP server adds zero LLM calls of its own. It reads files and passes through memory. Your client's model decides what to do with the content. No hidden API costs."
318
+
319
+ **[PRINCIPLE 2: Local only]**
320
+
321
+ **NARRATION:**
322
+ > "stdio transport. No network port. No HTTP server. The MCP server is a subprocess — it dies when your client disconnects. No background process lingering."
323
+
324
+ **[PRINCIPLE 3: Optional dependency]**
325
+
326
+ **NARRATION:**
327
+ > "The MCP SDK is in optionalDependencies. `npx kodelyth-ecc` installs without it. The MCP subcommand prints a helpful message if you try to use it without the SDK."
328
+
329
+ ```bash
330
+ npx kodelyth-ecc mcp
331
+ # → "Kodelyth MCP server requires @modelcontextprotocol/sdk"
332
+ # → "Run: npm install @modelcontextprotocol/sdk"
333
+ ```
334
+
335
+ **[PRINCIPLE 4: Cached catalog]**
336
+
337
+ **NARRATION:**
338
+ > "Agent and skill lists are cached in-process after first read. Sub-millisecond for subsequent calls. Heavy workflows that call list_agents repeatedly don't hit the filesystem every time."
339
+
340
+ ---
341
+
342
+ ### [9:30–10:00] WHAT'S COMING
343
+
344
+ **[SCREEN: Simple roadmap card]**
345
+
346
+ **NARRATION:**
347
+ > "The MCP server opens up a second direction: ECC as an MCP client."
348
+
349
+ **[Show code snippet:]**
350
+ ```bash
351
+ npx kodelyth-ecc mcp-add stripe -- npx -y @modelcontextprotocol/server-stripe
352
+ npx kodelyth-ecc mcp-add github -- npx -y @modelcontextprotocol/server-github
353
+ npx kodelyth-ecc mcp-add postgres -- npx -y @modelcontextprotocol/server-postgres
354
+ ```
355
+
356
+ **NARRATION:**
357
+ > "ECC agents will be able to consume external MCP servers — Stripe, GitHub, Postgres, Redis — making ECC the hub that routes between your specialists and your data sources."
358
+ > "That's the agentic layer I'm building toward."
359
+
360
+ ---
361
+
362
+ ### [10:00–10:30] CTA
363
+
364
+ **NARRATION:**
365
+ > "If you're building with LangGraph, AutoGen, CrewAI, or Claude Desktop — ECC's MCP server is a one-command addition to any workflow."
366
+
367
+ **[SCREEN: Terminal]**
368
+
369
+ ```bash
370
+ npx kodelyth-ecc mcp
371
+ ```
372
+
373
+ **NARRATION:**
374
+ > "github.com/sifxprime/kodelyth-ecc — full MCP docs at docs/mcp.md"
375
+ > "If this was useful, subscribe — I'll be covering the ECC-as-MCP-client direction next."
376
+
377
+ **[END CARD: subscribe, github link, docs link]**
378
+
379
+ ---
380
+
381
+ ## B-ROLL / EDITING NOTES
382
+
383
+ - Run the REAL MCP server — don't fake responses
384
+ - Claude Desktop wiring must be recorded live — the UX of it connecting is persuasive
385
+ - The LangGraph demo should be in a Jupyter notebook OR a clean Python file, not a cluttered repo
386
+ - Show the actual tool call logs from LangGraph (the `> Calling tool:` lines)
387
+ - For the CLI commands: use --color=always and record with terminal that shows nice colors
388
+ - Diagram for MCP architecture: keep it simple — three boxes (Client → MCP → ECC)
389
+ - This is the most technical video — don't cut corners on accuracy
390
+ - Thumbnail: "npx kodelyth-ecc mcp" in terminal + "LangGraph ← 70 agents" graphic
391
+ - Consider publishing a companion GitHub Gist with the LangGraph code snippet for the description
package/wiki/FAQ.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  **What is Kodelyth ECC?**
8
8
 
9
- An AI coding toolkit (v1.7.1) that installs into 11 AI coding platforms (13 install targets). It adds 70 specialist agents (including 8 adversarial devil-mode agents), 194 skills, 97 slash commands, 20+ automation hooks, and a compound learning system. Zero cloud, zero telemetry, all local.
9
+ An AI coding toolkit (v1.7.3) that installs into 11 AI coding platforms (13 install targets). It adds 70 specialist agents (including 8 adversarial devil-mode agents), 194 skills, 97 slash commands, 20+ automation hooks, and a compound learning system. Zero cloud, zero telemetry, all local.
10
10
 
11
11
  **Is it free?**
12
12
 
package/wiki/Home.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Kodelyth Enhanced Coding Companion** — production-grade AI coding toolkit for Claude Code, Windsurf, Cursor, Codex CLI, Google Antigravity, and more.
4
4
 
5
- > Version: **v1.7.2** · Agents: **70** (including 8 adversarial) · Skills: **194** · Commands: **97** (including 8 parallel) · Hooks: **22+** · Platforms: **11** · Tests: **336**
5
+ > Version: **v1.7.3** · Agents: **70** (including 8 adversarial) · Skills: **194** · Commands: **97** (including 8 parallel) · Hooks: **22+** · Platforms: **11** · Tests: **336**
6
6
 
7
7
  ---
8
8
 
@@ -56,7 +56,7 @@ After install, type `/kodelyth-quickstart` in your AI tool to begin.
56
56
 
57
57
  ---
58
58
 
59
- ## Key Features (v1.7.0)
59
+ ## Key Features (v1.7.3)
60
60
 
61
61
  ### Semantic Intent Routing
62
62