Skip to main content

1. About DB-GPT

DB-GPT is an open-source AI Native Data App Development framework. It provides multi-model management, Text2SQL optimization, RAG framework, and Multi-Agent collaboration capabilities.

2. Get an API Key

Open the AnyFast console and sign up (or log in). Go to API Keys, create a new API Key, and copy it.

3. Deploy DB-GPT

3.1 Clone DB-GPT

3.2 Create virtual environment and install dependencies

3.3 Configure environment variables

Edit .env and configure AnyFast models:

3.4 Start DB-GPT

Open http://127.0.0.1:5670/ in your browser.

4. Using AnyFast via DB-GPT Python SDK

4.1 Install

4.2 Use AnyFast language model

5. Getting Started

  1. Add a data source — Select a database type (MySQL, PostgreSQL, etc.) and connect.
  2. Choose ChatData mode — Use the natural language-to-data conversation feature.
  3. Start data conversations — Select the AnyFast model and your database, then start chatting with your data.