Full-Code · Orchestration Frameworksactive

DB-GPT

Type: full-code  ·  Vendor: Eosphoros AI  ·  Language: Python  ·  License: MIT  ·  Status: active  ·  Status in practice: mature

Links: homepage repo

Open-source AI-native data platform built around the AWEL agent workflow language, multi-model support, and natural-language access to databases (Text2SQL, vector + relational + graph stores) for end-to-end data agents.

Description. DB-GPT (17k+ stars, MIT) is Eosphoros AI's open-source data agent platform. It positions itself as the AI-native infrastructure for data products: a unified agent runtime over multiple LLMs (open and proprietary), the AWEL (Agentic Workflow Expression Language) for composing agent pipelines, native multi-store support (vector, relational, graph), Text2SQL with rigorous schema-aware prompting, GraphRAG with both triplet-and-structure indexing (50% token savings vs. Microsoft GraphRAG per their published numbers), and the dbgpts package ecosystem for sharable agents and data apps.

Agent loop shape. AWEL defines the orchestration: each agent is a node, edges declare flow, and the runtime executes the DAG with explicit operator semantics. Each agent runs a tool-augmented loop with access to SQL execution, vector retrieval, graph queries, and Python code. Multi-model serving means routing per-task to the best-fit LLM.

Primary use cases

  • natural-language data analytics over relational databases (Text2SQL)
  • agentic data workflows composed in AWEL
  • AI-native data products combining vector, relational, and graph storage
  • domain-specific Text2SQL fine-tuning via DB-GPT-Hub

Key concepts

  • AWEL (Agentic Workflow Expression Language) orchestrator-workersDAG-based agent orchestration language.
  • GraphRAG with triplet + structure graphragCombined triplet KG and document-structure graph; 50% token savings vs. Microsoft GraphRAG.
  • DB-GPT-HubText2SQL model fine-tuning toolkit.
  • dbgpts agent-skillsPackage ecosystem for sharable data agents and apps.

Patterns this full-code implements

Neighbourhood

Click any neighbour to follow the lineage. Scroll to zoom, drag to pan.