GraphJin: One Governed Graph for AI Agents
A governed graph that gives AI agents secure access to databases, files, code, and APIs via GraphQL and MCP.
- Source repo
- dosco/deeporg
- Stars
- ★ 3.3k
- Last updated
- today v3.28.4
- FARS reviewed
- Nov 08, 2026 +33 new
- License
- Apache-2.0
- Primary language
- Go
- FA score
- 73/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- Developers can instantly create a GraphQL API over existing databases without writing resolvers, using GraphJin as a standalone service or Go library.
- Not a fit if
- Teams that want a hosted cloud service instead of running their own server
- Small projects that don't want database and config setup overhead
- Website
- deeporg.io ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v3.28.4 (2026-12-01)+2.4 ★/day over 7 days
- Source review
- 73/100 · Some gaps
What does this agent do, and when should you use it?
GraphJin is a compiler and runtime that unifies a company's existing systems—databases, warehouses, files, source code, workflows, metadata, and security policy—into a single governed graph, exposed through GraphQL and MCP for AI agents. Agents discover before acting, validate queries, execute approved operations, and observe runtime status, with every answer checked against an execution ledger. It also serves as a high-performance GraphQL-to-database compiler, Go library, standalone API service, REST/OpenAPI gateway, and real-time subscription server. It supports a wide range of databases (PostgreSQL, MySQL, MongoDB, SQLite, Oracle, MSSQL, Snowflake, Redshift, BigQuery, Cassandra, etc.), file systems, and code indexing. A built-in server-side agent accepts an instruction and returns typed, evidence-backed answers.
GraphJin automatically reads database schemas, discovers relationships from foreign keys, exposes built-in gj_* system tables (e.g., gj_catalog, gj_code, gj_security, gj_runtime), and compiles GraphQL queries into optimized SQL. It guides AI agents via MCP tools like query_catalog, graphql_help, and validate_where_clause to discover before acting, and restricts operations through query allow-lists, read-only boundaries, and policy-aware tools. It also indexes source code with CodeSQL, managing syntax trees and database references in a SQLite database. The built-in server-side agent processes instructions via POST /api/v1/agent, returning structured answers. It supports real-time subscriptions, filesystem tables (local, S3, GCS), file uploads, and Apollo Federation v2.
- Developers can instantly create a GraphQL API over existing databases without writing resolvers, using GraphJin as a standalone service or Go library.
- AI coding assistants like Claude Code or Codex connect via MCP to safely query and mutate production databases with governance.
- Data analysts use natural language through the server-side agent to generate queries and receive evidence-backed results.
- Operations teams enforce query allow-lists and read-only modes to control AI write access to production systems.
- Development teams use CodeSQL to index source code and let agents answer questions like which handlers touch customer invoices.
How do you install or deploy this agent?
Install GraphJin via npm (npm install -g graphjin), Homebrew (brew install dosco/graphjin/graphjin), Scoop on Windows, .deb/.rpm packages for Linux, or Docker (docker pull dosco/graphjin). Then create a new app with graphjin serve new my-app and start it with graphjin serve --path ./my-app.
How do you use this agent?
After starting the service, add GraphJin to an AI client: for Claude Code, run graphjin mcp add claude http://localhost:8080; for Codex, run codex mcp add graphjin --url http://localhost:8080/api/v1/mcp. Then ask natural language questions like 'What tables are in the database?' and the client will use MCP tools to respond. Alternatively, call the GraphQL endpoint (POST /api/v1/graphql) directly or the server-side agent (POST /api/v1/agent).
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- data-flow disclosure
What are this agent's strengths and limitations?
- Unified governance: one graph over multiple systems, so agents don't need raw credentials and risk is reduced.
- High-performance query compilation: compiles GraphQL to a single optimized SQL, avoiding N+1 problems.
- Rich security mechanisms: query allow-lists, read-only boundaries, row-level security, policy-aware MCP tools, and execution ledger for auditability.
- Built-in server-side agent: one instruction returns evidence-backed answers, simplifying integration.
- Wide database and data source support: includes major relational, NoSQL, warehouses, and file systems.
- May be overkill for small projects: configuration and learning curve suited for enterprise scenarios.
- Some databases (Redshift, BigQuery) have experimental or incomplete support.
- Subscription support depends on database dialect; some (Cassandra) only support polling.
- Server-side agent requires a model API key and works best with code-generation-capable models.
- Migration from legacy database mode to source mode requires configuration changes and a learning curve.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| GraphJin: One Governed Graph for AI Agents This agent | 73 · Some gaps | CLIFree + model costs | ★ 3.3k | today | Go | Codex · Claude Code |
| AI Agents — The Definitive Guide (Companion Code) | 34 · Major gaps | Library / SDKFree + model costs | ★ 3.1k | 4mo ago | Jupyter Notebook | — |
| OrchestKit AI Development Toolkit | 70 · Some gaps | Agent plugin / skillFree + model costs | ★ 313 | today | TypeScript | Claude Code |
| Skillshare Sync Manager | 69 · Some gaps | CLIFree | ★ 3.5k | today | Go | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
SECURITY.md describes source-mode JWT identity, role and row filters, default-deny OpenAPI writes, immutable read-only vetoes, and no automatic retries; the README says calls use the caller's permissions. Credentials are directed to environment variables, the CLI config is mode 0600, and displayed tokens are redacted. Scores stop at 2 because dev mode is explicitly unauthenticated and open, while agentic mode permits `none` behind a trusted boundary; safety depends on correct operator configuration. External effects and recovery have some constraints, but the packet does not establish recovery for all writes. Repository attribution and a security contact are present, but publisher identity is unverified.
The README claims execution-ledger checks for answers and lists many capabilities, but the supplied source does not include enough implementation to verify those guarantees; it also states that Federation `_entities` is not implemented. Score 1 reflects limited evidence connecting product claims to implementation. Multiple database, CLI, and Docker installation paths are documented, but a complete dependency security record is absent. Startup fail-closed behavior, meaningful errors, and external mutation failure classifications are described, though mostly as documentation claims.
The packet covers database, repository-code, file, workflow, MCP, and server-side agent scenarios, with separate local, hosted, development, and training-environment guidance. SECURITY.md defines dev/prod/agentic boundaries, role authorization, and write gates, and the skills distinguish different workflow goals. Deductions reflect broad trigger descriptions that leave users to decide when the agent fits and how to configure many optional systems; operators must understand the different environment security postures.
The README organizes installation, client connection, configuration, and features, with platform install steps, route descriptions, and concrete examples; LICENSE is Apache-2.0. SECURITY.md identifies supported versions, but only as `latest`; package metadata and automated release workflow provide some version signals. Deductions reflect no full changelog or explicit support commitment in the packet and a dense README. AGENTS.md is contributor guidance by its content, not product instructions. Repository attribution, issue routing, and a security contact exist, but unverified publisher identity does not establish enterprise maintenance responsibility.
A shared GraphQL/MCP surface, discovery catalog, permission-aware queries, and typed evidence-backed answers can reduce tool switching and blind query construction across systems. Examples show queries, uploads, watches, integrations, and evaluation use. Cost-benefit scores 2 because deployment, identity, data-source configuration, and optional model calls add operational work and potential expense, with no quantified benefit or cost in the packet.
README usage claims are traceable to routes, configuration snippets, and examples; SECURITY.md gives more specific policy boundaries, and the license is present in full. Deductions reflect that many central security and agent-effectiveness claims remain product assertions in this packet, with too little main implementation source to corroborate them; CI files show build and test commands, but this review did not run them. Evaluation materials distinguish data fields and their sources, while some product prose blends capability claims with design intent without consistently marking inference.
- Before production use, configure agentic mode, verified identity, least-privilege roles, and read-only boundaries as described in SECURITY.md. Dev mode is unauthenticated and open, so it should not be exposed to untrusted networks.
- The agent can perform writes, and OpenAPI mutations can affect upstream systems; restrict sources and roles and establish recovery procedures before enabling them.
- The packet contains many capability and security claims but too little main implementation code to verify them in this static review; this assessment does not represent execution or independent testing.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Changelog * d2979f9713e2ca8feaa778fddfa8bdee5e8d54fb chore: bump version to v3.28.4 [skip-release] [skip ci] * c436f63b6edff2019222da884ec60410abd8ac7e fix(demo): the saas-ops demo serves the account-health API its config listsView on GitHub ↗ -
Release notes excerpt
Changelog * 2a8827ecb7c06adcd9d32ab956e14e20e1217a72 chore: bump version to v3.28.3 [skip-release] [skip ci] * d4c5fd3e5593559a425fe580b565a7ff493a2717 chore: upgrade Ax Go dependency to 25.4.17View on GitHub ↗ -
Release notes excerpt
Changelog * 66574bbc9e8cc0762ff6afa1b2fda59047ecba49 chore: bump version to v3.28.2 [skip-release] [skip ci] * 8e26756f735db622ca1b8aa32f7fb2e815df6d18 chore: upgrade Ax Go dependency to 25.4.16View on GitHub ↗
FAQ
What advantages does GraphJin offer over direct database drivers?
How do I ensure AI agents don't perform dangerous operations?
Which databases does GraphJin support?
Is GraphJin open source? What's the license?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.