微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🕸️

AI 原生动态知识图谱引擎

Graphiti · v1.0.1
knowledge-graph 安全 B 级 榜单 #1 作者 emasoudy 公开目录收录
2.7k 下载 2 安装 9.8k 收藏 11 浏览

简介

基于 Graphiti 的动态知识图谱搜索与管理工具,支持事实检索、记忆添加和实体关系提取,需配合 Neo4j 和 Qdrant 使用。

原始描述

Knowledge graph operations via Graphiti API. Search facts, add episodes, and extract entities/relationships.

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/graphiti/
其它 Agent解压到它自己的 skills 目录,目录名用 graphiti

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: graphiti description: Knowledge graph operations via Graphiti API. Search facts, add episodes, and extract entities/relationships. homepage: https://github.com/getzep/graphiti metadata: {"clawdbot":{"emoji":"🕸️","requires":{"services":["neo4j","qdrant","graphiti"]},"install":[{"id":"docker","kind":"docker-compose","label":"Install Graphiti stack (Docker)"}]}}

Graphiti Knowledge Graph

Query and manage your knowledge graph using Graphiti's REST API with dynamic service discovery.

Prerequisites

  • Neo4j database (graph storage)
  • Qdrant (vector search)
  • Graphiti service running (default: http://localhost:8001)

Tools

graphiti_search

Search the knowledge graph for relevant facts.

Usage:

bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/facts/search\" \
  -H 'Content-Type: application/json' \
  -d '{\"query\": \"YOUR_QUERY\", \"max_facts\": 10}' | jq .
"

graphiti_add

Add a new episode/memory to the knowledge graph.

Usage:

bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/messages\" \
  -H 'Content-Type: application/json' \
  -d '{\"name\": \"EPISODE_NAME\", \"content\": \"EPISODE_CONTENT\"}' | jq .
"

Dynamic Configuration

The skill uses environment discovery to find Graphiti automatically:

  1. Clawdbot config: clawdbot config get skills.graphiti.baseUrl
  2. Environment variable: $GRAPHITI_URL
  3. Default fallback: http://localhost:8001

To change the Graphiti URL:

export GRAPHITI_URL="http://10.0.0.10:8001"
# OR
clawdbot config set skills.graphiti.baseUrl "http://10.0.0.10:8001"

Examples

Search for information:

bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/facts/search\" \
  -H 'Content-Type: application/json' \
  -d '{\"query\": \"Tell me about Essam Masoudy\", \"max_facts\": 5}'
"

Add a memory:

bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/messages\" \
  -H 'Content-Type: application/json' \
  -d '{\"name\": \"Project Update\", \"content\": \"Completed Phase 1 of Clawdbot integration\"}'
"

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

knowledge-graphneo4jsemantic-searchllm-memoryentity-extractionzepvector-databaseself-hosted

同类 Skill