Use cases
Four things teams build on a database for AI.
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
- Store turns, facts and decisions as records, scoped by user, agent or session with ordinary fields.
- Link each fact to the message it came from, so recall can return its source.
- Recall with hybrid search under a filter, then follow links for context.
- The agent reads the catalog first, so it queries labels and fields that exist.
Tutorials
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
- Ingest each source as it comes: docs, webhooks, exports, events. No shared schema up front.
- Link records across sources on matching keys (email, account ID) with one command.
- Filter to the right version, product or account first, then rank by vector and BM25 together.
- The catalog shows what each source contributed, so an agent can plan a cross-source query.
- Every fact in the answer cites the record it came from.
Tutorials
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
- Search the records your app writes. Text and vector indexes live in the database and stay current, so there is no external index to sync.
- Facet counts come from the catalog scoped to the current filter, and they are exact.
- Hybrid search ranks results under the same filter the facets use.
- The SDKs, the MCP server and SQL clients all read the same data.
Tutorials
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
- The agent reads labels, fields, types and value counts before writing a query.
- It writes SQL, Cypher or a SearchQuery aggregation against fields that exist.
- Read-only credentials keep it to SELECTs; every answer shows its query.
- BI tools connect over the PostgreSQL wire protocol for the same numbers.
Tutorials
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?| Workload | Better fit |
|---|---|
| Pure transactional workloads (ledgers, inventory) | PostgreSQL, CockroachDB |
| Time series at very high write rates | InfluxDB, TimescaleDB |
| Blob and file storage | S3 plus a metadata index |
| Flat, stable CRUD with no search | Any relational database |
| Warehouse analytics over hundreds of millions of rows | BigQuery, Redshift, DuckDB |