Skip to main content
MIRA’s renderer and main process communicate through a typed IPC bridge. The preload script exposes window.api using Electron’s contextBridge. All channel names and payload types are defined in src/shared/ipc-types.ts.

Usage pattern

Invoke channels

Sessions & Messages

RLM Engine

Native Agent Engine (NAE)

Documents

Skills

Workflows

MCP Tools

Credentials

Settings & App

Eval Framework

Other


Event channels (main → renderer)

Listen with window.api.on(channel, handler). The call returns an unsubscribe function.

RLM Engine events

NAE events

Workflow events

Eval events

Other events

Edit this page — Open a pull request