aria2
$ aria2c Community Low Riskaria2 (aria2c) accelerates file downloads using segmented multi-connection transfers (-x, -s), supports BitTorrent and Metalink, resumes partial transfers (-c), and exposes an optional JSON-RPC/XML-RPC interface (--enable-rpc). Ideal for headless automation when fetching large artifacts reliably.
brew install aria2 aria2c streams multi-gigabyte segmented downloads directly to local disk with resume and checksum verification, which cannot be routed through an MCP server.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Deterministic flags (-x, -s, -d, -o, --checksum, --show-files) and JSON-RPC mode, though standard CLI output is progress text rather than --json.
- Supports non-interactive batch downloads (
-i urls.txt) and JSON-RPC (--enable-rpc) - CLI progress stdout is unstructured unless silenced (
-q)
Supports --checksum integrity verification and --allow-overwrite=false defaults, though writing arbitrary files requires explicit -d/-o scoping.
- Built-in
--checksumhash verification and--rpc-secretauth - Refuses silent overwrites unless
--allow-overwrite=trueis passed
Fast native C++ binary packaged in Homebrew, apt, apk, winget, and Chocolatey across macOS, Linux, and Windows.
- Lightweight C++ binary available across all major package managers
Significantly faster and more resilient than curl for multi-connection, resumable, or multi-source downloads.
- Supports HTTP/HTTPS, FTP, SFTP, BitTorrent, and Metalink in one binary
Mature GPL-2.0 community project (aria2/aria2) with stable core behavior and slow release cadence.
- Long-standing
aria2/aria2repository under GPL-2.0
Detailed official manual and tagged --help=#<tag> help sections.
- Manual at aria2.github.io/manual and categorized
--help=#http
Security, Auth & Guardrails
Reads optional HTTP/FTP credentials from ~/.netrc or ~/.aria2/aria2.conf and RPC secrets via --rpc-secret.
GPL-2.0 open-source C++ binary; completely free.
# aria2 (aria2c) Agent Rules - Always specify an explicit output directory (`-d`) and filename (`-o`) when downloading. - Use `--checksum=sha-256=<hex>` when verifying downloaded artifacts. - Inspect `.torrent` contents with `--show-files` before starting a transfer.
Agent-Ready Command Recipes
Safe Read-Only Queries
aria2c --show-files package.torrent
Prints file indices, sizes, and infohash metadata from a .torrent or .metalink and exits immediately.
aria2c --help=#http
Displays all HTTP/HTTPS transfer flags and defaults locally.
Controlled Writes & Previews
aria2c -x 16 -s 16 -c -d /tmp/downloads -o archive.tar.gz https://example.com/archive.tar.gz
Fetches a remote archive into /tmp/downloads using 16 parallel connections with resume support (-c).
Strengths for Agents
- + Segmented
-x 16 -s 16transfers,-cresume, and--checksumverification outperformcurlon large artifacts. - + Zero runtime dependencies and tiny memory footprint.
Caveats & Pitfalls
- ! Standard CLI stdout emits live progress bars unless
-qor--summary-interval=0is passed. - ! Does not provide a
--jsonflag for one-shot download summaries (JSON is RPC-only).