# DB-GPT | eosphoros | Knowledge Base | Instagit

AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents

GitHub Stars: 18.1k

Repository: https://github.com/eosphoros-ai/db-gpt

---

## Articles

### [How DB-GPT Handles SQL Injection Prevention in Generative Business Intelligence (GBI)](/eosphoros-ai/db-gpt/dbgpt-sql-injection-prevention-and-gbi-security-concerns)

Learn how DB-GPT prevents SQL injection in Generative Business Intelligence using syntactic sanitization query parameterization API-key authentication and connection isolation.

- Tags: security
- Published: 2026-02-23

### [How to Configure Ollama or Local LLM Backends for Offline DB-GPT Deployments](/eosphoros-ai/db-gpt/how-to-configure-ollama-or-local-llm-backends-for-offline-dbgpt)

Configure Ollama or local LLM backends for offline DB-GPT deployments. Learn how to route LLM calls to local model servers using TOML config files for seamless integration.

- Tags: how-to-guide
- Published: 2026-02-23

### [Testing Strategies for DB-GPT Custom Plugins and Operators: A Complete Guide](/eosphoros-ai/db-gpt/testing-strategies-for-dbgpt-custom-plugins-and-operators)

Learn DB-GPT testing strategies for custom plugins and operators. Discover unit, integration, and end-to-end tests to ensure your extensions function perfectly. A complete guide for eosphoros-ai/DB-GPT.

- Tags: how-to-guide
- Published: 2026-02-23

### [How DB-GPT's Storage Layer Handles Metadata and Vector Database Integration](/eosphoros-ai/db-gpt/how-dbgpt-storage-layer-handles-metadata-and-vector-db-integration)

Discover how DB-GPTs dual-layer architecture separates metadata and vector embeddings using SQLAlchemy and pluggable similarity search for seamless vector database integration.

- Tags: internals
- Published: 2026-02-23

### [How to Migrate from Older DB-GPT Versions to the v0.7+ Modular Architecture](/eosphoros-ai/db-gpt/how-to-migrate-from-older-dbgpt-versions)

Migrate to DB-GPT v0.7+ easily. Update configurations, import statements, and run database migrations with our clear guide for a seamless transition to the new modular architecture.

- Tags: migration-guide
- Published: 2026-02-23

### [Common Performance Bottlenecks When Running DB‑GPT with Large Knowledge Bases: A Technical Deep‑Dive](/eosphoros-ai/db-gpt/common-performance-bottlenecks-with-large-dbgpt-knowledge-bases)

Discover common DB-GPT performance bottlenecks with large knowledge bases like CPU-bound embedding generation and I/O blocking. Learn expert tips for optimization.

- Tags: deep-dive
- Published: 2026-02-23

### [How to Use the DB‑GPT API to Integrate Chat Functionality into External Applications](/eosphoros-ai/db-gpt/how-to-use-dbgpt-api-for-external-application-integration)

Easily integrate chat into your apps using the DB-GPT API. Discover how to leverage its OpenAI-compatible endpoint with the Python SDK or HTTP requests for seamless chat functionality.

- Tags: how-to-guide
- Published: 2026-02-23

### [Understanding the Model Adapter Pattern in DB-GPT: How to Add a New LLM Provider](/eosphoros-ai/db-gpt/dbgpt-core-model-adapter-pattern-and-adding-llm-providers)

Learn the DB-GPT model adapter pattern to easily add new LLM providers. Explore how to integrate custom LLMs by subclassing LLMModelAdapter and registering your implementation.

- Tags: deep-dive
- Published: 2026-02-23

### [How DB-GPT Handles Prompt Templates: A Complete Guide to Creating Custom Prompts](/eosphoros-ai/db-gpt/how-dbgpt-handles-prompt-templates-and-custom-prompts)

Learn how DB-GPT handles prompt templates, storing them as database objects and offering SDK/API access to create and manage custom prompts.

- Tags: how-to-guide
- Published: 2026-02-23

### [How to Deploy DB-GPT in Production with Docker and Configure Horizontal Scaling](/eosphoros-ai/db-gpt/how-to-deploy-dbgpt-in-production-with-docker-and-scaling)

Deploy DB-GPT in production using Docker. Learn to configure horizontal scaling with docker compose for your webserver service.

- Tags: how-to-guide
- Published: 2026-02-23

### [Embedding Models in DB-GPT: Supported Providers and Configuration Guide](/eosphoros-ai/db-gpt/supported-embedding-models-and-configuration-in-dbgpt)

Explore supported embedding models in DB-GPT including HuggingFace OpenAI Azure and Ollama. Learn how to configure them using TOML or the Python SDK for your AI projects.

- Tags: how-to-guide
- Published: 2026-02-23

### [How to Debug Text2SQL Generation in DB-GPT's Auto-Execute Mode: A Complete Guide](/eosphoros-ai/db-gpt/how-to-debug-text2sql-generation-issues-in-dbgpt)

Debug Text2SQL generation in DB-GPT auto-execute mode by enabling verbose logging and tracing the pipeline. Isolate failures in schema retrieval, prompt construction, LLM generation, and output parsing.

