DG

dosco/graphjin

API development

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

3225 stars 205 forks 品質 79 トレンド 47Apache-2.0

AIエージェント向けのガバナントグラフの一つは、データベース、ファイル、API、コードに対するGraphQL + MCPです

概要

GraphJinはコンパイラ兼ランタイムで、AIエージェントに実際の企業が既に持つシステム(データベース、ウェアハウス、ファイル、ソースコード、ワークフロー、メタデータ、セキュリティポリシー)を一つのガバナンドグラフに提供します。エージェントに生の認証情報を渡して正しく推測されることを願う代わりに、GraphJinはGraphQL + MCPを通じてそのグラフを公開します。エージェントは行動前に発見し、クエリを検証し、承認された作業を実行し、ランタイムの状態を観察し、すべての回答がサーバーを離れる前に実行台帳と照合されます。 エージェントだけのものではありません。GraphJinは依然として高性能なGraphQLからデータベースへのコンパイラ、Goライブラリ、スタンドアロンAPIサービス、REST/OpenAPIゲートウェイ、リアルタイムサブスクリプションサーバーです。エージェントのユースケースがすべて一体となる点です。アプリを提供する同じコンパイラが、AIにデータ、コード、操作をまたぐスマートで監査可能な方法で機能させることも可能です。

概要(AI 翻訳)

GraphJinはコンパイラ兼ランタイムで、AIエージェントに実際の企業が既に持つシステム(データベース、ウェアハウス、ファイル、ソースコード、ワークフロー、メタデータ、セキュリティポリシー)を一つのガバナンドグラフに提供します。エージェントに生の認証情報を渡して正しく推測されることを願う代わりに、GraphJinはGraphQL + MCPを通じてそのグラフを公開します。エージェントは行動前に発見し、クエリを検証し、承認された作業を実行し、ランタイムの状態を観察し、すべての回答がサーバーを離れる前に実行台帳と照合されます。

エージェントだけのものではありません。GraphJinは依然として高性能なGraphQLからデータベースへのコンパイラ、Goライブラリ、スタンドアロンAPIサービス、REST/OpenAPIゲートウェイ、リアルタイムサブスクリプションサーバーです。エージェントのユースケースがすべて一体となる点です。アプリを提供する同じコンパイラが、AIにデータ、コード、操作をまたぐスマートで監査可能な方法で機能させることも可能です。

PostgreSQL、MySQL、MongoDB、SQLite、Oracle、MSSQL、Snowflake、Redshift、BigQuery、Apache Cassandra / Amazon Keyspaces、S3/GCS/ローカルファイル、CodeSQLソースインデックス、Claude/GPT-4からローカル7Bモデルまでのモデルに対応しています。

なぜGraphJin For Agentsなのか

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

GraphJin — One Governed Graph for Your AI Agents

GraphJin is a compiler and runtime that gives AI agents one governed graph over the systems a real company already has: databases, warehouses, files, source code, workflows, metadata, and security policy. Instead of handing an agent raw credentials and hoping it guesses correctly, GraphJin exposes that graph through GraphQL + MCP: the agent discovers before acting, validates queries, runs approved work, observes runtime status — and every answer is checked against an execution ledger before it leaves the server.

It is not only for agents. GraphJin is still a high-performance GraphQL-to-database compiler, Go library, standalone API service, REST/OpenAPI gateway, and real-time subscription server. The agent use case is where everything comes together: the same compiler that serves your apps can also give AI a smart, auditable way to work across data, code, and operations.

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.

Why GraphJin For Agents

  • A built-in agent, one call away - POST one instruction to /api/v1/agent (or call the ask_graphjin_agent MCP tool) and GraphJin runs the discovery loop itself - as the caller, under the caller’s permissions - and returns a typed, evidence-backed answer. See Server-Side Agent.
  • One governed surface for many systems - Query operational databases, warehouses, MongoDB, object stores, local files, CodeSQL source indexes, workflows, and GraphJin system roots through GraphQL and MCP.
  • Smart discovery before action - Agents start with query_catalog(search: ""), graphql_help, relationship evidence, examples, config recipes, and safety notes before writing or running queries.
  • Guarded action, not raw access - Source-mode access, query allow-lists, read-only boundaries, policy-aware MCP tools, local encrypted secrets, and gj_config preview/apply keep changes auditable.
GitHub で README 全文を見る

インストール

docker run -d -p 8090:8090 --tmpfs /tmp:size=1g dosco/graphjin:env-latest
MCP 初心者?mcpskill.org のガイドから始めましょう →