WrenAI

Open-source text-to-SQL AI agent that understands your data semantics and generates accurate queries.

MCPCLI

About WrenAI

Open-source text-to-SQL AI agent that understands your data semantics and generates accurate queries. Explore how WrenAI integrates with the agentic data stack ecosystem and supports autonomous data operations.

Key Features

  • GenBI platform: natural language queries producing accurate SQL (Text-to-SQL) and charts (Text-to-Chart)
  • Semantic modeling layer using MDL to encode schema, metrics, joins, and business logic
  • Support for 12+ databases: BigQuery, DuckDB, PostgreSQL, MySQL, Snowflake, Databricks, Trino
  • AI-generated summaries, charts, and reports for decision-ready business intelligence
  • Embeddable API for generating queries and charts inside your own applications
  • Multiple LLM provider support: OpenAI, Anthropic, Google Vertex AI, and local LLMs via Ollama
  • MCP integration for connecting to external tools
  • Docker-based deployment with a user-friendly launcher for easy local installation

Agent Integration

CLIwren-launcher

$ Download platform binary from GitHub releases, run ./wren-launcher
CLI Documentation