Skip to content

Notifications

Magia notifies you when something in a session needs attention. Notifications appear both inside the app (the bell icon in the navbar) and as native OS notifications when the app window is not focused.

There are four notification types, each with a distinct icon and color:

TypeIconColorWhen used
attentionWarning triangleAmberAgent is waiting for permission approval
errorCircle XRedSession error or session ended with an error
completedCircle checkGreenAgent finished its turn, ready for input
infoInfo circleBlueGeneral informational messages

The following agent events are mapped to notifications:

Agent eventNotification typeTitle
turn.endedcompleted”Agent finished”
session.errorerror”Session Error”
session.ended (with error)error”Session Error”
permission.requestedattention”Permission Required”

session.ended without an error does not produce a notification (the preceding turn.ended already covers the completed state).

Click the bell icon in the navbar to open the notification panel. It shows all active (non-dismissed) notifications sorted by most recent first. Unread notifications have a highlighted background. The bell icon shows an unread count badge when there are unread items.

Each notification entry shows:

  • The notification type icon.
  • The provider icon (if the session is tied to a specific LLM provider).
  • Title and optional message body.
  • Project name and session name as breadcrumb context.
  • A relative timestamp (“2 minutes ago”).

Click a notification to mark it as read and navigate directly to the associated session. If the notification has no sessionId, clicking marks it as read without navigation.

Dismiss (the X button on hover) removes the notification from the panel permanently.

Mark all as read clears the unread count in one click.

Native notifications are sent via @tauri-apps/plugin-notification when:

  1. The app window is not focused at the time the event arrives.
  2. Desktop notifications are enabled (desktopNotificationsEnabled).
  3. OS notification permission is granted (Magia requests it on first use).

The native notification title includes the project name (e.g., “Agent finished — my-project”). The body includes the project name, session name, and event message.

Duplicate events for the same session within a 3-second window are deduplicated to prevent double notifications from stale connections.

Navigate to Settings → Notifications to configure:

SettingDefaultDescription
Enable notificationsOnMaster switch; disables all notifications when off
Session completedOnturn.ended and non-error session.ended
Session errorOnsession.error and error session.ended
Agent waitingOnpermission.requested
System updatesOnApp update alerts
SoundOnPlay a sound with each notification
Desktop notificationsOnSend native OS notifications when unfocused

Turning off the master switch overrides all granular settings. Individual toggles only apply when the master switch is on.