Open-source project
AlibabaResearch/DAMO-ConvAI avatar
AlibabaResearch/DAMO-ConvAI

DAMO-ConvAI Is a Monorepo of Research Code, Not a Conversational AI Framework

DAMO-ConvAI: The official repository which contains the codebase for Alibaba DAMO Conversational AI.

1,596 stars251 forksPythonMIT

At a glance

What is it?
Alibaba's DAMO-ConvAI repository collects the code behind a decade of published dialogue and text-to-SQL papers, including S²SQL, R²SQL and SPACE. It is a reference archive for people reproducing specific papers, not an installable toolkit.
Who is it for?
Adopt DAMO-ConvAI only if you are reproducing or extending a named paper in it, such as S²SQL, R²SQL or SPACE, and you are prepared to work from paper plus per-directory code. Do not adopt it as a library: there is no released package, no versioned API and no unified entry point in the material provided.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 1 day ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 15, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

What DAMO-ConvAI Actually Is

The README describes DAMO-ConvAI as "the official repository which contains the codebase for Alibaba DAMO Conversational AI." That sentence is broader than what the repository delivers. What the material shows is a research monorepo: a single GitHub project under the AlibabaResearch organisation that accumulates the code artefacts for papers published by Alibaba DAMO Academy's conversational AI group. The news list runs from R²SQL at AAAI 2021 through S²SQL at ACL 2022, SPACE 1.0 at AAAI 2022 and SPACE 3.0 at SIGIR 2022, up to five papers at LREC-COLING 2024. Each entry is a publication, not a feature.

The topics list (conversational-ai, deep-learning, dialog, natural-language-processing) describes the group's research area rather than the contents of any single importable module. There is no homepage field, and no releases were retrieved. So there is no published artefact to pin, no changelog, and no semantic version to depend on. If your mental model of adopting a project is adding a line to requirements.txt, this repository does not fit that model at all.

The practical consequence is that you navigate this repository the way you navigate a conference proceedings site: by paper. You find the paper you care about, then you find its directory, then you read that directory's own instructions. The top-level README is an index and a news feed, not a getting-started guide.

The Two Research Lines Inside the Repo

Read the news list carefully and two clusters separate out.

The first is text-to-SQL over multi-turn dialogue. R²SQL was accepted at AAAI 2021 and, per the README, "achieves the first rank on the SparC and CoSQL leaderboard." S²SQL followed at ACL 2022 with a first rank on the Spider leaderboard. BIRD-SQL was accepted at NeurIPS 2023 as a spotlight. Three benchmarks, three papers, one lineage. If your problem is turning a user's question plus conversational context into a SQL query, this is the part of the repository aimed at you, and the papers are the specification.

The second cluster is dialogue state tracking and related conversational modelling: SPACE 1.0, SPACE 3.0, the DSTC11 work (the README notes a first rank on the DSTC11-SIMMC track in November 2022 and a SigDial 2023 DSTC11 workshop best paper), plus the larger ACL 2023, EMNLP 2022 and EMNLP 2023 batches. Dialogue state tracking is the component that decides what the user wants so far in a conversation. It is a narrower job than building a chatbot, and the code here reflects that narrowness.

That split matters for evaluation. A repository that spans leaderboard text-to-SQL and DSTC-track dialogue state tracking is not one system with one quality level. Results in the news list are per-paper and per-benchmark. Nothing in the material suggests the codebases share a trainer, a data loader or an evaluation harness, and the presence of many separate papers in one repository is weak evidence that they do.

How You Get It Running: Per-Paper Directories, Not One Install

The material does not contain an install command, a requirements file listing, a config schema or an entry point. I am not going to invent one. What the repository layout implies, and what the README's structure supports, is that setup is done per paper directory.

The only concrete command the material gives is the standard clone:

git clone https://github.com/AlibabaResearch/DAMO-ConvAI.git

After that, the work is per-directory. For a text-to-SQL paper you would expect to find, inside that paper's folder, a data preparation step against the corresponding benchmark (Spider, SparC, CoSQL or BIRD) and a training script that loads a pretrained encoder. For the SPACE line you would expect a dialogue state tracking training path against the relevant dataset. I am describing expectations from the repository's shape, not steps I have verified, because the README does not spell them out.

The honest framing for an engineer: budget time for reading the paper before running anything. The paper defines the model, the loss and the evaluation metric. The directory supplies the implementation. Where the two disagree, the paper is your reference point, and the per-directory README (if present) is the only place that will tell you which checkpoint or data release the authors used. None of that is visible in the top-level material.

Why It Is the Wrong Dependency for a Production Dialogue System

The first limitation is structural: this is a collection of research codebases, and research codebases are written to produce a number in a paper, not to be imported. There is no published package, no release, and no stability promise. A function signature you depend on can change when the next paper's code lands, because nothing in the repository treats the existing directories as a public API.

