wren

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Wren CLI

Wren CLI

This is a discovery stub. The actual workflow guides and prompt helpers live inside the
wren
CLI itself, so they always match the installed wrenai version (no skill cache, no version drift).
Install:
pip install wrenai
.
这是一个发现存根。实际的工作流指南和提示助手内置在
wren
CLI中,因此它们始终与已安装的wrenai版本保持一致(无技能缓存、无版本偏差)。
安装命令:
pip install wrenai

Workflow guides

工作流指南

bash
wren skills list                        # all available workflow guides
wren skills get onboarding              # set up Wren end-to-end
wren skills get usage                   # day-to-day querying
wren skills get generate-mdl            # generate MDL from a database schema
wren skills get dlt-connector           # connect SaaS sources via dlt
wren skills get enrich-context          # add business context (units, enums, cubes)
wren skills get genbi                   # build & deploy a shareable GenBI web app
bash
wren skills list                        # 所有可用的工作流指南
wren skills get onboarding              # 端到端设置Wren
wren skills get usage                   # 日常查询操作
wren skills get generate-mdl            # 从数据库架构生成MDL
wren skills get dlt-connector           # 通过dlt连接SaaS数据源
wren skills get enrich-context          # 添加业务上下文(单位、枚举、指标立方体)
wren skills get genbi                   # 构建并部署可共享的GenBI Web应用

add --full to include the skill's reference docs

添加 --full 参数以包含技能的参考文档

add --script <name> to fetch a bundled script (e.g. dlt-connector / introspect_dlt)

添加 --script <名称> 参数以获取捆绑脚本(例如 dlt-connector / introspect_dlt)

undefined
undefined

Reference docs

参考文档

Full reference docs live on the web: https://github.com/Canner/WrenAI/tree/main/docs/core
bash
wren docs connection-info <ds>          # required + optional connection fields for a data source
完整参考文档可在网页查看:https://github.com/Canner/WrenAI/tree/main/docs/core
bash
wren docs connection-info <ds>          # 数据源所需的必填和可选连接字段

Prompt enhancement (wraps a user question for an agent)

提示增强(为Agent包装用户问题)

bash
wren ask "<question>" --guided          # for weaker LLMs (strict task flow)
wren ask "<question>" --direct          # for stronger LLMs (minimal wrapping)
bash
wren ask "<问题>" --guided          # 适用于较弱的LLM(严格任务流程)
wren ask "<问题>" --direct          # 适用于较强的LLM(最小化包装)

Day-to-day data commands (not a sub-app — top-level)

日常数据命令(非子应用——顶级命令)

bash
wren --sql '...'                        # execute SQL through the MDL layer
wren query --sql '...'                  # same, explicit
wren dry-plan --sql '...'               # transpile only, no DB hit
wren context show / build / validate    # project / MDL lifecycle
wren profile add / list / switch        # named connection profiles
wren memory index / recall / store      # semantic memory (needs `[memory]` extra)
Run
wren --help
for the full surface; load the matching
wren skills get <name>
guide before driving any multi-step workflow.
bash
wren --sql '...'                        # 通过MDL层执行SQL
wren query --sql '...'                  # 同上,显式命令
wren dry-plan --sql '...'               # 仅转译,不访问数据库
wren context show / build / validate    # 项目/MDL生命周期管理
wren profile add / list / switch        # 命名连接配置文件管理
wren memory index / recall / store      # 语义记忆(需安装`[memory]`扩展包)
运行
wren --help
查看完整命令列表;在执行任何多步骤工作流之前,请加载对应的
wren skills get <名称>
指南。