{
 "schema_version": 1,
 "generated": "2026-11-01",
 "id": "getzep-graphiti--define-custom-entity-types-with-graphiti",
 "repo": "getzep/graphiti",
 "repo_url": "https://github.com/getzep/graphiti",
 "repo_slug": "getzep-graphiti",
 "title": "Shape the graph with your own entity types",
 "page_title": "How to shape the graph with your own entity types with Graphiti",
 "summary": "Declare entity and edge types as Pydantic models so the graph follows your domain, or let structure emerge from the data.",
 "who": "A team modeling customers, products or policies that need a predictable schema.",
 "problem": "Learned structure alone can produce inconsistent entity types across documents.",
 "outcome": "A graph whose nodes and edges use your prescribed types, with room to add learned ones later.",
 "steps": [
  "Install a backend extra, for example `pip install graphiti-core[falkordb]`",
  "Define entity and edge types as Pydantic models (prescribed ontology)",
  "Ingest episodes and compare the result with what learned ontology produces",
  "Disable telemetry if you need to with `export GRAPHITI_TELEMETRY_ENABLED=false`"
 ],
 "agent_prompt": "Using getzep/graphiti, define Pydantic entity types for <my domain>, ingest <sample records> as episodes, and list the entity types that ended up in the graph.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Advanced",
 "time": "2 hours",
 "basis": "readme",
 "caveat": "Graphiti is a framework, not a hosted memory product; you run the database, retrieval and service around it.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.10 or higher; install with `pip install graphiti-core`",
  "A graph database: Neo4j 5.26, FalkorDB 1.1.2, Amazon Neptune, or Kuzu (deprecated)",
  "An OpenAI API key by default, or another provider such as Anthropic, Gemini, Groq or a local Ollama server"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "security",
   "notice": "The reference MCP and REST servers have no authentication or prompt-injection protection; do not expose them to an untrusted network."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/getzep-graphiti/define-custom-entity-types-with-graphiti/",
 "md": "https://dedupedai.com/use-cases/getzep-graphiti/define-custom-entity-types-with-graphiti/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/getzep-graphiti--define-custom-entity-types-with-graphiti.json",
 "api_version": "v1"
}
