# CLI Agents Quick Reference

## From typedef_data_intelligence/ directory:

Interactive Mode:
  just cli-analyst                 # Start analyst agent (REPL)
  just cli-engineer                # Start data engineering agent
  just cli-quality                 # Start data quality agent

Single Question:
  just ask-analyst "question"      # Ask analyst
  just ask-engineer "question"     # Ask engineer
  just ask-quality "question"      # Ask quality agent

## From dbt_projects/ directory:

Interactive Mode:
  just analyst                     # Start analyst agent
  just engineer                    # Start engineer agent
  just quality                     # Start quality agent

Single Question:
  just ask "question"              # Ask analyst
  just ask-eng "question"          # Ask engineer
  just ask-qa "question"           # Ask quality agent

## Configuration:

Default config (config.example.yml):
  just cli-analyst

Custom config:
  just cli-analyst CONFIG=myconfig.yml

Environment variables:
  export UNIFIED_CONFIG=/path/to/config.yml
  export CLI_USER_ID=your_user@example.com
  export CLI_ORG_ID=your_org

## Example Questions:

Analyst:
  "What semantic views are available?"
  "Show me total ARR by month for 2024"
  "Create a chart of revenue trends"

Engineer:
  "What models depend on dim_customers?"
  "Show me the grain of fct_arr_reporting_monthly"
  "What tables are in the marts schema?"

Quality:
  "Find any failed dbt runs"
  "Show error patterns from the last week"
  "Check for null values in critical columns"

## More Info:

  just cli-info                    # Show detailed usage
  cat docs/webui/cli-testing.md    # Read full documentation
