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

Notebook IDE

The Notebook IDE at frontend/agentic-workbench/src/components/NotebookIDE/ provides a Jupyter-style notebook editor with versioning and execution tracking.


Components

ComponentFilePurpose
NotebookIDEViewNotebookIDEView.tsxMain notebook layout
NotebookEditorNotebookEditor.tsxCell-based editor
NotebookVersioningNotebookVersioning.tsxVersion history
NotebookExecutionTrackerNotebookExecutionTracker.tsxExecution progress

Features

  • Code cells with Python execution
  • Markdown cells with live preview
  • Cell reordering via drag-and-drop
  • Variable inspector
  • Version history with diff viewing
  • Execution tracking with timing
  • Integration with AI service for code suggestions

useNotebook Hook

const {
  cells,
  addCell,
  removeCell,
  executeCell,
  executeAll,
  saveVersion,
  loadVersion,
  versions,
} = useNotebook(notebookId);