Skip to content

forge-ui

Vue.js chat interface for interacting with AI agents through the Forge Orchestrator. Features real-time streaming, multi-model support, and tool call visualization.

Features

FeatureDescription
SSE StreamingReal-time response streaming via Server-Sent Events
Multi-Model SupportSwitch between OpenAI, Anthropic, Google, and 300+ OpenRouter models
Tool Call VisualizationExpandable tool calls showing arguments and results
Thinking BlocksCollapsible reasoning display for models that support it
Conversation ManagementSave, export, and import conversations as JSON
Dark/Light ModeTheme toggle with persistent preference

Screenshots

Welcome Screen

Start a new conversation or import a previously exported one.

Forge UI Welcome Screen

Chat Interface

Real-time conversation with tool call chips and markdown rendering.

Forge UI Chat Interface

Tool Call Details

Click any tool call to inspect arguments and results.

Tool Call Details

Model Management

Browse and configure models from multiple providers. Fetch available models, add custom endpoints, and manage favorites.

Model Management

Installation

bash
# Clone the repository
git clone https://github.com/agentic-forge/forge-ui.git
cd forge-ui

# Install dependencies
npm install

# Start development server
npm run dev

The UI runs on port 4040 by default: http://localhost:4040

Configuration

forge-ui connects to the Orchestrator API. Configure the endpoint in the Advanced settings or via environment variable:

bash
VITE_ORCHESTRATOR_URL=http://localhost:4041

Architecture

forge-ui
├── src/
│   ├── components/
│   │   ├── ChatMessage.vue      # Message rendering with markdown
│   │   ├── ToolCallChip.vue     # Expandable tool call display
│   │   ├── ThinkingBlock.vue    # Collapsible reasoning
│   │   └── ModelSelector.vue    # Model picker dropdown
│   ├── views/
│   │   └── ChatView.vue         # Main chat interface
│   └── services/
│       └── api.ts               # SSE streaming client

Keyboard Shortcuts

ShortcutAction
EnterSend message
Shift+EnterNew line in input
EscapeCancel generation

Technology Stack

LayerTechnology
FrameworkVue 3 + TypeScript
UI ComponentsPrimeVue 4 (Aura theme)
StylingCSS Variables + PrimeVue tokens
StreamingServer-Sent Events (SSE)
StateVue Composition API

Building efficient AI agents