Skip to content

✨ Raycast extension for Loop with CLI and Raycast AI support #1214

In progress

Description

@justsrc

Feature Request Summary

Add a Raycast extension for Loop that lets users trigger window actions from Raycast, and provides Raycast AI tools for natural language window management.

Problem / Opportunity & Desired Solution

Context

Window management is a common workflow in Raycast, which has built-in window commands and extensions for tools like Rectangle. However, Raycast currently has no integration for Loop.

Loop users who rely on Raycast as their main launcher must manage windows through keybinds or radial menus rather than search them from their launcher.

With PR #1076 in Loop 1.4.3 and later, Loop provides a CLI (loop run, loop list ... --json) and a URL scheme (loop://run/...). Raycast extensions can also register AI tools, which lets Raycast AI invoke functions through natural language. These capabilities make it straightforward to control Loop from Raycast through both the command palette and Raycast AI.

Desired solution

Build a Raycast extension that connects to Loop:

  1. Standard commands. Provide Raycast root commands for built-in actions, such as halves, thirds, quarters, maximize, center, and display cycling.
  2. Dynamic actions. Fetch user-defined keybinds and radial menu actions with loop list keybinds --json and loop list radial-menu --json, as well as runnable gestures or built-in actions with loop list gestures --json and loop list actions --json. Show them in an action picker command.
  3. Raycast AI tools. Expose three tools to Raycast AI:
    • listWindows: runs loop list windows --json to return window IDs, app names, bundle IDs, titles, and frames.
    • listScreens: runs loop list screens --json to return connected displays.
    • runAction: runs loop run <target> with optional target flags like --window-id, --bundle-id, or --screen-id.
      This allows queries like "move this window to the left two thirds" or "send Safari to the external display".
  4. Execution path. Run commands through the loop binary at /usr/local/bin/loop or on PATH. If the CLI helper is not installed, static commands can fall back to loop://run/<target>, though the URL scheme cannot launch non-running apps or power the dynamic picker and AI tools.
  5. Visual assets. Use Loop's icons in the Raycast list view.

Alternatives Considered

  1. Raycast built-in window commands. This forces users to manage windows through two different systems with separate behaviors and configurations.
  2. Relying solely on keybinds or the radial menu. This works well for daily shortcuts, but is harder for occasional layouts or for users who prefer launcher search over memorizing hotkeys.
  3. Custom shell scripts in Raycast. Individual scripts can call loop run, but users have to write and maintain them manually, with no action discovery or AI tools.

Visuals or References

Additional Context

Priority

Low (nice to have)

Final Checks

  • My issue title is descriptive.
  • My issue is written in English.
  • This is a single feature request (multiple feature requests should be reported individually).
  • I have looked to see if this is a duplicate of another feature request.
  • I can help with research or testing.
  • I can help code this feature.

Activity

  1. justsrc commented on Nov 23, 2026

    @justsrc
    Author

    @mrkai77 Please let me know if any part of this proposal should be added, changed, or scoped differently before development begins.

    Also, will this extension be an official extension under the Loop brand like https://github.com/thaw-app/raycast-extension for Thaw, a menubar manager app for Mac? Or will it be a semi-official thing like my raycast extension for gram?

  2. SenpaiHunters commented on Nov 26, 2026

    @SenpaiHunters
    Collaborator

    Hi @justsrc,

    Thanks for the thoughtful proposal, and for offering to build and maintain the extension. We already have an official Raycast integration in development and are testing it privately. We will handle the implementation and release once it’s ready, so there’s nothing you need to take on. We really appreciate your interest and willingness to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions