
KIAgent
com.localkiagent由 localkiagent.com 發布官方發布者v0.53.0更新於 Oct 24, 2026
Your mail, chats and documents indexed into a local SQLite corpus, served to AI clients over MCP.
概覽
KIAgent 是一款桌面應用程式,會將你的郵件、文件與聊天索引到本機 SQLite 語料庫,並透過 MCP 提供給 AI 助理使用。
- 可以做什麼
- 透過應用程式內 HTTP 伺服器或供桌面用戶端啟動的 stdio 進入點所暴露的 MCP 工具,查詢本機索引的個人語料庫(郵件、文件、聊天與筆記)。資料擷取在本機執行:Gmail、IMAP、Microsoft 365 與本機資料夾等來源會依排程拉取並轉換為已索引文件。掃描文件與影像的解析、OCR 與視覺處理都在本機完成,並以 llama.cpp 進行端側推論。外掛與市集系統可加入更多連接器,每個連接器都受權限控管並與宿主能力隔離。
- 適用情境
- 當你希望 AI 助理能結合自己的郵件、檔案與筆記來回答,同時這些資料留在自己的電腦上,或想採用自架、開源的知識層而非雲端服務時,適合使用。
- 執行需求
- 需要在本機執行承載 MCP 伺服器的 KIAgent 桌面應用程式;清單列出依使用者子網域提供的遠端端點。來源連接器需要各自的帳號與 OAuth 用戶端憑證,OAuth 來源會在建置時從環境讀取這些憑證。本機模型與視覺輔助元件透過 vendoring 指令碼取得。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 KIAgent,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
KIAgent
Your personal AI brain — local, open source, speaks MCP.
Website · Download · Architecture docs
[KIAgent main window — Sources screen with Gmail and HubSpot syncing]
Everyone is building the company a brain — a knowledge layer that ingests everything an organization knows, so AI can answer and act with real context. KIAgent is that layer for you personally. A company brain lives in someone else's cloud and belongs to your employer; your personal AI brain runs on your own machine, works with whatever AI you choose, and is yours forever.
Concretely, KIAgent is a desktop app that ingests your personal data — mail, documents, chats, notes — on your own machine, stores it in a local database, and serves it to AI assistants over MCP. Everything stays on your computer: ingestion, parsing, OCR and vision all run locally — with on-device inference powered by llama.cpp — so your AI assistant can know your world without your data ever leaving your machine.
At its core, KIAgent is a platform: a small set of host capabilities (MCP, database, local LLM, filesystem, web access) wired together by an ingestion engine, plus a plugin/extension system that lets sandboxed connectors use those capabilities to bring in new data sources.
Plugins sit at the center: each one connects to a third-party service (Gmail, Drive, Slack, Notion, ...) or the local filesystem, pulls your data in, uses the local LLM to process it, and lands it in the database — which MCP then serves to AI assistants. Access is mediated and permission-gated; plugins never touch these capabilities directly.
This repo: kiagent-core
This repository is the MIT-licensed core that KIAgent is built from, in the same spirit as VS Code and Code-OSS:
- kiagent-core (this repo) — the open-source core.
npm run package:ossproduces an unbrandedkiagent-corebuild you can run and redistribute under the MIT license. - KIAgent — the branded, signed product built from this core and distributed at localkiagent.com/download.
OAuth-backed sources (Gmail, Microsoft) read client credentials from the environment at build time — see .env.example / CI secrets. Forks and OSS builds supply their own OAuth client IDs.
Main components
- Ingestion engine (
src/main/core/engine) — pulls batches from sources on a cadence, converts raw items (mail, PDFs, images) into indexed documents, and commits them to the store. Built-in sources live insrc/main/sources(Gmail, IMAP, Microsoft 365, local folders). - Database (
src/main/core/store,src/main/db) — a SQLite corpus (better-sqlite3) holding documents, metadata and search indexes, written by the app and read by the MCP processes. - MCP server (
src/main/core/mcp,src/main/mcp) — exposes the corpus to AI assistants over two transports sharing one tool registry: an HTTP server inside the app, and a standalone stdio entry point that clients like Claude Desktop spawn directly. - Local LLM (
src/main/providers/local-llm,src/main/providers/apple-vision) — on-device inference via a bundled llama.cpp server (backend auto-detection, curated model tiers) plus native OCR/vision helpers for scanned documents and images. - Filesystem — local-folder ingestion, model storage, temp workspaces for conversion workers (
src/main/workers,src/main/converter). - Web — outbound HTTP for source APIs, OAuth flows (
src/main/auth,src/main/platform/oauth-providers.ts), and marketplace downloads. - Plugin / extension system (
src/main/platform,src/main/marketplace) — connectors run in isolated host processes with a manifest-declared, permission-gated view of the platform (sources, auth, storage, network). A GitHub-backed marketplace handles discovery, install and updates. A second, privileged tier lets a product build ship first-party extensions inside the app package itself — seedocs/architecture/extension-platform.mdfor the full model, including the bundled/unsafe.mainProcesstier andproduct.json. - Renderer (
src/renderer) — the React UI: source setup, marketplace, MCP connection status, settings and logs.
Developing
Other useful scripts:
Repository layout
MCP directories
KIAgent is published on the official MCP registry as com.localkiagent/kiagent (see server.json) and listed on Glama:
Acknowledgements
KIAgent's on-device inference is powered by llama.cpp, created by Georgi Gerganov and maintained by the ggml-org community (MIT license). The app bundles prebuilt llama-server binaries from the official llama.cpp releases (npm run vendor:inference fetches them at build time). Running capable models privately on consumer hardware is only practical because of their work — thank you.
License
MIT — see LICENSE.
來源:README.md,提交 b3ebcb6
工具
0版本歷史
1- v0.53.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式必需10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分