Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

aria2

$ aria2c Community Low Risk
aria2 · Browser & Web · GPL-2.0 · macos / linux / windows

aria2 (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.

FCRS-1.0 Score
80 /100
Good
Medium Confidence
Zero-Friction Install
brew install aria2
CLI vs MCP Decision CLI Only

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

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 18 / 25

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)
Trust & Safety 20 / 25

Supports --checksum integrity verification and --allow-overwrite=false defaults, though writing arbitrary files requires explicit -d/-o scoping.

  • Built-in --checksum hash verification and --rpc-secret auth
  • Refuses silent overwrites unless --allow-overwrite=true is passed
Setup & Portability 15 / 15

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
Utility & Efficiency 12 / 15

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
Maintenance & Lineage 7 / 10

Mature GPL-2.0 community project (aria2/aria2) with stable core behavior and slow release cadence.

  • Long-standing aria2/aria2 repository under GPL-2.0
Docs & Verifiability 8 / 10

Detailed official manual and tagged --help=#<tag> help sections.

  • Manual at aria2.github.io/manual and categorized --help=#http

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Reads optional HTTP/FTP credentials from ~/.netrc or ~/.aria2/aria2.conf and RPC secrets via --rpc-secret.

Side Effects
Read-Only Local Write
Cost & Quotas

GPL-2.0 open-source C++ binary; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Inspect torrent file listing without downloading
aria2c --show-files package.torrent

Prints file indices, sizes, and infohash metadata from a .torrent or .metalink and exits immediately.

Check supported HTTP options and build features
aria2c --help=#http

Displays all HTTP/HTTPS transfer flags and defaults locally.

Controlled Writes & Previews

Download a large file with 16 connections
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 16 transfers, -c resume, and --checksum verification outperform curl on large artifacts.
  • + Zero runtime dependencies and tiny memory footprint.

Caveats & Pitfalls

  • ! Standard CLI stdout emits live progress bars unless -q or --summary-interval=0 is passed.
  • ! Does not provide a --json flag for one-shot download summaries (JSON is RPC-only).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI