Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Dataherald

github.com

  • Web
  • API
  • Self-hosted
6.2 Club score Visit github.com

What Dataherald is

Dataherald is an open-source natural language-to-SQL engine that exposes an API for asking questions in plain English about relational data. Its documented uses include helping business users query a warehouse, adding data Q&A to SaaS products, and building a ChatGPT plug-in around proprietary data. The project is aimed at developers creating natural-language interfaces for structured data or contributing to the engine. Its quick start describes running the engine locally with Docker and Docker Compose, with MongoDB in a separate container for application data. Listed warehouse connections are PostgreSQL, BigQuery, Databricks, and Snowflake. SQL generation options include LangChain SQL Agent and SQL Chain, LlamaIndex SQL Generator, and Dataherald's own SQL agent. A context store can use scanned tables and columns, business descriptions, and verified question-and-SQL examples to guide generation. An evaluator assigns generated SQL a confidence score, and the modular design lets developers change implementations through .env configuration. Startup requires an OpenAI API key, organization ID, and encryption key. Database connection data is encrypted before being stored in MongoDB using the configured key. The repository also describes an enterprise API layer, admin console, and Slack bot.

Who it suits

Dataherald suits developers building natural-language interfaces over structured data or contributing to an open-source SQL engine. It can also support teams embedding data Q&A in an application, but requires configuration and data context to guide SQL generation.

Good to know, and what to watch

  • API accepts plain-English questions about relational data
  • Connects to PostgreSQL, BigQuery, Databricks, and Snowflake
  • Context store can use verified SQL examples and schema details
  • Offers multiple SQL generation implementations
  • Database connection data is encrypted before Mongo storage
  • Requires an OpenAI API key, organization ID, and encryption key
  • Generated SQL may be inaccurate before business context is added
  • Self-hosted quick start uses Docker and a separate Mongo container

The verdict

Dataherald provides developers with an adaptable path from natural-language questions to SQL, plus context and evaluation components. Plan for required credentials and invest in business and schema context before relying on generated queries.

What the maker publishes

Adaptability
The documentation describes a modular architecture whose implementations can be replaced through configuration in the .env file. source
API
The engine exposes endpoints for database connections and natural-language questions, and the quick start points to a Swagger UI at /docs. source
Components
The repository describes an engine, an enterprise API layer with authentication and organizations, an admin console for configuration and observability, and a Slackbot. source
Context
The context store can use business and database context, including validated question-and-SQL examples and table information, to help generate SQL. source
Context and learning
Users can add database context by scanning tables and columns, providing verified SQL examples, and describing tables and columns; the documentation also describes active learning from usage. source
Credentials
The quick start requires an OpenAI API key, an organization ID, and an encryption key before starting the engine. source
Database integrations
The quick start says the engine supports PostgreSQL, BigQuery, Databricks, and Snowflake connections. source
Database support
The quick start lists PostgreSQL, BigQuery, Databricks, and Snowflake as currently supported warehouse connections. source
Deployment
The quick start describes self-hosting the engine with Docker, with Mongo running in a separate container for application data. source
Deployment components
The repository includes an engine, an enterprise API layer with authentication and organization and user support, an admin console for configuration and observability, and a Slack bot. source
Evaluation
The module overview says an evaluator assigns a confidence score to generated SQL. source
Intended users
The official documentation is intended for developers who want to build natural language interfaces over structured data or contribute to the engine. source
Intended users
The documentation is intended for developers building natural-language interfaces from structured data in their own projects and contributors to the engine. source
License
The GitHub repository identifies the project as licensed under Apache-2.0. source
Notable accuracy consideration
The quick start says generated SQL may be inaccurate until business logic and data context are added to the context store. source
Product
Dataherald is a natural language-to-SQL engine that exposes an API for asking questions about relational data in plain English. source
Requirements
The engine requires an OpenAI API key, an organization ID, and an encryption key in its environment configuration before startup. source
Security
The quick start says database connection data is encrypted before it is stored in Mongo, using the configured ENCRYPT_KEY. source
Security
The quick start says database connection data is encrypted before storage in MongoDB using an ENCRYPT_KEY and recommends changing the default MongoDB username and password. source
Self-hosting
The quick start describes running the engine locally with Docker and Docker Compose, alongside MongoDB for application data. source
SQL generation
Included text-to-SQL implementations are LangChain SQL Agent, LangChain SQL Chain, LlamaIndex SQL Generator, and Dataherald SQL Agent. source
SQL generation options
The documentation lists LangChain SQL Agent, LangChain SQL Chain, LlamaIndex SQL Generator, and Dataherald’s in-house SQL agent as included implementations. source
Support and licensing
The repository is public and identifies its license as Apache-2.0; the README invites contributions to the project. source
Use cases
The project describes use cases including helping business users query a data warehouse, embedding data Q&A in SaaS products, and creating a ChatGPT plug-in from proprietary data. source

Checked against the maker's pages on 8 Oct 2026.