dbx
Query databases from AI agents using connections configured in DBX.
T8t8y2/dbx32k近 7 天新增 726 个 star
Source-tiered retraction and citation judgments for DOIs; abstains when evidence is thin.
Attribution is stored at write time, not asserted at read time.
graphrag-ts is a GraphRAG engine in TypeScript. It builds the knowledge graph in PostgreSQL,
keeps source evidence on every node and edge, and answers with retrievable citations — or returns
an explicit abstention when the coverage behind an answer is too thin to support it.
Benchmarks / 基准报告 English report · 中文报告
Hosted endpoint / 托管端点
https://mcp.ashesborn.cloud/mcp(anonymous tier: freeintegrity_paper_status, the two judgments answer with an x402 payment requirement; a keyed session unlocks them) · free DOI status:https://pay.ashesborn.cloud/api/v1/judge/paper?doi=· x402 wire format
No install, no API key, no model endpoint. Two ways in:
curl -s 'https://pay.ashesborn.cloud/api/v1/judge/paper?doi=10.1016/S0140-6736(97)11096-0'
The response is the paper plus every retraction record behind it, each with its source_tier and
source_uri — the evidence the graph stores, not a model's recollection of it.
Point any Streamable HTTP MCP client at the hosted endpoint (public read tier, 20 requests/minute per IP):
{
"mcpServers": {
"graphrag-ts": { "url": "https://mcp.ashesborn.cloud/mcp" }
}
}
A bearer API key unlocks the full tool set (graph queries, index jobs, memory writes). The two judgment tools also answer per call without a key via x402 payment ($0.02 / $0.10).
| Tool | Access | What it does |
|---|---|---|
query_graph | keyed | Local hybrid retrieval against the latest published snapshot in a workspace |
query_graph_global | keyed | Corpus-wide Map-Reduce retrieval over community summaries |
submit_index_job | keyed | Queue Markdown from the configured input directory for indexing |
remember_text | keyed | Queue user-provided text explicitly; never reads chat history |
get_index_job | keyed | Status and safe error summary for an index job |
integrity_paper_status | public | Retraction status and identity for a paper |
retraction_propagation | public / x402 | Judge whether retraction evidence propagates to a paper |
integrity_evidence_audit | public / x402 | Audit the evidence path, source tiers and conflicts for a paper |
The Compose stack starts PostgreSQL/pgvector and the MCP service. You must provide reachable chat and embedding endpoints; see the MCP guide for configuration, client setup, and workspace behavior.
cp .env.example .env
# Configure the database password and model endpoints in .env.
docker compose up -d --build
curl http://127.0.0.1:3000/healthz
Connect an MCP client to http://127.0.0.1:3000/mcp. For the optional local browser showcase,
configure the models and run docker compose --profile showcase up -d --build --wait, then open
http://127.0.0.1:8080. The showcase is a local demo, not an authentication layer; do not expose
it to untrusted users.
bun add @ashes_born/graph-rag-ts
The package ships TypeScript sources consumed directly by Bun and requires Bun >= 1.1. It is not importable from plain Node without a TypeScript loader. It expects PostgreSQL with pgvector and RAG_* model settings configured as in the self-hosted path below. Published package: https://www.npmjs.com/package/@ashes_born/graph-rag-ts.
pnpm install
pnpm run db:generate
cp .env.example .env
# Configure DATABASE_URL and RAG_* model settings; see the guides below.
pnpm run db:push
bun run examples/demo.ts
The library requires Bun, PostgreSQL with pgvector, and compatible chat and embedding endpoints. See the English guide or 中文指南 for environment setup, API examples, adapters, and tuning.
See the architecture guide for the pipeline and module details.
The reported in-corpus run reached 10/12 strict hits and 95.8% combined lexical recall on 12 questions from five indexed chapters. This is a small project benchmark, not human semantic grading or a cross-project comparison. The reports include methodology, per-query results, and limitations.
The English and Chinese reports are linked at the top of this page.
To run the three-question Docker smoke benchmark, use pnpm benchmark:docker:quick with the model
endpoints configured and loaded. See the MCP guide for prerequisites
and the report for benchmark scope.
io.github.sadofriod/graphrag-tsContributions are welcome through issues and pull requests. The project is organized around small, testable modules, so the most useful changes usually fit into one of these areas:
MIT
Query databases from AI agents using connections configured in DBX.
T8t8y2/dbx32k近 7 天新增 726 个 star
Run Windmill scripts and flows and manage jobs, schedules, resources and variables.
WIwindmill-labs/windmill19k近 7 天新增 82 个 star
MCP Toolbox for Databases enables your agent to connect to your database.
GOgoogleapis/mcp-toolbox17k近 7 天新增 77 个 star
Open-source, self-hosted alerting for metrics, logs, and databases. Includes a built-in AI agent and MCP server.
CCccfos/nightingale14k近 7 天新增 10 个 star
Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.
KUkubeshark/kubeshark12k近 7 天新增 5 个 star
Let your users work with their own data through an AI assistant, limited to what they can see.
NHnhost/nhost9.4k近 7 天新增 1 个 star