Deep Links
Maestro registers themaestro:// URL protocol, enabling navigation to specific agents, tabs, and groups from external tools, scripts, shell commands, and OS notification clicks.
URL Format
Available Actions
IDs containing special characters (
/, ?, #, %, etc.) are automatically URI-encoded and decoded.
Usage
From Terminal
From Tab Menu
Right-click or hover on any AI tab to reveal the tab overlay menu, which includes a Copy Deep Link option. This copies the fullmaestro://session/{id}/tab/{tabId} URL to your clipboard - ready to paste into chat, tickets, documentation, or scripts.
OS Notification Clicks
When Maestro is running in the background and an agent completes a task, the OS notification is automatically linked to the originating agent and tab. Clicking the notification brings Maestro to the foreground and navigates directly to that agent’s tab. This works out of the box - no configuration needed. Ensure OS Notifications are enabled in Settings.Template Variables
Deep link URLs are available as template variables in system prompts, custom AI commands, and Auto Run documents:
These variables can be used in:
- System prompts - give AI agents awareness of their own deep link for cross-referencing
- Custom AI commands - include deep links in generated output
- Auto Run documents - reference agents in batch automation workflows
- Custom notification commands - include deep links in TTS or logging scripts
From Scripts and External Tools
Any application can launch Maestro deep links by opening the URL. This enables integrations like:- CI/CD pipelines that open a specific agent after deployment
- Shell scripts that navigate to a group after batch operations
- Alfred/Raycast workflows for quick agent access
- Bookmarks for frequently-used agents
Prompt Links
A Prompt Link is amaestro://run/{token} URL that opens a new AI tab in an agent you chose and sends a prompt you wrote. Paste one into a calendar event, a note, a bookmark, or a script, and clicking it runs that prompt.
Prompt Links is an Encore Feature, off by default. Turn it on in Settings > Encore Features > Prompt Links, or with maestro-cli encore enable prompt-links.
Create a link
- Prompt Links window: press
Opt+Cmd+Shift+L, search Prompt Links in the command palette, or choose Prompt Links in the Left Bar hamburger menu. - From a tab: open an AI tab’s menu and choose Create Prompt Link. The form starts on that agent, with the tab’s unsent draft as the prompt.
- From the CLI:
maestro-cli prompt-link create <agent> "<prompt>"prints the URL.
Background leaves your view where it is and raises a toast when the link runs. Click the toast to go to the new tab. Foreground brings Maestro forward on the new tab.
Use unlimited (or a number of uses) for a link you mean to reuse, such as one in a recurring calendar event. A one-shot link in a recurring event works for the first occurrence only.
Manage links
The Prompt Links window and the Prompt Links tile in Settings list your links with their uses, expiry, and last run. Revoke stops a link for good. Turning Prompt Links off stops every link at once; the links are kept, and can still be revoked with the CLI.What happens when a link runs
If you only need a prompt to run at a set time, you do not need a link. Use a scheduled task instead:
maestro-cli cue schedule --at "2026-12-01 09:00" --agent "My Agent" --prompt "...". A Prompt Link is for when your click is the trigger.Platform Behavior
Maestro uses a single-instance lock - opening a deep link when Maestro is already running delivers the URL to the existing instance rather than launching a new one.
In development mode, protocol registration is skipped by default to avoid overriding the production app’s handler. Set
REGISTER_DEEP_LINKS_IN_DEV=1 to enable it during development.Related
- Configuration - OS notification settings
- General Usage - Core UI and workflow patterns
- MCP Server - Connect AI applications to Maestro