Skip to main content
This guide walks you through the full HydraDB loop end-to-end - create a workspace, ingest some content, wait for indexing, and run a query - using the API. By the end you’ll have a working personalized-RAG flow that you can plug into your own LLM prompt. If you’re new to HydraDB, the Core Concepts page is a useful 5-minute primer first. If you want the architecture-level story, see Architecture.

Install and initialize


Fast path: create, ingest, query

Create a database, add one memory to the default collection, wait for indexing, then query it.

What you have built

You have built the full retrieval loop: create an isolated workspace, ingest context, wait for indexing, query it, and pass the returned context to an LLM. HydraDB handles parsing, chunking, embedding, graph construction, and hybrid retrieval; your application sends the query and gets back the right slice of context. Steps 1 and 3 are asynchronous(runs in background) - HydraDB provisions infrastructure and indexes your content in the background, so each one needs a short polling loop. Steps 2, 4, and 5 run in real time. The same loop scales as your corpus grows; nothing in the code changes between 10 documents and 10,000.

You’re done

That’s the full HydraDB v2 loop: create a database, ingest knowledge and memories, verify processing, query, and feed the result to an LLM. Everything else in HydraDB - metadata filters, collections, graph traversal, forceful relations - layers on top of this foundation.

Where to go next

Stuck? Reach out at [email protected].