In Cognee
Your agent recalls by meaning and relationships — a knowledge graph fused with vector similarity.
Comparison
Pick Cognee if your agent recalls by reasoning over a knowledge graph — entities and relationships fused with vector similarity for context-rich semantic recall. Pick nlqdb if your agent must aggregate what it stored: GROUP BY, JOIN, and HAVING over typed rows it provisions in plain English. Cognee connects and recalls the relevant; nlqdb counts, groups, and reports.
The same goal, two ways.
> calls per tool category this week, only categories above 20 calls
In Cognee
Your agent recalls by meaning and relationships — a knowledge graph fused with vector similarity.
In your HTML
<nlq-data goal="calls per tool category this week, only categories above 20 calls"></nlq-data> The HAVING-filtered aggregation Cognee's knowledge-graph search can't run — it recalls relevant, connected context, not a GROUP BY / COUNT with a threshold; nlqdb answers it as SQL over the agent's own memory.
What's different
| Dimension | nlqdb | Cognee | Note |
|---|---|---|---|
| Owns the database (provisions + migrates) | |||
| Natural-language → SQL | Cognee's `search()` runs hybrid vector + graph-traversal recall over a knowledge graph; it has no English-to-SQL compiler. | ||
| Aggregations + reporting queries (GROUP BY / JOIN / HAVING over memory) | Cognee returns relevant, graph-connected context; it ships no SQL engine for GROUP BY / JOIN / HAVING over typed rows. | ||
| Knowledge-graph construction from unstructured data | Cognee's `cognify()` builds entities + relationships + an ontology from ingested documents; nlqdb stores typed relational rows, not a graph. |
| Dimension | nlqdb | Cognee | Note |
|---|---|---|---|
| Hybrid semantic + graph-traversal recall over memory | Vector similarity fused with graph relationships (14 search modes) is Cognee's core; nlqdb stores typed rows and ships no embedding or graph recall today. | ||
| Auto-migration via NL ('add a `priority` field') | nlqdb migrates the schema from English with a diff-preview; Cognee's graph evolves as data is re-cognified, but there's no typed-column migration step. | ||
| MCP server (agent-callable) | Cognee's `cognee-mcp` exposes cognify / search over the knowledge graph; nlqdb's `nlqdb_query` materialises Postgres on first reference and runs aggregating SQL. | ||
| Runs with no backend to host (embeddable element / hosted API) | Cognee is a Python package you host and wire to LLM keys plus graph and vector backends; nlqdb is one `<nlq-data>` element or a hosted agent-callable API. | ||
| Open source / self-hostable | Cognee is Apache-2.0 and self-hosts full-featured; nlqdb is source-available on FSL 1.1, auto-converting to Apache 2.0 two years after each release. |
shipped · partial · not shipped
No sign-in. The anonymous database lasts 72 hours; adopt it with one click if you keep it.
Start with a goal →The error has been recorded. Reload to recover; if it persists, sign out and back in.