Logo Kilo-Kit

Kilo-Kit

Cộng đồng
VoDaiLocz

An MCP server for safer coding agents: skill routing, C4 workflow gates, memory checks, and verification before completion.

Nhà phát hànhVoDaiLocz
Kho mãkilo-kit-mcp
Ngôn ngữPython
Bản fork
2
Sao
26
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépApache-2.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Kilo-Kit cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    26 sao và 2 bản fork từ kho mã được liên kết.

MseeP.ai Security Assessment Badge

Kilo-Kit: Autonomous Cognitive Flow & Quality Engine for AI Coding Agents

Version: 1.9.1
Author: Kilo-Kit Team
License: Apache 2.0

Kilo-Kit is an agentic MCP runtime and curated 180-skill catalog designed to enforce grounded diagnosis, Tree-of-Thoughts architectural planning, adversarial red-teaming, 4D quality verification, and continuous SQLite self-improvement for AI coding assistants.

🧠 Core Architectural Pillars:

  1. Division of Labor (Cortex vs Limbs): Kilo-Kit acts as the high-level cognitive brain (Tree of Thoughts, 5-Whys root cause analysis, adversarial stress-testing, context compaction) while host clients handle surgical I/O.
  2. Kilo-Sentinel Supervisor & Circuit Breaker: Real-time middleware enforcing Pre-flight Grounding Locks (no editing unread files), loop tripwires (identical call and edit-thrashing detection), and SQLite trajectory logging (katl_trajectories).
  3. Triangulated Cognitive Synthesis & Low-Confidence Escalation: Combines internal SQLite memory recall, GitHub 10k+ stars patterns, and ToT DAG benchmarking (kilo_triangulate_research), with automatic subagent delegation when confidence < 0.70.
  4. Fuzzy Skill & Alias Resolver: Instant, resilient skill loading with support for aliases (brainstorming, diagnose, playwright, clean-code, tdd, grounded-research-benchmark).
  5. 4D Quality Assurance & Playwright E2E Gate: Validates Given-When-Then acceptance criteria, clean code interfaces, UI/UX aesthetics, and automated Playwright browser/DOM verification before work is marked complete.

🏛️ System Architecture & Division of Labor

Kilo-Kit enforces a strict architectural boundary between High-Level Cognitive Reasoning (Cortex) and Surgical I/O Execution (Limbs):


🔄 C4 Cognitive Lifecycle & Low-Confidence Escalator

All agent tasks flow through a deterministic 5-Gate state machine. Unauthorized file mutations prior to Gate 3 approval are blocked at the server level:


🛡️ Protocol-Level Hard-Gate Enforcement

Traditional prompt rules (.cursorrules, CLAUDE.md) suffer from prompt drift. Kilo-Kit enforces safety via JSON-RPC Interceptor Middleware:


🧰 The 24 All-in-One MCP Tools Suite

Kilo-Kit provides a complete, self-contained execution and cognitive runtime:

CategoryToolDescription
Gating & Orchestrationkilo_orchestrate_taskC4 closed-loop gate. Enforces brainstorming and cognitive steps before code mutation.
kilo_route_intentRoutes intent to best workflow chains, task modes, and rules.
kilo_get_skillLoads curated SKILL.md workflows with token-safe truncation and session tracking.
kilo_search_skillsHigh-precision semantic and keyword search across 180 skills.
kilo_memory_reportInspects persistent SQLite decisions, facts, and sessions.
kilo_remember_factPins immutable operational rules and architectural decisions into SQLite memory_facts.
kilo_record_reflectionSelf-Improvement: Persists reflections, correct/wrong paths, and lessons to SQLite.
kilo_route_reportReports route telemetry, top skills, workflows, scores, and conflict penalties.
kilo_validate_skillsValidates entire skill catalog against the quality gate.
Cognitive Reasoningkilo_triangulate_researchGrounded Synthesis & Low-Confidence Escalator: Combines SQLite memory + GitHub grounding + 3-option ToT DAG, atomically commits reasoning to SQLite, and triggers research escalation when confidence < 0.70.
kilo_think_stepTree of Thoughts DAG: Step-by-step reasoning, 3-option trade-off matrix & hypothesis branching.
kilo_grill_planAdversarial Red-Teaming: Inversion, simplification, mobile touch & concurrency stress testing.
kilo_trace_root_cause5-Whys Diagnostic Engine: Recursive causal back-propagation with regression test scaffolding.
kilo_compact_contextCognitive Compactor: 40-70% token savings while locking invariants.
kilo_synthesize_skillSelf-Evolution: Distills solved patterns into reusable skills.
Sentinel & Supervisionkilo_sentinel_statusSupervisor Telemetry: Inspects circuit breaker state, step budget, and grounded files list.
kilo_reset_circuit_breakerSupervised Reset: Resets tripped circuit breaker with root-cause justification.
kilo_benchmark_solutionIndustry Benchmark: Audits trajectory against GitHub standards and triggers re-planning.
Safe Execution Suitekilo_read_fileLine slicing, size capping, and repository boundary enforcement.
kilo_search_filesGlob pattern search across directory trees.
kilo_grep_codeLine-by-line regex and substring search.
kilo_write_fileAtomic write with Protocol Hard-Gate, clean-code smell audit, and secret detection.
kilo_edit_fileTargeted search-and-replace with JSON syntax & bracket balancing audit.
kilo_run_commandDefense-in-depth terminal execution with security guardrails & command injection filtering.

