← Open Source
huchenxucs

ChatDB

The official repository of "ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory".

AI EngineeringGive agent toolsPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
606
Stars
52
Forks
+0
This week
1
Contributors
Created 2023-05-21 · Updated 2026-08-29 · #16203 today
Top developers
huchenxucs

huchenxucs/ChatDB is ranked 16,203 with 606 stars.

Same-category comparison

huchenxucs/ChatDB is ranked 16,203 among these 8 peers; enginebai/PyMessager is ranked 16,202.

Same-category comparison
NameRankMetrics
Pravko-Solutions/FlashLearn16,188
Language:
Python
Stars:
607
Forks:
40
Description:
Integrate LLM in any pipeline - fit/predict pattern, JSON driven flows, and built in concurency support.
anombyte93/prd-taskmaster16,190
Language:
Python
Stars:
607
Forks:
59
Description:
Zero-config goal-to-tasks engine for Claude Code (the Atlas engine). Graded PRD validation, dependency-ordered task graph, evidence-gated execution.
binggandata/bggg-skills16,200
Language:
Python
Stars:
606
Forks:
95
Description:
Open-source Codex skills from BGGG.
enginebai/PyMessager16,202
Language:
Python
Stars:
606
Forks:
125
Description:
Python API to develop chatbot on Facebook Messenger Platform.
win4r/GraphRAG4OpenWebUI16,212
Language:
Python
Stars:
606
Forks:
123
Description:
GraphRAG4OpenWebUI integrates Microsoft's GraphRAG technology into Open WebUI, providing a versatile information retrieval API. It combines local, global, and web searches for advanced Q&A systems and search engines. This tool simplifies graph-based retrieval integration in open web environments.
craigsc/cmux16,217
Language:
Shell
Stars:
605
Forks:
34
Description:
cmux: tmux for Claude Code.
google-gemini/deprecated-generative-ai-dart16,220
Language:
Dart
Stars:
605
Forks:
140
Description:
This SDK is now deprecated, use the unified Firebase SDK.
fendouai/CodexSaver16,228
Language:
Python
Stars:
604
Forks:
49
Description:
Make Codex cheaper without making it dumber with DeepSeek.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryAI Engineering
SubcategoryGive agent tools
KeywordsDatabases, Text-to-SQL
Stars606
Forks52
Contributors1
Created date2023-05-21
Updated date2026-08-29
Stars in 1 day0
Stars in 7 days0
Rank16,203
Previous rank15,993
Rank change-210
7-day stars rank15,402
Previous 7-day stars rank15,410
7-day stars rank change8
Total stars rank16,663
Previous total stars rank16,636
Total stars rank change-27
CountryChina
README summary

ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory Paper | Project Page This is the official repository of the paper: **ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory**. **We will continuously add new features to this code repository. ** Large language models (LLMs) with memory are computationally universal. However, mainstream LLMs are not taking full advantage of memory, and the designs are heavily influenced by biological brains. Due to their approximate nature and proneness to the accumulation of errors, conventional

neural memory mechanisms cannot support LLMs to simulate complex reasoning. In this paper, we seek inspiration from modern computer architectures to augment LLMs with symbolic memory for complex multi-hop reasoning. Such a symbolic memory framework is instantiated as an LLM and a set of SQL databases, where the LLM generates SQL instructions to manipulate the SQL databases. We validate the effectiveness of the proposed memory framework on a synthetic dataset requiring complex reasoning. Quick Start Install dependencies Add keys

A minimal CLI demo in a fruit shop scenario The CLI demo looks as follows. Citation If you find our work useful for your research, please consider citing the paper:

Frequently asked questions

How many stars and forks are recorded?

huchenxucs/ChatDB has 606 stars and 52 forks.

What is the repository rank?

huchenxucs/ChatDB is ranked 16,203.

What language and category are recorded?

huchenxucs/ChatDB has 606 stars, uses Python and belongs to AI Engineering.

Which repository is closest in rank?

huchenxucs/ChatDB is compared with enginebai/PyMessager, ranked 16,202 with 606 stars.

README

ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory

Paper | Project Page

This is the official repository of the paper: ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory.

We will continuously add new features to this code repository. Please stay tuned!

Large language models (LLMs) with memory are computationally universal. However, mainstream LLMs are not taking full advantage of memory, and the designs are heavily influenced by biological brains. Due to their approximate nature and proneness to the accumulation of errors, conventional neural memory mechanisms cannot support LLMs to simulate complex reasoning. In this paper, we seek inspiration from modern computer architectures to augment LLMs with symbolic memory for complex multi-hop reasoning. Such a symbolic memory framework is instantiated as an LLM and a set of SQL databases, where the LLM generates SQL instructions to manipulate the SQL databases. We validate the effectiveness of the proposed memory framework on a synthetic dataset requiring complex reasoning.

Quick Start

Install dependencies

conda create -n chatdb python=3.9
conda activate chatdb
pip install -r requirements.txt

Add keys

cp .env.template .env
# add OPENAI_API_KEY and MYSQL_PASSWORD

A minimal CLI demo in a fruit shop scenario

python chatdb.py

The CLI demo looks as follows.

Citation

If you find our work useful for your research, please consider citing the paper:

@misc{hu2023chatdb,
      title={ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory},
      author={Chenxu Hu and Jie Fu and Chenzhuang Du and Simian Luo and Junbo Zhao and Hang Zhao},
      year={2023},
      eprint={2306.03901},
      archivePrefix={arXiv},
      primaryClass={cs.AI}
}
Nearby in the ranking
Similar items