- Tags: how-to-guide
- Published: 2026-02-23

### [What Database Engines Does DB-GPT Support and How to Configure Database Connections](/eosphoros-ai/db-gpt/supported-database-engines-and-configuration-in-dbgpt)

Explore DB-GPT's extensive database engine support including MySQL, PostgreSQL, and more. Learn to easily configure your database connections through TOML files for seamless integration.

- Tags: how-to-guide
- Published: 2026-02-23

### [How DB-GPT's Generative Business Intelligence (GBI) Generates Analytical Reports from Data](/eosphoros-ai/db-gpt/how-dbgpt-gbi-generates-analytical-reports)

Discover how DB-GPT's GBI transforms natural language into analytical reports. Learn about automated anomaly detection root-cause attribution and synthesis for actionable business insights.

- Tags: how-to-guide
- Published: 2026-02-23

### [How to Create Custom Operators in DB-GPT's AWEL System for Data Processing](/eosphoros-ai/db-gpt/how-to-create-custom-operators-in-dbgpt)

Learn to create custom operators in DB-GPT's AWEL system for advanced data processing. Subclass base operators and implement methods to build powerful data pipelines easily.

- Tags: how-to-guide
- Published: 2026-02-23

### [Securing DB-GPT Deployments with API Keys and Authentication: A Complete Production Guide](/eosphoros-ai/db-gpt/best-practices-for-securing-dbgpt-deployments)

Learn best practices for securing DB-GPT deployments using API keys and authentication. Implement robust security for your production environment.

- Tags: best-practices
- Published: 2026-02-23

### [How DB-GPT Handles Conversation History and State Management in Chat Applications](/eosphoros-ai/db-gpt/how-dbgpt-handles-conversation-history-and-state-management)

Discover how DB-GPT manages conversation history and state with pluggable storage backends and adapters. Learn to efficiently load historical context into your chat applications.

- Tags: deep-dive
- Published: 2026-02-23

### [How to Fine-Tune Text2SQL Models Using DB-GPT-Hub for Custom Database Schemas](/eosphoros-ai/db-gpt/how-to-fine-tune-text2sql-models-with-dbgpt-hub)

Learn to fine-tune Text2SQL models with DB-GPT-Hub. Convert your schema, train LLMs like CodeLlama using LoRA/QLoRA, and deploy adapters for custom database schemas.

- Tags: how-to-guide
- Published: 2026-02-23

### [DB-GPT Multi-Agent Framework Architecture: How Agents Collaborate](/eosphoros-ai/db-gpt/architecture-of-dbgpt-multi-agent-framework-and-collaboration)

Explore the DB-GPT multi-agent framework architecture. Discover how ManagerAgent orchestrates specialized agents using planning loops, dynamic selection, and shared memory for complex database tasks.

- Tags: architecture
- Published: 2026-02-23

### [How to Integrate Custom Data Sources with DB-GPT's Datasource Connector System](/eosphoros-ai/db-gpt/how-to-integrate-custom-data-sources-with-dbgpt)

Learn to integrate custom data sources with DB-GPT. Extend parameters and connector classes, then use auto_register_resource for seamless integration with the ConnectorManager.

- Tags: how-to-guide
- Published: 2026-02-23

### [How DB-GPT's RAG Framework Handles Vector Storage and Retrieval for Knowledge Bases](/eosphoros-ai/db-gpt/how-dbgpt-rag-handles-vector-storage-and-retrieval)

Discover how DB-GPT's RAG framework efficiently handles vector storage and retrieval for knowledge bases using a pluggable architecture supporting Chroma PGVector and Milvus.

- Tags: how-to-guide
- Published: 2026-02-23

### [Understanding dbgpt-core, dbgpt-app, and dbgpt-serve Packages in DB-GPT](/eosphoros-ai/db-gpt/differences-between-dbgpt-core-app-and-serve-packages)

Discover the roles of dbgpt-core, dbgpt-app, and dbgpt-serve in DB-GPT. Learn how core provides SDKs, app builds the UI, and serve powers the runtime for models and RAG.

- Tags: deep-dive
- Published: 2026-02-23

### [How to Configure Multiple LLM Providers in DB-GPT Using the SMMF Framework](/eosphoros-ai/db-gpt/how-to-configure-multiple-llm-providers-in-db-gpt-using-smmf)

Learn how to configure multiple LLM providers like OpenAI Azure vLLM and Ollama in DB-GPT using the efficient SMMF framework for seamless model management and request routing.

- Tags: how-to-guide
- Published: 2026-02-23

### [How DB-GPT AWEL Works: A Complete Guide to Creating Custom Workflows](/eosphoros-ai/db-gpt/how-does-db-gpt-awel-work-and-how-to-create-custom-workflows)

Discover how DB-GPT AWEL, its powerful workflow engine, creates custom LLM pipelines as directed-acyclic graphs. Learn to build and execute complex workflows.

- Tags: deep-dive
- Published: 2026-02-23

