TypeGraphTypeGraphTypeGraphDocs
Back to Dashboard
IntroductionGuidesDatabase AdaptersEmbeddersExtraction LLMs
SetupBucketsDocumentsEventsThreadsSearchMemoryGraphJobsPolicyTypes

Guides

Practical, step-by-step guides for building with TypeGraph. Each guide includes code examples for both cloud and self-hosted deployments.

Simple RAG

Set up semantic search with document ingestion and vector-based retrieval - no graph required.

RAGSemantic SearchCloudSelf-hosted8 min

Graph RAG

Build a full graph RAG system with automatic entity extraction and graph-augmented retrieval.

RAGKnowledge GraphCloudSelf-hosted12 min

Agent Memory

Add persistent memory to your AI agents - store, recall, correct, and build prompts from thread history.

MemoryAgentsCloudSelf-hosted10 min

Multi-Tenant Graph RAG

Use tenant boundaries, graph overlays, and bucket write routing to isolate public, internal, and private knowledge.

Multi-tenantIdentityGraphPoliciesCloudSelf-hosted12 min

Self-Hosted Initialization

Configure and initialize TypeGraph in self-hosted mode - database adapters, embeddings, LLMs, and the deploy/init lifecycle.

Self-hostedConfigurationGetting Started15 min

Searching Documents

Master typegraph.search() - resources, weights, context, graph retrieval, prompt building, and result ranking.

SearchWeightsScoringCloudSelf-hosted12 min

Graph Inspection and Querying

Inspect graph entities, facts, traces, traversal behavior, and when to use search graph weighting vs graph.explore() as a probing tool.

GraphSearchDebuggingCloudSelf-hosted18 min

Entity Extraction

Understand TypeGraph document and event entity extraction from ingest-time LLM calls through entity resolution, fact records, and chunk links.

GraphExtractionIngestionCloudSelf-hosted20 min

Context, Access, and External IDs

Learn how context, graph overlays, graph entities, memory subjects, and deterministic external IDs fit together.

ContextAccessExternal IDsGraphMemory14 min

Self-Hosted Mode

Run TypeGraph on your own infrastructure - tables, cloud vs self-hosted differences, batch ingest, and schema management.

Self-hostedInfrastructureOperations14 min

Self-Hosted Multi-Tenant RAG Application

Build a production self-hosted multi-tenant RAG app with schema-per-tenant isolation, SDK factory pattern, and identity scoping.

Multi-tenantSelf-hostedSchema IsolationProduction16 min

Database Permissions

Tightly scope PostgreSQL credentials for TypeGraph with least-privilege roles, schema permissions, and read-only access.

Self-hostedSecurityPostgreSQLPermissions10 min

Observability & Tracing

Instrument your pipeline with telemetry, trace threads end-to-end, monitor search performance, and export events.

ObservabilityTracingTelemetryCloudSelf-hosted14 min