command_notifications in midway.yaml to adjust these settings. Send notifications to your desktop or configure a messaging service.
Quick start
Install Midway with Cargo, or choose another installation method, then create a configuration and run a command:AI agent notifications
Use your coding agent’s lifecycle hooks to callmidway send-text when an agent finishes or needs approval. Guides for Claude Code, Codex CLI, GitHub Copilot, Gemini CLI, Antigravity CLI, OpenCode, and Cursor are in the agent documentation.
Use --background in hooks so the notification still sends if the agent or hook process is interrupted.
By default, Midway selects all notification methods. Set notification.send_to in midway.yaml to restrict the methods, and use pick_from to control how many listed methods receive each notification.