graphjin

DeepORG (formerly GraphJin) — one governed AI agent for your whole organization: databases, APIs, files, and code over MCP

What is graphjin?

DeepORG (formerly GraphJin) — one governed AI agent for your whole organization: databases, APIs, files, and code over MCP

Overview of graphjin

What it is

GraphJin is a compiler and runtime that provides a governed graph over databases, files, APIs, and code. It exposes this graph through GraphQL and the Model Context Protocol (MCP), enabling AI agents to discover, validate, and execute queries under defined permissions. It also functions as a GraphQL-to-database compiler, a Go library, a standalone API service, a REST/OpenAPI gateway, and a real-time subscription server.

Key features

  • Provides a governed graph for AI agents, exposing databases, warehouses, files, source code, workflows, metadata, and security policy through GraphQL and MCP.
  • Includes a built-in server-side agent that accepts instructions via /api/v1/agent or the ask_graphjin_agent MCP tool, running discovery and returning typed, evidence-backed answers.
  • Supports smart discovery before action, allowing agents to query catalogs, relationship evidence, examples, and safety notes before executing queries.
  • Offers guarded action with source-mode access, query allow-lists, read-only boundaries, policy-aware MCP tools, local encrypted secrets, and config preview/apply.
  • Provides operational awareness through gj_security, gj_runtime, and a built-in console that expose policy and runtime status.
  • Supports durable memory via saved queries, fragments, and workflows stored in the owner-scoped gj_artifacts store.
  • Works with PostgreSQL, MySQL, MongoDB, SQLite, Oracle, MSSQL, Snowflake, Redshift, BigQuery, Apache Cassandra / Amazon Keyspaces, S3/GCS/local files, CodeSQL source indexes, and models from Claude/GPT-4 to local 7B models.

Use cases

GraphJin is designed for AI agents that need governed access to multiple enterprise systems. It can be used to query operational databases, warehouses, object stores, local files, source code indexes, workflows, and system metadata through a single GraphQL and MCP interface. It also serves as a high-performance GraphQL-to-database compiler for traditional API services.

Getting started

Install GraphJin via npm:bashnpm install -g graphjinOr via Homebrew on macOS:bashbrew install dosco/graphjin/graphjinOr via Scoop on Windows:bashscoop bucket add graphjin https://github.com/dosco/graphjin-scoopscoop install graphjinOr pull the Docker image:bashdocker pull dosco/graphjinRun the built-in demo:bashgraphjin serve --demo

License and pricing

GraphJin is licensed under Apache-2.0 and is open source.

這是什麼

GraphJin 是一個編譯器與執行環境,為資料庫、檔案、API 與程式碼提供一個受治理的圖形介面。它透過 GraphQL 與模型上下文協定(MCP)暴露此圖形,讓 AI 代理能在定義的權限下探索、驗證並執行查詢。它同時也是一個高效能的 GraphQL 到資料庫編譯器、Go 語言函式庫、獨立 API 服務、REST/OpenAPI 閘道,以及即時訂閱伺服器。

主要功能

  • 為 AI 代理提供受治理的圖形介面,透過 GraphQL 與 MCP 暴露資料庫、資料倉儲、檔案、原始碼、工作流程、元資料與安全政策。
  • 內建伺服端代理,可透過 /api/v1/agent 或 ask_graphjin_agent MCP 工具接受指令,執行探索並回傳帶有證據的型別化答案。
  • 支援行動前的智慧探索,允許代理在執行查詢前先查詢目錄、關係證據、範例與安全提示。
  • 提供受保護的行動,包括來源模式存取、查詢允許清單、唯讀邊界、感知政策的 MCP 工具、本機加密密鑰,以及設定預覽/套用功能。
  • 透過 gj_security、gj_runtime 與內建主控台提供營運感知能力,暴露政策與執行時期狀態。
  • 支援持久記憶,透過儲存在擁有者範圍的 gj_artifacts 儲存區中的已儲存查詢、片段與工作流程實現。
  • 支援 PostgreSQL、MySQL、MongoDB、SQLite、Oracle、MSSQL、Snowflake、Redshift、BigQuery、Apache Cassandra / Amazon Keyspaces、S3/GCS/本機檔案、CodeSQL 原始碼索引,以及從 Claude/GPT-4 到本機 7B 模型的模型。

使用情境

GraphJin 專為需要受治理存取多個企業系統的 AI 代理設計。它可用於透過單一 GraphQL 與 MCP 介面查詢營運資料庫、資料倉儲、物件儲存、本機檔案、原始碼索引、工作流程與系統元資料。它也可作為傳統 API 服務的高效能 GraphQL 到資料庫編譯器。

快速開始

透過 npm 安裝 GraphJin:bashnpm install -g graphjin或在 macOS 上透過 Homebrew 安裝:bashbrew install dosco/graphjin/graphjin或在 Windows 上透過 Scoop 安裝:bashscoop bucket add graphjin https://github.com/dosco/graphjin-scoopscoop install graphjin或拉取 Docker 映像:bashdocker pull dosco/graphjin執行內建示範:bashgraphjin serve --demo

授權與價格

GraphJin 採用 Apache-2.0 授權,為開放原始碼軟體。

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/doscographjin.svg)](https://yunodb.com/tools/doscographjin?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/doscographjin?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/doscographjin.svg" alt="Featured on YunoDB" height="20"></a>