AI developer platforms as traversable knowledge graphs — LangChain, LangGraph, OpenAI, Anthropic, HuggingFace, AWS Bedrock, Vertex AI — MCP-native
Project description
ckg-ai-platforms
AI developer platforms as traversable knowledge graphs — MCP-native.
7 domains · 314 nodes · 445 edges · 11× fewer tokens than RAG
| Domain | Nodes | Edges | Coverage |
|---|---|---|---|
| langchain | 48 | 71 | Chains, agents, LCEL, memory, retrievers, LangSmith |
| langgraph | 42 | 58 | Graph state, nodes, edges, cycles, persistence |
| openai-api | 43 | 59 | Chat completions, assistants, embeddings, DALL-E |
| anthropic-sdk | 44 | 62 | Messages API, tool use, prompt caching, computer use |
| huggingface | 46 | 65 | Hub, Transformers, Spaces, Datasets, Inference API |
| aws-bedrock | 46 | 67 | Converse API, Guardrails, Knowledge Bases, agents |
| vertex-ai | 45 | 63 | Model Garden, Gemini API, evaluation, fine-tuning |
Install
pip install ckg-ai-platforms
uvx ckg-ai-platforms # MCP server
Use as MCP server
Add to your Claude Desktop or any MCP client:
{
"mcpServers": {
"ai-platforms": {
"command": "uvx",
"args": ["ckg-ai-platforms"]
}
}
}
Use as Python library
from ckg_ai_platforms import ask_platform, list_domains
# Ask a question — auto-detects platform
result = ask_platform("How does LCEL RunnableSequence work?")
print(result)
# Explicit domain
result = ask_platform("explain tool use", domain="anthropic-sdk")
Source provenance — verifiable to the byte
Every node carries a source_url and a source_hash (SHA-256 of the source document's bytes at extraction time).
curl -s https://python.langchain.com/docs/introduction/ | sha256sum
# expected: 75a86f60f9aa30d3f7f3e407827c17b9df90f17370237bc8a3c80b5c98b33ff5
Via MCP — verify_source("LCEL", "langchain"):
source_url: https://python.langchain.com/docs/introduction/
source_hash: sha256:75a86f60f9aa30d3f7f3e407827c17b9df90f17370237bc8a3c80b5c98b33ff5
verify: curl -s '<url>' | sha256sum
Reference implementation of knowledge_source_ref + source_content_hash from GuardrailDecisionV1.
Benchmark
| System | Macro F1 | Mean tokens | Cost / 1k queries |
|---|---|---|---|
| CKG | 0.471 | 269 | $7.81 |
| RAG | 0.123 | 2,982 | $76.23 |
| GraphRAG | 0.120 | ~3,000 | ~$76 |
Licensing
| Layer | License | Plain English |
|---|---|---|
Server code — server.py, graph.py, scripts/ |
MIT (LICENSE-CODE) | Do anything. Fork it, embed it, sell products built on it. |
Graph data — domains/*.csv + source hashes |
Elastic License 2.0 (LICENSE) | Free for all internal and commercial use. Cannot offer this graph as a competing hosted service. |
| Extraction pipeline | Proprietary — Graphify.md | Not in this repo. |
EVAL
benchmark: ckg-benchmark v0.6.2
dataset: huggingface.co/datasets/danyarm/ckg-benchmark
benchmarked: false
rag_baseline_f1: 0.123
graphrag_baseline_f1: 0.120
mean_tokens: 269
paper: github.com/Yarmoluk/ckg-benchmark/blob/main/paper/main.pdf
Built by Graphify.md · 97 domains · PyPI · patent pending
Community-built. Not affiliated with LangChain, OpenAI, Anthropic, HuggingFace, AWS, or Google. All referenced trademarks belong to their respective owners.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ckg_ai_platforms-0.2.2-py3-none-any.whl.
File metadata
- Download URL: ckg_ai_platforms-0.2.2-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4b0a5916757e5f03c5c8da901d323859409a52c46569d201fe3dd7fcca18454
|
|
| MD5 |
fcc1da06380e5229f45806a3eb9f4d0e
|
|
| BLAKE2b-256 |
2ab70e35bee9e8453791a9fbe5bc1befcee3a435c9e35bf91dd4bd20f6bb7284
|