# Rays > Rays is a free, open-source (AGPL-3.0) download manager for macOS 26 by a6n. It downloads each file in parts over several connections, and its sorter moves new files into folders that fit them using Apple's on-device model. One command, `dl`, covers downloads, sorting and an MCP server for AI assistants. ## Install - [Download Rays.dmg](https://rays.a6n.ai/download/Rays.dmg?src=agent): open it and drag Rays to Applications. On first open, approve it in System Settings > Privacy & Security > Open Anyway. - Homebrew: `brew trust a6n-ai/tap && brew install --cask a6n-ai/tap/rays` (also puts `dl` on PATH; no Gatekeeper step). - `dl` ships inside Rays.app; DMG installs add it to PATH from Settings > General > Command line tool. ## Docs - [Getting started](https://rays.a6n.ai/docs/getting-started/): install, first download, turn on sorting. - [Features](https://rays.a6n.ai/docs/features/): everything Rays does, its limits in numbers, and what it does not do (torrents, video grabbing, Windows and Linux). - [How the engine works](https://rays.a6n.ai/docs/engine/): adaptive connections, crash-safe resume, and the A/B benchmarks behind each choice, with the script to rerun them. - [Install](https://rays.a6n.ai/docs/install/), [Downloads](https://rays.a6n.ai/docs/app/downloads/), [Add downloads](https://rays.a6n.ai/docs/app/add-links/), [Shortcuts and the Share menu](https://rays.a6n.ai/docs/app/shortcuts/), [Sorter](https://rays.a6n.ai/docs/app/sorter/), [Models](https://rays.a6n.ai/docs/app/models/), [Queues and schedules](https://rays.a6n.ai/docs/app/queues/), [Speed test and best time](https://rays.a6n.ai/docs/app/speed/), [Browser extension](https://rays.a6n.ai/docs/app/browser/) ([Chrome Web Store](https://chromewebstore.google.com/detail/mgepiogdappnhmohefhalmeppkfciail), [Firefox Add-ons](https://addons.mozilla.org/firefox/addon/rays@a6n.ai/)), [Settings](https://rays.a6n.ai/docs/app/settings/), [S3 buckets](https://rays.a6n.ai/docs/s3/), [MCP](https://rays.a6n.ai/docs/mcp/), [Troubleshooting](https://rays.a6n.ai/docs/troubleshooting/). - [The dl command](https://rays.a6n.ai/docs/dl/): `dl URL...`, `dl s3://BUCKET/KEY`, `dl bucket`, `dl ls`, `dl list`, `dl add --queue`, `dl add --sha256`, `dl add --mirror`, `dl relink`, `dl grab`, `dl add --best-time`, `dl queues`, `dl speed`, `dl speed test [--force]`, `dl queue`, `dl verify`, `dl sort`, `dl watch`, `dl status`, `dl config`, `dl mcp`, exit codes and environment variables. - [Release notes](https://rays.a6n.ai/releases/): what changed in each version. - [Source code](https://github.com/a6n-ai/rays): Rust engine, SwiftUI app, `dl` CLI, sorter, browser extension. ## MCP - Start the server with `dl mcp` (stdio). Claude Code: `claude mcp add rays -- dl mcp`. Any client: `{"command": "dl", "args": ["mcp"]}`. - Tools: `add_downloads` (http/https/s3 links, optional `queue` or `best_time`, per-link `sha256` and `mirrors`), `list_downloads`, `grab_links`, `relink`, `list_queues`, `start_queue`, `stop_queue`, `run_queue_now`, `speed_test` (optional `force`), `best_time`, `verify_model`, `list_buckets`, `browse_bucket`, `sorter_status`, `sort_folder` (dry run unless `dry_run` is false). ## Facts - Menu bar icon with a badge for downloads running, and a panel to pause, resume, add links, see the latest four downloads and open Downloads, Sorter and Cloud; the Dock icon shows progress and a count. Closing the window keeps Rays running (Settings > General > Show in menu bar). - Queues: Main queue always exists; downloads go into a queue only when one is picked, otherwise they start now in no queue; more queues each have their own speed limit, simultaneous count, schedule (Once, Every day, On days; start and optional stop, local time), conditions (Wi-Fi not a hotspot, charging, Mac idle 5 minutes) and a when-finished action (sound, quit, sleep, lock, shut down, run command; 30 second countdown for quit, sleep and shut down). Wake the Mac to start is optional and needs a one-time administrator password. Speed test measures download speed and keeps 60 days of results on the Mac; Best time queue runs downloads in the fastest window it learns (01:00 to 06:00 until it has 7 days of data). - Model verify: checks downloaded Hugging Face files against the size and SHA-256 Rays recorded, offline, and re-downloads only the bad files. - Downloads list: Filter and Sort menus, pages of 25, 50, 100 or 200 on every long list, Remove Missing, double-click to open. Copied download links are offered in a notification. - Browser extension popup: connection status, paste a link, Send all browser downloads to Rays. Settings > Browsers lists every browser; Brave, other Chromium and Firefox browsers, and Search are supported. - Checksums: paste a SHA-256 next to a link; a file that does not match is deleted and the download fails. - Mirrors: several links to the same file on one line become mirrors; connections use the fastest, a failing link is dropped. - Expired links: a 403, 404 or 410 after the download started shows Link expired; Update link keeps the bytes when the new link reports the same size. - Find links on a page: lists the file links on a web page (no JavaScript is run) to pick and download. - Notifications when downloads finish or fail, with Open, Show in Finder and Retry. Share menu extension sends links to Rays (nothing downloads until you press Download). Shortcuts, Spotlight and Siri actions with no setup: Add download, Start queue, Stop queue, Run speed test, Pause all, Resume all, Download copied link. - Activity: a dot on Downloads while something downloads, and a sidebar card with files, speed and time left. Removing or trashing a download shows an Undo pill (also Command-Z). The add bar's + menu lists links, links on a page, cloud, Hugging Face, checksum and mirror. - Requires macOS 26 or later. No account; sorting runs on the Mac and nothing is uploaded. - Files of 32 MB or more start on 4 connections (smaller ones on one) and double, up to 16, only while each step makes the download faster; slow connections are reconnected (details: https://rays.a6n.ai/docs/engine/); up to 5 automatic retries; downloads resume after pause or quit. - S3 buckets: AWS S3, Cloudflare R2, Backblaze B2, Wasabi, DigitalOcean Spaces, Google Cloud Storage (HMAC), Hetzner, Linode, Scaleway, OVHcloud, Oracle, Alibaba OSS, Supabase, Tigris, MinIO and any S3-compatible endpoint. Secret keys stay in the macOS Keychain; MCP cannot add buckets. - Sorter categories: Work, Personal, Images, Installers, Archives, Media, Code, Other. ## Optional - [a6n](https://a6n.ai): the team that makes Rays. Contact hi@a6n.ai.