KIAgent

KIAgent

kiagent-core•byedjafarov

A local, open-source desktop app that ingests personal data into a SQLite corpus and serves it to AI assistants over MCP via HTTP and stdio transports.

License: MIT•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Exposes a local document corpus to AI assistants through an MCP server using both an in-app HTTP server and a standalone stdio entry point.
  • •Ingests data from sources like Gmail, IMAP, Microsoft 365 and local folders into a SQLite corpus with metadata and search indexes.
  • •Runs on-device inference via a bundled llama.cpp server plus native OCR and vision helpers for scanned documents and images.
  • •Supports a permission-gated plugin and extension system for connectors, with a GitHub-backed marketplace for discovery and updates.

BEST FOR

  • •Users who want AI assistants to answer with context from their own mail, documents, chats and notes while keeping data on their machine.
  • •Developers building on an MIT-licensed open core that can be run and redistributed under the MIT license.
  • •MCP clients that spawn a stdio server directly to read the local corpus.

ABOUT KIAGENT-CORE

KIAgent is cataloged as an MCP server attributed to edjafarov. A local, open-source desktop app that ingests personal data into a SQLite corpus and serves it to AI assistants over MCP via HTTP and stdio transports. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for KIAgent are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does my data leave my machine?

No: ingestion, parsing, OCR and vision run locally, and inference is on-device, so the assistant can use your data without it leaving your computer.

Where is KIAgent listed as an MCP server?

It is published on the official MCP registry as com.localkiagent/kiagent and listed on Glama.

What is the difference between kiagent-core and the KIAgent product?

kiagent-core is the MIT-licensed open core that can be packaged as an unbranded build; the branded, signed KIAgent product is built from this core and distributed separately.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 54d5ab0bd633 · 采集于 2026-11-13 10:26:18 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

KIAgent logo

KIAgent

Your personal AI brain — local, open source, speaks MCP.

Website · Download · Architecture docs

License: MIT Platforms

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.

flowchart TB
    GMAIL(["Gmail"])
    DRIVE(["Drive"])
    SLACK(["Slack"])
    NOTION(["Notion"])
    MORE(["…"])

    PLUGINS["Plugins / extensions"]

    WEB["Web"]
    LLM["Local LLM"]
    FS["Filesystem"]
    DB[("DB")]
    MCP["MCP"]

    GMAIL --> PLUGINS
    DRIVE --> PLUGINS
    SLACK --> PLUGINS
    NOTION --> PLUGINS
    MORE --> PLUGINS
    PLUGINS <--> WEB
    PLUGINS <--> LLM
    PLUGINS <--> FS
    PLUGINS <--> DB
    DB --> MCP

    classDef service fill:#e8f0fe,stroke:#4285f4,color:#1a3c78
    classDef core fill:#e6f4ea,stroke:#34a853,color:#1e4620
    classDef hub fill:#fce8e6,stroke:#ea4335,color:#7a1c14,stroke-width:2px

    class GMAIL,DRIVE,SLACK,NOTION,MORE service
    class WEB,LLM,FS,DB,MCP core
    class PLUGINS hub

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:oss produces an unbranded kiagent-core build 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 in src/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 — see docs/architecture/extension-platform.md for the full model, including the bundled/unsafe.mainProcess tier and product.json.
  • Renderer (src/renderer) — the React UI: source setup, marketplace, MCP connection status, settings and logs.

Developing

npm install
npm start          # run in development (hot reload)

Other useful scripts:

npm test                 # jest test suites
npm run lint             # eslint + prettier
npm run typecheck        # tsc, no emit
npm run package          # build a distributable
npm run package:oss      # build an unbranded kiagent-core distributable
npm run vendor:inference # fetch llama.cpp server + build vision helper

Repository layout

src/main       Electron main process: engine, store, MCP, platform, sources, providers
src/renderer   React UI (screens: Sources, Marketplace, Connection, Settings)
src/shared     Contracts and UI primitives shared across processes
concept/       Types-only blueprint for the core redesign
docs/          Design specs and implementation plans
native/        Native helper sources (vision/OCR)
scripts/       Build and vendoring scripts

MCP directories

KIAgent is published on the official MCP registry as com.localkiagent/kiagent (see server.json) and listed on Glama:

kiagent-core MCP server

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.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for KIAgent from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/kiagent-core)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent