graphiti
Routes Graphiti SDK, REST service, and MCP server workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- graphiti
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Routes Graphiti SDK, REST service, and MCP server workflows.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/installation-and-backends.md4.9 KB
- 参考文档references/repo-provenance.md2.6 KB
- 参考文档references/repo-routing-metadata.json486 B
- 参考文档references/troubleshooting.md4.6 KB
- 参考文档references/workflows.md3.4 KB
- 脚本scripts/check_graphiti_install.py1.9 KB
03 SKILL.md 正文
Graphiti
Graphiti builds temporal context graphs for AI agents. Use this skill when the task mentions the Graphiti Python SDK, graph ingestion/search, custom node or edge types, Neo4j or FalkorDB backends, the REST service, or the MCP server.
Start here
- Read
references/installation-and-backends.mdfor the public install commands, required environment variables, backend choices, and the first import check. - Read
references/workflows.mdwhen you need the shortest route to a working ingest/search, REST, or MCP flow. - Read
references/troubleshooting.mdwhen Graphiti fails to import, a backend is missing, a provider is misconfigured, or a workflow returns validation errors. - Run
scripts/check_graphiti_install.pyif you need a quick, local verification of the installed package surface before doing anything more specific.
Route to the right sub-skill
sub-skills/core-sdk/
Use this for the Python library itself: Graphiti, drivers, ingest, search,
triplets, custom types, provider configuration, and quickstart-style workflows.
Read this sub-skill when the task mentions:
graphiti_core,Graphiti,Neo4jDriver,FalkorDriver, orOpenAIGenericClient- episode ingestion,
add_episode,add_episode_bulk,search,search_,retrieve_episodes,build_communities,summarize_saga, oradd_triplet - custom entity or edge types,
edge_type_map,excluded_entity_types,previous_episode_uuids, orcustom_extraction_instructions - search recipes such as
NODE_HYBRID_SEARCH_RRForEDGE_HYBRID_SEARCH_CROSS_ENCODER - tracing, telemetry, structured output, or provider selection for the SDK
sub-skills/rest-service/
Use this for the FastAPI REST service in server/: routes, request/response
schemas, queue behavior, health checks, Docker deployment, and service-side
backend configuration.
Read this sub-skill when the task mentions:
/messages,/search,/entity-node,/entity-edge,/episodes,/get-memory,/clear, or/healthcheckgraph_service.main,ZepGraphiti,Settings,DB_BACKEND, or the service queuegraph-service,uvicorn, Docker Compose, or live REST integration behavior
sub-skills/mcp-server/
Use this for the MCP server in mcp_server/: tool catalog, transports, config
schema, queueing, custom entity and edge types, and Docker deployment.
Read this sub-skill when the task mentions:
graphiti_mcp_server,main.py,--transport,stdio,http, orsseadd_memory,search_nodes,search_memory_facts,get_episodes,summarize_saga,build_communities,add_triplet,get_episode_entities,clear_graph, orget_statusconfig.yaml,GraphitiConfig,QueueService, or MCP client integration- the combined FalkorDB container or Neo4j-backed MCP deployment
Common expectations
- Graphiti defaults to OpenAI for language-model work, so
OPENAI_API_KEYis usually required unless a task explicitly swaps in another client. - Neo4j and FalkorDB are the main supported graph backends in this repo. Neo4j is the default core backend; FalkorDB is the key alternative and the MCP default.
GRAPHITI_TELEMETRY_ENABLED=falsekeeps the runtime quiet during local checks.- Kuzu is deprecated and Neptune is a documented but non-default path.
What this skill does not do
- It does not rewrite the source repository's code or tests.
- It does not depend on the original checkout at runtime; bundled references and scripts carry the practical guidance.
- It does not replace the sub-skills when a workflow is clearly about the SDK, REST service, or MCP server.
Provenance and routing metadata
references/repo-provenance.mdreferences/repo-routing-metadata.json
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).