Thrum

What is AMPLibraryAgent, and why is it using so much CPU?

Last reviewed: 19 November 2026. Path, launchd job and man page checked on macOS 26.3.1.

AMPLibraryAgent is the macOS agent that manages your media library for the Music and TV apps: the database of songs, videos and playlists. It is busy when those apps open a large library, import files, sync with iCloud or sync a device. Activity normally settles once the library is up to date.

AMPLibraryAgent at a glance

AMPLibraryAgent
Made byApple (part of macOS, Music and TV)
TypePer-user agent
Location/System/Library/PrivateFrameworks/AMPLibrary.framework/Versions/A/Support/AMPLibraryAgent
Runs asyour user
Started bylaunchd job com.apple.AMPLibraryAgent
Can you quit it?Yes, when Music and TV are closed. launchd starts it again when they or a device sync need the library.

What is AMPLibraryAgent?

The AMPLibraryAgent(8) man page calls it the media library agent for Music.app and TV.app: a per-user daemon which manages the user's media, with no options, not to be run manually. The Music and TV apps show the library, while AMPLibraryAgent maintains it.

It runs as your user through the launchd agent com.apple.AMPLibraryAgent, which provides library, framework and sharing services. Artwork is handled by a separate agent, AMPArtworkAgent. By default the Music library lives in ~/Music/Music.

Is AMPLibraryAgent safe?

Yes. It is part of macOS inside the AMPLibrary private framework and is signed by Apple.

Why does AMPLibraryAgent use so much CPU, disk, network and memory?

How much CPU is normal for AMPLibraryAgent?

Typical: not running when Music, TV and device syncing are not in use. While they are, short bursts of CPU, and longer ones after an import or sync.

High CPU for a long time with Music and TV closed is not normal.

How do you stop AMPLibraryAgent from using so much CPU?

  1. Let imports and syncs finish. After adding many files or turning on library sync, keep Music open until the activity at the top of the window finishes.
  2. Quit Music and TV. Quit both apps when not using them; the agent then has little to do.
  3. Check Sync Library. In Music, choose Music > Settings > General. If you do not use iCloud Music Library, turning off Sync Library stops library sync work.
  4. Quit it once. If it stays busy with the apps closed, quit it in Activity Monitor. launchd starts it again when needed.

When should you worry about AMPLibraryAgent?

Look closer if it uses high CPU for hours with Music and TV closed and no device connected.

A copy outside the AMPLibrary framework would not be Apple's.

How do you check AMPLibraryAgent in Activity Monitor and Terminal?

Open Activity Monitor (Applications > Utilities), and type AMPLibraryAgent in the search field. The CPU tab shows its % CPU. The Disk tab shows its Bytes Written and Bytes Read. The Network tab shows its Sent Bytes and Rcvd Bytes. The Memory tab shows its Memory. Double-click the row for its parent process, memory details and open files.

In Terminal, the first command lists every AMPLibraryAgent process with its PID, user, CPU and memory (RSS is resident memory in kilobytes). fs_usage prints each file it reads or writes until you press Control-C; it needs an administrator password. nettop shows its live network traffic.

ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'AMPLibraryAgent' | grep -v grep
sudo fs_usage -w -f filesys AMPLibraryAgent
nettop -p AMPLibraryAgent

How can Thrum help with AMPLibraryAgent?

Thrum keeps a live CPU graph in the menu bar. One click shows the eight processes using the most CPU, so you can see when AMPLibraryAgent is among them and how much it takes. An optional alert tells you when a process stays above a CPU level you choose (50 to 200% of one core) for 1 to 10 minutes. Click AMPLibraryAgent in the list for its PID, threads and memory, and Quit or Force Quit it after a confirmation.

Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.

Questions about AMPLibraryAgent

Is AMPLibraryAgent the same as the Music app?

No. Music is the app you see; AMPLibraryAgent is the background process that manages the library data the app shows.

Why is AMPLibraryAgent running when Music is closed?

Device syncing and other system parts can use the library. It exits after a period of inactivity.

Sources