Getting Started5 min read

The Work Item Workbench

Master the Workbench interface - your central hub for AI-powered code generation with four customizable panels.

The Work Item Workbench

The Workbench is where you interact with AI to generate and review code. This guide explains each panel and how to use them effectively.

Overview

The Workbench has a four-panel layout that you can resize by dragging the panel borders:
PanelPositionPurpose
Chat PanelLeftWrite prompts and view conversation history
Changes PanelLeft-middleBrowse generated files
Code ViewerCenterReview and edit code
Context PanelRightSelect files and knowledge for context

Chat Panel

The Chat Panel is your main interface for communicating with AI.

Writing Prompts

Type your request in the message input at the bottom. Be specific about what you want:
  • Good: "Create a UserService class with methods for getUserById, createUser, and deleteUser that connects to the PostgreSQL database"
  • Less effective: "Make a user service"

Conversation History

Previous messages appear above the input. Each iteration shows:
  • Your prompt
  • Generation status (processing, completed, or failed)
  • Number of files generated
  • Timestamp

AI Model Selection

Click the model dropdown to choose which AI model generates your code. Different models have different capabilities and speeds.

Personality Selection

Select a Personality to tune AI behavior. Personalities act as system prompts that guide the AI's approach to your request.

Iteration Selector

Switch between iterations to compare different versions of generated code. Earlier iterations remain available for reference or reversion.

Keyboard Shortcuts

  • Ctrl/Cmd + Enter: Send message
  • Drag files: Drop files from the Context Panel into the message input to reference them

Changes Panel

The Changes Panel shows files created or modified by the AI.

File Tree

Files are organized by type:
  • Code: Source code files (.ts, .js, .py, etc.)
  • Docs: Documentation files (.md)
  • Knowledge: Knowledge Base articles
  • Personalities: AI Personality definitions
  • Meetings: Meeting transcript references

File Status Indicators

  • New file: File does not exist in your project
  • Modified: File exists and has changes
  • Deleted: File marked for removal

Selecting Files

Click a file to view it in the Code Viewer. Selected files highlight in the tree.

Collapsing the Panel

Click the collapse button to hide the Changes Panel and give more space to the Code Viewer.

Code Viewer

The Code Viewer displays file contents with syntax highlighting.

Viewing Code

Select a file from the Changes Panel to display its contents. The viewer supports:
  • Syntax highlighting for most programming languages
  • Line numbers
  • Code folding

Diff View

Toggle Diff View to see a side-by-side comparison:
  • Left side: Original file from your project (or empty for new files)
  • Right side: AI-generated version
  • Green lines: Additions
  • Red lines: Deletions
Tip: Always use Diff View before applying changes to understand exactly what the AI modified.

Editing Code

  1. Click Edit in the toolbar
  2. Make changes directly in the editor
  3. Click Save to update the generated file, or Cancel to discard edits
Edited files update in the current iteration. Your edits persist when you apply changes.

Plan View

When you generate a Plan (instead of code), the viewer shows the execution plan in markdown format. Review the plan before generating actual code.

Markdown Preview

For markdown files, toggle between Source and Preview modes to see rendered content.

Terminal (Desktop Only)

The bottom of the Code Viewer includes an integrated terminal. Click the terminal icon to expand it.
Use the terminal to:
  • Run build commands
  • Execute tests
  • Check file contents
  • Run any command in your project directory
Note: The terminal is only available in the AngenAI desktop application.

Context Panel

The Context Panel lets you select what information the AI receives when generating code.

Source Files

Browse your project's file tree and select relevant files:
  1. Expand folders to find files
  2. Check the box next to files to include them
  3. Use the search box to filter by filename
Tip: Select only files relevant to your task. Including too many files can reduce AI accuracy and slow generation.

Knowledge Base

Attach Knowledge articles to provide documentation context:
  1. Expand the Knowledge section
  2. Browse Organization-wide or Project-scoped articles
  3. Check articles to include them
  4. Click the preview icon to read an article before selecting

Media Library

Include images for visual context:
  1. Expand the Media section
  2. Browse uploaded images
  3. Select images to include (e.g., UI mockups, error screenshots)

Meetings

Attach meeting transcripts for context:
  1. Expand the Meetings section
  2. Select relevant meeting notes
  3. Transcripts help AI understand requirements discussed in meetings

Collapsing the Panel

Click the collapse button to hide the Context Panel. Useful when focusing on code review.

Resizing Panels

Drag the borders between panels to adjust their width:
  • Drag left border of Changes Panel to resize Chat Panel
  • Drag right border of Changes Panel to resize Code Viewer
  • Drag left border of Context Panel to resize Code Viewer
AngenAI remembers your panel sizes for each Work Item.

What's Next?