← 返回
开发者工具

Graphiti

Knowledge graph operations via Graphiti API. Search facts, add episodes, and extract entities/relationships.
通过Graphiti API进行知识图谱操作。搜索事实、添加片段,并提取实体/关系。
emasoudy
开发者工具 clawhub v1.0.1 1 版本 99675.1 Key: 无需
★ 2
Stars
📥 3,028
下载
💾 127
安装
1
版本
#latest

概述

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\"}'
"

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-28 12:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,837
ai-intelligence

Screen Monitor

emasoudy
双模式屏幕共享与分析。支持多种模型(Gemini/Claude/Qwen3-VL)。
★ 4 📥 6,382
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,726