Use cases

Four things teams build on a database for AI.

Each one is the same engine used a different way: records and links written as data arrives, a catalog an agent can read before it queries, and search, traversal and aggregation in one request. Every demo below runs on example data.
01 · Agent memory

Agents that remember, and can show where a memory came from.

An agent that forgets between sessions repeats questions; one that remembers in an opaque store can’t say where a memory came from. Memory needs to be data: scoped, queryable and traceable to the turn that produced it.

How it fits

  1. 1Store turns, facts and decisions as records, scoped by user, agent or session with ordinary fields.
  2. 2Link each fact to the message it came from, so recall can return its source.
  3. 3Recall with hybrid search under a filter, then follow links for context.
  4. 4The agent reads the catalog first, so it queries labels and fields that exist.

Tutorials

02 · Company brain & RAG

Answers that span your docs, CRM, support, billing and code, with the record behind every fact.

The answer to “why did this account churn?” is spread across docs, CRM, support, billing and code. Each source has its own shape and IDs, and vector-only retrieval returns similar text from the wrong version or tenant without showing what surrounds it.

How it fits

  1. 1Ingest each source as it comes: docs, webhooks, exports, events. No shared schema up front.
  2. 2Link records across sources on matching keys (email, account ID) with one command.
  3. 3Filter to the right version, product or account first, then rank by vector and BM25 together.
  4. 4The catalog shows what each source contributed, so an agent can plan a cross-source query.
  5. 5Every fact in the answer cites the record it came from.

Tutorials

03 · AI search & assistants

Search and assistants on the records your app already writes.

Search, filters and an assistant usually mean a second datastore and a sync job. Facet counts drift, and the assistant can’t see what the filters see.

How it fits

  1. 1Search the records your app writes. Text and vector indexes live in the database and stay current, so there is no external index to sync.
  2. 2Facet counts come from the catalog scoped to the current filter, and they are exact.
  3. 3Hybrid search ranks results under the same filter the facets use.
  4. 4The SDKs, the MCP server and SQL clients all read the same data.

Tutorials

04 · Analytics

Questions about your data, answered by a read-only query you can inspect.

Text-to-SQL fails on invented column names and on values that don’t exist. And an answer is only useful if someone can check the query that produced it.

How it fits

  1. 1The agent reads labels, fields, types and value counts before writing a query.
  2. 2It writes SQL, Cypher or a SearchQuery aggregation against fields that exist.
  3. 3Read-only credentials keep it to SELECTs; every answer shows its query.
  4. 4BI tools connect over the PostgreSQL wire protocol for the same numbers.

Tutorials

Is it a fit?

Where RushDB is the wrong tool.

RushDB is built for data that is connected, changes shape and is queried several ways at once. For these workloads, use something else, or keep it next to RushDB.

Is RushDB right for my problem?
Workloads RushDB is not built for
WorkloadBetter fit
Pure transactional workloads (ledgers, inventory)PostgreSQL, CockroachDB
Time series at very high write ratesInfluxDB, TimescaleDB
Blob and file storageS3 plus a metadata index
Flat, stable CRUD with no searchAny relational database
Warehouse analytics over hundreds of millions of rowsBigQuery, Redshift, DuckDB

Give your agents a database they can read.

Free tier · no credit card · pricing

curl -fsSL https://rushdb.com/install.sh | sh

Updated