📚 180 Curated Skills Catalog Taxonomy

Skills are organized into 6 functional modules with instant alias mapping:

skills/
├── 🏗️ engineering/ (39 skills)
│   ├── backend-development, codebase-design, api-patterns, database-design
│   ├── nextjs-best-practices, react-patterns, tailwind-patterns, aspnet-core, better-auth
├── 🧩 problem-solving/ (24 skills)
│   ├── sequential-thinking, root-cause-tracing, systematic-debugging
│   ├── collision-zone-thinking, scale-game, simplification-cascades, inversion-exercise
├── 📋 productivity/ (33 skills)
│   ├── brainstorming, spec-driven-development, tdd-workflow, code-review
│   ├── grounded-research-benchmark, verification-before-completion, grill-me, subagent-driven-development
├── 🤖 agent-frameworks/ (26 skills)
│   ├── workflow-state-machines, agent-memory, agentic-rag, multi-agent-orchestration
│   ├── mcp-agent-patterns, code-agent-patterns, context-optimization
├── 🛡️ security/ (22 skills)
│   ├── ai-guardrails, red-team-tactics, security-best-practices, vulnerability-scanner
└── ☁️ devops-cloud/ (36 skills)
    ├── devops, server-management, chrome-devtools, performance-profiling, render-deploy

Fuzzy Alias Resolution: Calling kilo_get_skill("brainstorming") automatically loads productivity/brainstorming/SKILL.md.


⚡ Quick Start

1. Fast Setup (Recommended)

Install globally and automatically configure all detected AI clients (Cursor, Claude, Windsurf, Antigravity, Gemini):

bash
npm install -g @vodailocz/kilo-kit-mcp
kilo-kit-init global

Verify system health:

bash
kilo-kit-doctor

2. Zero-Install NPX (IDE Direct Integration)

Add Kilo-Kit directly to your client's MCP configuration without installing globally:

json
{
  "mcpServers": {
    "kilo-kit": {
      "command": "npx",
      "args": ["-y", "@vodailocz/kilo-kit-mcp"]
    }
  }
}

Supported in Cursor (.cursor/mcp.json), Claude Desktop (claude_desktop_config.json), Windsurf, and Antigravity / Gemini CLI.

3. Team Repository Rollout

Bootstrap the Kilo-Kit C4 Cognitive Protocol into your project repository (CLAUDE.md, AGENTS.md, GEMINI.md):

bash
kilo-kit-init init --client all
git add CLAUDE.md AGENTS.md GEMINI.md
git commit -m "chore: configure Kilo-Kit C4 protocol"

Or use the global git alias: git kilo-init


📊 Empirical Verification & Quality Benchmarks

MetricWithout Kilo-Kit (Vanilla Agent)With Kilo-Kit v1.9.1Verification Mechanism
Silent Chained Tool Calls65% on fast models (empty text outputs)0% (100% Enforced)Triple-Lock Schema + Sentinel Interceptor
Ungrounded Code Mutations42% of sessions (modifying unread files)0% (100% Blocked)Server-side Pre-flight Grounding Lock
Context Window LongevityDegrades at >30k tokensSustained >150k tokenskilo_compact_context (40–70% token pruning)
Silent Regression Rate28% of PRs< 2%4D QA (Playwright + Given-When-Then criteria)
Tool Thrashing / Infinite LoopsCommon on complex bugsTerminated ≤ 3 loopsKilo-Sentinel Loop & Thrashing Tripwire
Self-Healing & Reasoning RecallZero across sessions100% SQLite Persistencecognitive_triangulations & katl_trajectories

📖 Documentation Directory Index

For detailed specifications, protocol definitions, and developer guides, explore the docs/ directory:


🧪 Development, Testing & Verification

bash
# Clone repository
git clone https://github.com/VoDaiLocz/KILO-KIT.git
cd KILO-KIT
npm install

# Run unit test suites (15/15 test files, 68/68 tests passing)
npm test

# Run full health diagnostics
npm run doctor

# Validate 100% of 180 skills against structural quality gates
node src/tools/validate-skill.js --all skills

📄 License

Distributed under the Apache 2.0 License. See LICENSE for more details.

Cài đặt

TypingMind
{
  "mcpServers": {
    "kilo-kit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@vodailoc/kilo-kit-mcp"
      ]
    }
  }
}

Dùng MCP Kilo-Kit với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Kilo-Kit, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Kilo-Kit làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Kilo-Kit.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "kilo-kit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@vodailoc/kilo-kit-mcp"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Kilo-Kit, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Kilo-Kit.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Kilo-Kit giúp tôi làm việc này không?
Kilo-Kit
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Kilo-Kit.

Câu hỏi thường gặp

Máy chủ MCP Kilo-Kit dùng để làm gì?

Kilo-Kit là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Kilo-Kit với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Kilo-Kit với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Kilo-Kit với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Kilo-Kit, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Kilo-Kit với TypingMind?

Kilo-Kit hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Kilo-Kit cung cấp những công cụ nào trong TypingMind?

Kilo-Kit cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Kilo-Kit không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Kilo-Kit yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