AGENT SKILL

db-gpt

Use DB-GPT 0.8.1 as an agentic AI data platform: install and configure provider profiles, operate its CLI and services, build agents and AWEL flows, ingest and retrieve data with RAG, call client/API surfaces, and execute code through explicitly bounded sandbox runtimes.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
db-gpt
license
MIT
metadata
{ "disco-role": "operating" }
description
Use DB-GPT 0.8.1 as an agentic AI data platform: install and configure provider profiles, operate its CLI and services, build agents and AWEL flows, ingest and retrieve data with RAG, call client/API surfaces, and execute code through explicitly bounded sandbox runtimes.
disable-model-invocation
true

02 资源文件 6

03 SKILL.md 正文

DB-GPT

Use this repo skill when a task names DB-GPT, dbgpt, dbgpt-app, dbgpt-client, dbgpt-ext, dbgpt-serve, or dbgpt-sandbox, or asks for an agentic data assistant that combines models, SQL/code, files, knowledge bases, RAG, skills, AWEL workflows, APIs, or sandboxed execution.

Choose the route

  • Install, profiles, TOML configuration, dbgpt command routing, web start/stop, knowledge/repo/app/trace/migration CLI → setup-and-cli.
  • LLM/embedding/reranker providers, model TOML, controller/worker/API-server, local models, CUDA, vLLM, llama.cpp, Ollama, or serving → models-and-serving.
  • Agents, tools, skills, middleware, teams, memory/context, AWEL/DAG/flow, or HTTP-triggered workflow construction → agents-and-awel.
  • Local documents, datasource schemas, chunking, embeddings, retrieval, knowledge indexing, vector/full-text/graph stores, or RAG → data-and-rag.
  • Python client, HTTP CRUD/API routes, files/apps/flows, service integration, or sandbox execution → apis-client-and-sandbox.

When a request spans routes, establish the runtime boundary in this order: configuration/provider → data or workflow construction → API/service execution. Do not claim that a parsed config, imported package, registry entry, or health endpoint proves a provider, model, vector store, database, or sandbox is usable.

Baseline installation and inspection

For the recorded 0.8.1 baseline, use a clean Python 3.10+ environment and install the public package without relying on a source checkout:

uv pip install 'dbgpt-app==0.8.1'
dbgpt --version
python -c "import dbgpt, dbgpt_app, dbgpt_client, dbgpt_ext; print('imports ok')"

Use pip if uv is unavailable. Add only the extras needed by the route: provider, RAG/parser, vector-store, database, local-model, or sandbox variants. Read installation before adding optional backends, and configuration before writing a profile or TOML file. The bundled package smoke script is a read-only import/version check; it never starts a server or contacts a provider.

Cross-cutting operating rules

  1. Keep credentials in environment variables or the user's secret manager. Do not print resolved TOML, API keys, passwords, bearer tokens, or provider responses containing secrets.
  2. Separate local/import/config validation from live provider, model, database, vector, graph, API, and sandbox checks. Record the exact boundary and skipped prerequisites.
  3. Prefer tiny deterministic fixtures and disposable paths. Do not run a network installer, download a model, mutate a database, launch a daemon, or execute untrusted code as an implicit smoke test.
  4. Use the installed package's live Click help and signatures when a flag or object is version-sensitive. In particular, model command discovery may query a controller even while rendering help; an unreachable controller is not a successful deployment.
  5. Default DB-GPT's web API is commonly http://localhost:5670; confirm the actual profile, API version, route prefix, and authentication policy before making client calls. Close async clients and clean temporary uploads/sessions.
  6. Treat local sandbox execution as a weaker, explicitly opted-in boundary, not container isolation. Container runtime/image availability and network policy must be verified separately.

Read cross-cutting troubleshooting for installation/import, optional dependency, configuration, service, backend, and safety failures. Source/version context is recorded in repo provenance; it is not a runtime dependency.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351