MATIH Platform is in active MVP development. Documentation reflects current implementation status.
15. Workbench Architecture
dbt IDE

dbt IDE

The dbt IDE at frontend/agentic-workbench/src/components/DbtIDE/ provides a full-featured dbt development environment within the Agentic Workbench.


Components

ComponentFilePurpose
DbtIDEViewDbtIDEView.tsxMain IDE layout
DbtSqlEditorDbtSqlEditor.tsxSQL/Jinja2 editor
DbtExecutionPanelDbtExecutionPanel.tsxRun results and logs
DbtProjectExplorerDbtProjectExplorer.tsxProject file tree

Features

  • Three-panel IDE layout (explorer, editor, results)
  • Monaco Editor with SQL and Jinja2 syntax highlighting
  • dbt model compilation with preview
  • Run execution with real-time log streaming
  • Test execution and results display
  • Project-level documentation generation
  • Integration with DbtApiClient

useDbtIDE Hook

const {
  project,
  activeFile,
  compiledSql,
  openFile,
  compile,
  run,
  test,
  generateDocs,
} = useDbtIDE(projectId);