Graphiti GuideSAFE
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Overview
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
e1ba289846fdOBSERVED · 2026-10-08Install
Commands as the repository documents them. They are shown, not run.
pip install graphiti-core
Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| openclaw | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
---
name: graphiti-guide
description: "Build real-time knowledge graphs for AI agents using Graphiti by Zep"
metadata:
openclaw:
emoji: "🕸"
category: "tools"
subcategory: "knowledge-graph"
keywords: ["knowledge-graph", "ai-agents", "temporal-graphs", "neo4j", "memory", "entity-extraction"]
source: "https://github.com/getzep/graphiti"
---
# Graphiti Guide
## Overview
Graphiti is an open-source framework for building and querying dynamic, temporally-aware knowledge graphs designed specifically for AI agent applications. Developed by Zep, Graphiti enables agents to maintain persistent, structured memory that evolves over time, capturing entities, relationships, and facts extracted from conversational and documentary sources.
Traditional knowledge graphs are static structures that require manual curation and batch updates. Graphiti takes a fundamentally different approach: it incrementally builds and updates the graph in real-time as new information arrives, resolving contradictions, merging duplicate entities, and maintaining temporal metadata that tracks when facts were established and whether they remain current.
For academic researchers, Graphiti offers a powerful framework for constructing domain-specific knowledge graphs from research literature, experimental observations, and collaborative discussions. With over 23,000 GitHub stars, the project has gained significant traction in both the AI engineering and research communities as a practical bridge between unstructured text and structured, queryable knowledge.
## Installation and Setup
Install Graphiti via pip:
```bash
pip install graphiti-core
```
Graphiti requires a Neo4j database for graph storage. Set up Neo4j using Docker:
```bash
docker run -d \
--name neo4j-graphiti \
-p 7474:7474 -p 7687:7687 \
-e NEO4J_AUTH=neo4j/your-password \
-e NEO4J_PLUGINS='["apoc"]' \
neo4j:5
```
Configure environment variables for your LLM provider and Neo4j connection:
```bash
export NEO4J_URI=bolt://localhost:7687
export NEO4J_USER=neo4j
export NEO4J_PASSWORD=$NEO4J_PASSWORD
export OPENAI_API_KEY=$OPENAI_API_KEY
```
Initialize Graphiti in your Python project:
```python
from graphiti_core import Graphiti
graphiti = Graphiti(
neo4j_uri="bolt://localhost:7687",
neo4j_user="neo4j",
neo4j_password=$NEO4J_PASSWORD,
)
# Build indices for efficient querying
await graphiti.build_indices()
```
## Core Features
**Incremental Graph Construction**: Add episodes of information that are automatically parsed into entities and relationships:
```python
from graphiti_core.nodes import EpisodeType
from datetime import datetime
# Add a research observation
await graphiti.add_episode(
name="experiment_log_2026_03_10",
episode_body="""
The CRISPR-Cas9 experiment targeting gene BRCA1 in HeLa cells
showed 87% knockout efficiency. The guide RNA sequence gRNA-42
was designed using the Benchling platform. Dr. Chen supervised
the experiment, which used the protocol established in our
2025 Nature Methods paper.
""",
source=EpisodeType.text,
source_description="Lab notebook entry",
reference_time=datetime(2026, 3, 10),
)
```
Graphiti automatically extracts entities (BRCA1, HeLa cells, Dr. Chen, gRNA-42, Benchling), establishes relationships (gRNA-42 targets BRCA1, Dr. Chen supervised the experiment), and records temporal metadata.
**Temporal Awareness**: Knowledge graphs built with Graphiti track when facts were established and can reason about changes over time:
```python
# Add an update that modifies a previous fact
await graphiti.add_episode(
name="experiment_update",
episode_body="""
After reanalysis, the CRISPR knockout efficiency for BRCA1
in HeLa cells was revised to 82% due to off-target effects
detected in the secondary sequencing run.
""",
source=EpisodeType.text,
source_description="Updated analysis",
reference_time=datetime(2026, 3, 12),
)
```
The graph updates the efficiency value while maintaining the historical record, enabling queries about both current and historical states of knowledge.
**Semantic Search**: Query the knowledge graph using natural language:
```python
# Search for relevant entities and facts
results = await graphiti.search(
query="What is the knockout efficiency for BRCA1?",
num_results=5,
)
for result in results:
print(f"Fact: {result.fact}")
print(f"Source: {result.source_description}")
print(f"Valid from: {result.valid_at}")
print(f"Confidence: {result.score}")
print("---")
```
**Entity Resolution**: Graphiti handles duplicate and variant entity references automatically. References to "CRISPR-Cas9", "CRISPR", and "Cas9 system" are resolved to the appropriate entities based on context, reducing manual curation overhead.
## Research Workflow Integration
**Literature Knowledge Base**: Build a continuously growing knowledge graph from your reading notes and paper summaries:
```python
# Process a batch of paper summaries
papers = [
{
"title": "Attention Is All You Need",
"summary": "Vaswani et al. introduced the Transformer architecture...",
"date": datetime(2017, 6, 12),
},
{
"title": "BERT: Pre-training of Deep Bidirectional Transformers",
"summary": "Devlin et al. proposed BERT, a masked language model...",
"date": datetime(2018, 10, 11),
},
]
for paper in papers:
await graphiti.add_episode(
name=paper["title"],
episode_body=paper["summary"],
source=EpisodeType.text,
source_description=f"Paper summary: {paper['title']}",
reference_time=paper["date"],
)
```
Then query across your entire reading history to find connections, trace the evolution of ideas, and identify foundational works.
**Experimental Knowledge Management**: Track the relationships between experiments, reagents, instruments, protocols, and personnel. This creates an institutional memory thaTrust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
e1ba289846fdfull audit observations/trust-audit/skill/brycewang-stanford__graphiti-guide.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | e1ba289846fd | SAFE | B | 89 | first audit |
Questions
What does the Graphiti Guide skill do?
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Is Graphiti Guide safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Graphiti Guide access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Graphiti Guide work with?
Its documentation mentions openclaw. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (e1ba289846fd), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.