An open API service indexing awesome lists of open source software.

https://github.com/jetbrains/databao-cli


https://github.com/jetbrains/databao-cli

agentic-analytics analytics business-intelligence businessintelligence cli context data-context databao embedded-analytics headless-bi mysql postgresql semantic-layer snowflake sql text-2-sql

Last synced: about 10 hours ago
JSON representation

Awesome Lists containing this project

README

          

[![official project](https://jb.gg/badges/official.svg)](https://github.com/JetBrains#jetbrains-on-github)
[![PyPI version](https://img.shields.io/pypi/v/databao.svg)](https://pypi.org/project/databao)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/JetBrains/databao-cli?tab=License-1-ov-file)

Databao CLI

A command-line interface tool for working with Databao Agent and Databao Context Engine


Website
Quickstart
Docs
Discord

---

## Installation

Databao CLI is [available on PyPI](https://pypi.org/project/databao/)
and can be installed with uv, pip, or another package manager.

### Using uv

```bash
uv add databao
```

### Using pip

```bash
pip install databao
```

## Quickstart

1. Create a project directory and navigate to it:

```bash
mkdir databao-project && cd databao-project
```

> [!TIP]
> Databao is not terminal-only.
> If you prefer the web interface, run `databao app` in your project directory.

1. Initialize the project:

```bash
databao init
```

1. When prompted, agree to configure a domain –
a dedicated space where data context, context, and agent chats live.

Then follow the prompts to add one or several data sources.

1. Build context:

```bash
databao build
```

1. Pass your API key as an environment variable:

```bash
# OpenAI or OpenAI-compatible APIs
export OPENAI_API_KEY=

# Anthropic Claude
export ANTHROPIC_API_KEY=
```

1. Run the Databao Agent:

```bash
databao ask
```

1. Ask questions about your data:

```text
# Example questions:
What is our refund rate by month?
What is our 90-day repeat purchase rate
```

For more details about commands, supported data sources, and configuration options,
visit the [docs](https://docs.databao.app).

## Contributing

We love contributions! Here’s how you can help:

- ⭐ **Star this repo** — it helps others find us!
- 🐛 **Found a bug?** [Open an issue](https://github.com/JetBrains/databao-cli/issues)
- 💡 **Have an idea?** We’re all ears — create a feature request
- 👍 **Upvote issues** you care about — helps us prioritize
- 🔧 **Submit a PR**
- 📝 **Improve docs** — typos, examples, tutorials — everything helps!

New to open source? No worries! We’re friendly and happy to help you get started.

## License

Apache 2.0 — use it however you want.

See the [LICENSE](LICENSE) file for details.

---


Like Databao? Give us a ⭐! It will help to distribute the technology.


Website
Docs
Discord