Frontend

Frontend UI

The Tauri desktop app ships with a built-in web-based dashboard for managing providers, permissions, and monitoring.

Dashboard

WhatsApp

Bridge Status

LLM Provider

Active Provider

Actions Today

Journal Count

Active Risk

Current Level

The dashboard shows real-time status of the WhatsApp bridge, active LLM provider, action journal count, and current risk level. A system tray icon provides quick access — click to show/hide the window.

Providers Tab

Configure and switch between 6 LLM providers:

  • • Toggle providers on/off
  • • Select active provider from dropdown
  • • Live model list for Ollama
  • • Set API keys via environment variables

Permissions Tab

Full policy management interface with searchable contacts table:

  • • Per-tool permission toggles (Shell, File, Media, Apps, WhatsApp)
  • • Searchable contacts table with allowlist checkboxes
  • • Per-contact mode dropdown (Assistant/Chat/Summarize/Blocked)
  • • Risk profile reference cards
  • • All changes sync to the backend instantly

Chat Tab

Built-in chat interface for monitoring conversations:

  • • Left panel: searchable contact list with avatars
  • • Right panel: message history with incoming/outgoing bubbles
  • • Message metadata: timestamps and media type indicators
  • • Pending actions panel for reviewing high-risk operations
  • • Messages fetched from SQLite via list_messages command

Action Log

Monitor all executed actions:

  • • Timestamp, action type, status, reversibility
  • • Refresh button for live updates
  • • Integrated with undo journal

Settings Tab

App configuration:

  • • WhatsApp Bridge URL and API key
  • • Ollama endpoint
  • • Settings saved to localStorage

Tauri Integration

The frontend communicates with the Rust backend via Tauri commands:

get_status

Dashboard status

process_message

Send message to LLM

handle_action

Execute an action

undo_last

Undo last action

list_models

Fetch available models

set_active_provider

Switch provider

get_policy

Get policy state

update_permissions

Toggle tool perms

update_allowlist

Add/remove JID

update_contact_mode

Set contact mode

list_chats

List WhatsApp chats

search_contacts

Search contacts

list_contacts

All contacts merged

list_messages

Messages for a chat

logout_bridge

Disconnect & clear auth