The second limitation is scope. Dialogue state tracking and text-to-SQL are components. A production assistant also needs intent routing, retrieval, response generation, safety filtering, logging and evaluation in deployment. DAMO-ConvAI addresses the middle of that pipeline and is silent on the rest. Adopting it does not give you a conversational AI system; it gives you a model for one sub-problem, which you then have to wire into everything else yourself.

The third limitation is the licence boundary, and it is the one people miss. The repository is MIT, and the LICENSE text reproduced in the README grants permission to use, copy, modify, merge, publish, distribute, sublicense and sell the software, subject to including the copyright notice. That covers the code. It says nothing about the datasets the code is trained and evaluated on. Spider, SparC, CoSQL and BIRD are separate artefacts with their own terms, and the MIT grant in this repository does not extend to them. If you plan to ship a model trained on those benchmarks, the dataset terms are a separate question from this licence. That is a factual boundary, not legal advice; get your own counsel for the shipping decision.

A fourth, softer point: the news list is a publication log. It tells you what the group published, not what is maintained. A paper announced in 2021 and untouched since is not necessarily broken, but nothing in the material indicates it has been kept in step with current PyTorch or transformer-library versions. Expect to do that work yourself.

What to Compare It Against

The natural alternative for the text-to-SQL half is a maintained, packaged text-to-SQL library that ships a single installable dependency, a documented inference API and a released checkpoint you can call without reading a paper. The difference in approach is not model quality, which I cannot compare from this material. It is the contract. A packaged library promises a stable interface and absorbs upstream breakage for you. DAMO-ConvAI promises a faithful implementation of a specific published method, which is exactly what you want when you are reproducing or extending that method, and exactly what you do not want when you are shipping a product on a deadline.

For the dialogue state tracking half, the comparison is with the tracking implementations that ship inside general dialogue toolkits, where state tracking is one component with a documented interface alongside intent classification and policy learning. Those toolkits trade paper fidelity for integration. If your goal is to plug state tracking into an existing pipeline, the toolkit is the shorter path. If your goal is to beat a number on a DSTC track, the paper code here is the shorter path.

There is a third case worth naming: doing nothing and using a hosted model. For a low-volume internal tool, a hosted conversational model with function calling may cover the text-to-SQL need without any of this setup. The reason to choose DAMO-ConvAI instead is control over the model and the ability to inspect the method. If you do not need either, you are paying setup cost for nothing.

Maintenance and Upgrade Cost

There are no releases, so there is no upgrade path in the conventional sense. You track the main branch by commit, and you decide for yourself when to pull. That means your upgrade cost is whatever it costs to re-read the diff of the directories you depend on, plus whatever it costs to re-validate against the benchmark you care about. For a research dependency this is normal. For a production dependency it is an ongoing tax with no vendor to escalate to.

The cost that dominates, though, is the initial one: environment reconstruction. Research code from 2021 and 2022 was written against the library versions of its time. Getting it to run on current versions is usually the largest single block of work, and it is work the repository cannot do for you because it has no dependency manifest at the top level. Budget for that before you promise a date.

On licence, the MIT terms are permissive and the only stated obligation is retaining the copyright notice in copies or substantial portions. That is the easy part. The harder part is the one described above: model weights and datasets are outside the scope of that grant, and this repository does not resolve their terms for you.

Who Should Clone This

Clone it if you are a researcher or an engineer on a research team working on multi-turn text-to-SQL or dialogue state tracking, and you intend to reproduce, ablate or extend a specific paper named in the news list. The repository gives you the authors' implementation next to the paper, which is the fastest way to understand a method precisely. S²SQL, R²SQL and SPACE are the entries with the clearest benchmark claims attached, so they are the sensible starting points.

Do not clone it expecting a framework, a service, or a drop-in component. There is no package to install, no API to call, and no release to pin. If your requirement is a working conversational feature this quarter, the setup cost here is not justified by anything the material promises.

Before you commit, do three things. Open the directory for your target paper and confirm it contains a training script and a data preparation path, since the top-level README does not guarantee either. Identify the pretrained checkpoint the paper relies on and confirm it is still reachable, because a dead checkpoint link turns the exercise into a from-scratch training run. And check the terms of the benchmark dataset you will train on, separately from the MIT licence on the code. Those three checks are the difference between a weekend of reproduction and a month of archaeology.

Editorial conclusion

Adopt DAMO-ConvAI only if you are reproducing or extending a named paper in it, such as S²SQL, R²SQL or SPACE, and you are prepared to work from paper plus per-directory code. Do not adopt it as a library: there is no released package, no versioned API and no unified entry point in the material provided. Before committing, open the directory for the specific paper you need, confirm a training script and a data-preparation path exist there, and check which pretrained checkpoints the paper's README points to, because that is where the real setup cost sits.

Official sources

  1. AlibabaResearch/DAMO-ConvAI on GitHub
  2. Issues
  3. License: MIT
  4. README
Community notes

Community notes