kb-agent-platform
KB-Agent-Platform —— 企業ナレッジベースQ&Aプラットフォーム(RAG + Multi-Agent + MCP)
一言で言うと:RAG と LangGraph Supervisor に基づく企業ナレッジベース Agent、 SSE ストリーミングQ&Aで引用の出典付き、MCP 二重エントリ、docker compose でワンクリックデプロイ。
アーキテクチャ
フロントエンド Vue3 ──SSE──> FastAPI ──> Supervisor(LLM ルーティング) ──┬─> KB Agent ──> Qdrant(4096次元)
└─> Chat Agent
MCP Host(Cursor/Claude) ──stdio──> MCP Server ──> 同じ Qdrant

Related MCP server: KaaS
クイックスタート
https://github.com/embracingTheFuture/kb-agent-platform.git && cd kb-agent-platform
cp .env.example .env # あなたのキーを入力
docker compose up --build -d
docker compose run --rm api python task2_pipeline.py # データ取り込み
効果スクリーンショット

品質:評価セット回帰
6 件のテストケースがルーティングの正確性 + 引用の完全性をカバーし、コンテナ内で再現可能。
番号 | 最初の15文字 | 期待 | 実際 | テスト合格か |
番号:1 | 最初の15文字:フェーズ2の時間スケジュールとメインプロジェクトの位置づけ。 | 期待:KB | 実際:KB | PASS |
番号:2 | 最初の15文字:ロードマップで Day16 にやること | 期待:KB | 実際:KB | PASS |
番号:3 | 最初の15文字:一言で自己紹介してください。 | 期待:CHAT | 実際:CHAT | PASS |
番号:4 | 最初の15文字:秋についての詩を一句書いてください。 | 期待:CHAT | 実際:CHAT | PASS |
番号:5 | 最初の15文字:2024年オリンピックで中国チームはいくつ金メダルを | 期待:CHAT | 実際:CHAT | PASS |
番号:6 | 最初の15文字: | 期待:CHAT | 実際:CHAT | PASS |
6 件のテストケース、6 合格、0 失敗 |
技術ポイント
手書き ReAct カーネル(ツールレジストリ + while ループ、フレームワーク不使用)
自社開発の分割-ベクトル化-検索パイプライン、Qdrant コサイン類似度
引用の出典追跡:番号付きコンテキスト + [i] 注記 + citations 構造
Supervisor マルチエージェントルーティング + セッション記憶圧縮(ローリングサマリー)
MCP Server 二重エントリ / SSE ストリーミング / 評価セット回帰
This server cannot be deployed
Maintenance
Related MCP Connectors
Query any docs site via MCP. Submit a URL, ask questions, get cited answers.
- docs2mcpOAuthcom.docs2mcp
Query your own PDFs and documents from any MCP client. Every answer cites the page it came from.
Query SEC EDGAR filings, XBRL financials, and company data via MCP. STDIO or Streamable HTTP.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceExposes a compiled Markdown knowledge base to any MCP-capable coding agent through a single ask tool, returning cited answers grounded in full wiki articles over stdio or streamable HTTP.-
- FlicenseNot gradedqualityAmaintenanceExposes a compiled Markdown knowledge wiki to any MCP-capable client through a single ask tool that returns cited Markdown answers grounded in whole wiki articles, available over stdio or an authenticated streamable-HTTP endpoint.-
- FlicenseNot gradedqualityAmaintenanceGives MCP-capable coding agents a single ask tool that returns cited Markdown answers grounded in a compiled wiki of the user's notes, docs, and transcripts. Runs locally over stdio or remotely as a streamable-HTTP endpoint at /mcp with optional bearer-token auth.-
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients to query a compiled Markdown knowledge base through a single ask tool, returning cited answers grounded in wiki articles over stdio or streamable HTTP.-