Agamotto

SwiftSwiftUIAppKitScreenCaptureKitAVFoundation
  • A macOS instant-replay recorder — continuously buffers your screen and audio in the background and saves the last N seconds on a global hotkey, like Nvidia's ShadowPlay for the Mac.
  • Pure native Swift with no bundled ffmpeg: ScreenCaptureKit captures the display, an AVAssetWriter maintains a rolling ring of MP4 segments, and AVFoundation composes and exports the final clip on save.
  • The reusable capture engine lives in AgamottoKit, a local Swift package; the menu-bar app is a thin Xcode target on top.
  • Smart Pause keeps DRM streaming watchable — capture tears down automatically while protected apps like Netflix or Apple TV are frontmost, and resumes when you leave.
  • Ships as a single signed .app with a menu-bar UI: rebindable global hotkeys, mic capture with gain control, resolution and buffer-length settings, and launch-at-login.
Agamotto