What is AMPLibraryAgent?

AMPLibraryAgent is the media library agent for Music and TV. Its man page says it is a per-user daemon that manages the user's media.

Fix this with your agentCopies a prompt for Claude Code, Codex or any agent that can use Terminal.

I want to know what AMPLibraryAgent is doing on my Mac and whether its network use is normal. Read https://kilobat.app/processes/amplibraryagent.md and work through it with me. Install the Kilobat CLI if it’s missing: brew install seifip/kilobat/kilobat. Run the guide’s Terminal and kilobat checks yourself and tell me what you find. List the steps only I can do. Ask before you change any setting.

Process: AMPLibraryAgentMade by AppleApplies to: Checked on macOS 27.2.Checked: 7 November 2026

Short answer

Part of macOS. Its man page says it is the media library agent for Music and TV and manages the user's media.

Block with care

Blocking it should change little on the network. It may stop Music and TV from reading the library.

Path
/System/Library/PrivateFrameworks/AMPLibrary.framework/Versions/A/Support/AMPLibraryAgent
launchd label
com.apple.AMPLibraryAgent
Signing identifier
com.apple.AMPLibraryAgent

What it is

The program is AMPLibraryAgent in the AMPLibrary framework, signed by Apple. Its launchd label is com.apple.AMPLibraryAgent. launchd starts it on demand.

The man page says there are no options and users should not run it. The man page is dated 2018.

The launchd file registers three Mach services: amp.library, amp.library.framework and amp.library.sharing.

Apple's Music guide says signing in with your Apple Account gives access to your library, including playlists, downloads and favourites, on all your Apple devices. It also covers adding and downloading music and changing where music files are stored.

Apple does not say that AMPLibraryAgent itself uses the network. A separate agent, mediasharingd, has a man page about library sharing. See itunescloudd for the cloud side.

Why it uses the network

  • Library data. The agent manages your media library on the Mac. That is mostly local work.
  • Library sharing. A service named amp.library.sharing exists. Apple does not describe it.
  • Cloud library. Apple says the library is available on all devices. Apple does not say which process syncs it.

How much is normal

Network use is not documented. Expect little.

Apple gives no figure.

Large flows under this name are not described by Apple.

Measured: on an idle MacBook Air (M4), macOS 27.2, AMPLibraryAgent used 30 KB an hour on average. How much data an idle Mac uses.

When it uses a lot, and why

  • A very large library. Scanning and updating many tracks uses the CPU and disk.

Is it safe to block?

Block with care

Blocking it should change little on the network. It may stop Music and TV from reading the library.

What breaks if you block it

  • Music and TV may not open the library.
  • Library sharing may fail.

Blocking means a firewall rule that refuses its connections. Don’t quit or disable a macOS process to save data: macOS starts it again, and other features depend on it.

Reduce its use

  1. Open Music and review its library settings. Apple says you can change where music files are stored.

  2. Pause downloads in Music or TV that you do not need.

  3. On a hotspot or a capped plan, turn on Low Data Mode. Choose Apple menu › System Settings › Wi-Fi. Click Details next to the network, then turn on Low Data Mode.

  4. Do not quit AMPLibraryAgent in Activity Monitor. macOS starts it again.

See how much it uses

  1. Open Activity Monitor from Applications › Utilities. Click Network.

  2. Type AMPLibraryAgent in the search field. The Sent Bytes and Rcvd Bytes columns show what it moved since it started.

  3. In Terminal, watch only this process. Press d to show the change per second, and q to quit.

    nettop -p 'AMPLibraryAgent' -P

With Kilobat

  1. In the Kilobat app list, search for AMPLibraryAgent. Its row shows the live rate and what it moved today.

  2. In Connections, click the ⓘ button on one of its rows. The popover shows this page’s short answer, without going online.

  3. In Terminal, ask the same question. Add --json for scripts and agents.

    kilobat explain 'AMPLibraryAgent'
  4. Show its traffic over one day.

    kilobat bandwidth 'AMPLibraryAgent' day
  5. Through MCP, an AI agent asks explain_connection with the process name. It gets the same facts.

The live view and the explanations are free. History in the app needs Kilobat Pro. Blocking needs Pro and the network filter: see the network filter, Protection and the hotspot data saver.

What isn’t documented

Apple does not say whether AMPLibraryAgent uses the network.

Apple does not describe the sharing service.

Apple does not say how it relates to itunescloudd.

Questions

Does AMPLibraryAgent stream my music?

Apple does not say so. Its man page says it manages the user's media.

Why does it run when Music is closed?

It is a library agent, started on demand by services that need the library.

Is AMPLibraryAgent a virus?

No. It is signed by Apple and has a man page.

Sources

Checked on 7 November 2026.