Skip to main content
Glama

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 img.png

Related MCP server: KaaS

クイックスタート

  1. https://github.com/embracingTheFuture/kb-agent-platform.git && cd kb-agent-platform

  2. cp .env.example .env # あなたのキーを入力

  3. docker compose up --build -d

  4. docker compose run --rm api python task2_pipeline.py # データ取り込み

  5. http://localhost:8000/docs を開く

効果スクリーンショット

img_1.png

品質:評価セット回帰

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 ストリーミング / 評価セット回帰

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    A
    maintenance
    Exposes 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.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Exposes 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.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Gives 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.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables 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.
    -