Skip to content
ToolOpen-source agent

tidb

Distributed SQL database with vector search and transactions for AI workloads

Pricing
Open source
Platforms
Web, API, self-hosted
GitHub stars
40.7K
Last commit
today
Language
Go
License
Apache-2.0

About tidb

tidb is an open-source AI tool for knowledge and memory. It is available on Web, API and self-hosted.

TiDB is a distributed SQL database that combines transactions, analytics and vector search in a single engine. It aims to keep ACID guarantees while scaling out as workloads grow, so teams avoid running separate data stores.

The project is open source under Apache-2.0, and a managed version, TiDB Cloud, is also offered. The site presents it for teams building AI agents and other data-heavy applications, and lists customer stories about consolidating many database clusters into fewer TiDB clusters.

What it does

Distributed SQL
Scales out horizontally while keeping a SQL interface.
ACID transactions
Provides transactional guarantees for operational workloads.
Vector search
Supports vector search alongside relational data.
Analytics support
Handles analytical queries in the same engine.
Managed cloud option
TiDB Cloud offers a hosted version with a free plan.

Good for

  • Back an AI agent platform with one database
  • Consolidate sharded MySQL or PostgreSQL clusters
  • Store vectors next to relational data
  • Run mixed transactional and analytical queries

Pricing

Open source

Open source (Apache-2.0); TiDB Cloud hosted version has a free plan

Prices change. Check tidb.io before you buy.

tidb FAQ

Is TiDB open source?

Yes, the repository is licensed under Apache-2.0.

Is there a managed version?

TiDB Cloud is a fully managed version, with a free plan that needs no credit card.

Is tidb free?

Yes. tidb is open source, so you can use and self-host it for free.

What are the best alternatives to tidb?

The closest alternatives to tidb are graphify, JavaGuide, claude-mem, ragflow and anything-llm.

Alternatives to tidb

  1. Code knowledge graph that gives coding assistants shared, source-linked context

    • Freemium
    • Open-source agent
    • 149K GitHub stars
    • Knowledge and memory
  2. Chinese-language Java backend interview guide with an AI application section

    • Free
    • Open-source agent
    • 160K GitHub stars
    • Knowledge and memory
  3. Memory for coding agents that saves decisions and fixes, with optional hosted sync

    • Freemium
    • Open-source agent
    • 118K GitHub stars
    • Knowledge and memory
  4. Open-source RAG engine with a document pipeline, hybrid search and visual agent workflows

    • Freemium
    • Open-source agent
    • 94.3K GitHub stars
    • Knowledge and memory
  5. Private on-device AI assistant for chatting with documents, with local models

    • Free
    • Open-source agent
    • 68.3K GitHub stars
    • Personal assistants
  6. Long-term memory layer for AI agents that stores typed facts and consolidates beliefs

    • Open source
    • Open-source agent
    • 61.4K GitHub stars
    • Knowledge and memory