Jarvis AI Assistant
Jarvis is FacilFlow's AI-powered assistant that helps you manage pipelines, explore data, and get answers through natural conversation.
Accessing Jarvis
There are two ways to open the Jarvis chat panel:
- Keyboard shortcut: Press
Ctrl+K(orCmd+Kon Mac) - Chat bubble: Click the floating button in the bottom-right corner
Chat Interface
┌─────────────────────────────────────────┐
│ Jarvis ✕ │
├─────────────────────────────────────────┤
│ │
│ Your messages appear here... │
│ │
│ Jarvis responses stream in real-time │
│ │
├─────────────────────────────────────────┤
│ Ask Jarvis anything... ➤ │
└─────────────────────────────────────────┘
Sending Messages
- Type your question or request in the input field
- Press
Enteror click the send button - Watch as Jarvis streams the response in real-time
Canceling Requests
If Jarvis is taking too long, click the Cancel button that appears during streaming to stop the response.
Artifact Rendering
Jarvis can generate rich artifacts that display directly in the chat:
Chart Artifacts
When you ask data-related questions, Jarvis may generate interactive charts:
- Line charts: Time-series trends
- Bar charts: Comparisons and distributions
- Area charts: Cumulative values
- Pie charts: Proportional breakdowns
Table Artifacts
Structured data is displayed in sortable tables with:
- Column headers with labels
- Formatted cell values
- Support for nested objects
Code Artifacts
Code snippets include:
- Syntax highlighting by language
- Copy-to-clipboard button
- Language badge indicator
Mermaid Diagrams
Jarvis can generate diagrams using Mermaid syntax:
- Flowcharts
- Sequence diagrams
- Entity-relationship diagrams
- State diagrams
Canvas Panel
When Jarvis generates artifacts, a Canvas Panel opens on the right side:
- View artifacts in a larger viewport
- Switch between multiple artifacts using tabs
- Close the panel with the X button
Example Prompts
Here are some things you can ask Jarvis:
Pipeline Management
- "List all my pipelines"
- "Show me running pipelines"
- "What's the status of the production pipeline?"
Data Exploration
- "What data sources are available?"
- "Show me the last 24 hours of temperature readings"
- "Query the sensor data from plant-houston"
Help & Documentation
- "How do I create a new pipeline?"
- "What node types are available?"
- "Explain how edge agents work"
Technical Details
Streaming
Jarvis uses Server-Sent Events (SSE) for real-time response streaming. This means:
- Responses appear immediately as they're generated
- No waiting for the full response to complete
- Smooth, token-by-token rendering
Authentication
Jarvis uses Claude Code CLI integration with OAuth authentication. This leverages your existing Claude Code credentials stored in ~/.claude/.credentials.json.
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+K / Cmd+K | Open/close Jarvis panel |
Enter | Send message |
Escape | Close panel |