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
- Host: GitHub
- URL: https://github.com/jetbrains/databao-cli
- Owner: JetBrains
- License: other
- Created: 2026-01-12T16:19:12.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-04-01T12:42:44.000Z (1 day ago)
- Last Synced: 2026-04-01T14:48:12.401Z (1 day ago)
- Topics: agentic-analytics, analytics, business-intelligence, businessintelligence, cli, context, data-context, databao, embedded-analytics, headless-bi, mysql, postgresql, semantic-layer, snowflake, sql, text-2-sql
- Language: Python
- Homepage: https://jetbrains.com/databao
- Size: 12.1 MB
- Stars: 16
- Watchers: 0
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/JetBrains#jetbrains-on-github)
[](https://pypi.org/project/databao)
[](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.