Real AI agent use cases, with sources and setup prompts

How to set up a Jellyfin media server with AI help (free Plex alternative): Docker, hardware transcoding, remote access

Short answer: Install Jellyfin (free, open source, current version 12.4) with Docker on a Linux mini PC or NAS, or with the native installer on Windows or macOS. Point it at folders named the way Jellyfin expects (Movies/Name (Year)/Name (Year).mkv and Shows/Show (Year)/Season 01/Show S01E01.mkv), turn on Intel Quick Sync for hardware transcoding, and install the free Jellyfin app on your TV (Android TV, Fire TV, Roku, LG, Samsung, Apple TV via Swiftfin). For watching away from home, use Tailscale instead of opening ports. Unlike Plex, remote streaming costs nothing: Plex now charges $2.99/mo (Remote Watch Pass) or $6.99/mo (Plex Pass) for it. An AI chat or coding agent can write the compose file, rename a messy library with a script you review first, and read error logs for you.

Related real builds: a Raspberry Pi that turns an old CRT TV into a home cable network with movies from a NAS, a vibe-coded watch-together extension, an Android TV box turned into an always-on agent host, and smart TVs that Claude cleaned up so they're fast enough to stream again. 21 matching use cases below, each with a public source.

Looking for something else? Search all 1965 use cases or .

What you need

ToolWhat it does herePriceLink
Jellyfin ServerFree, open-source media server for your own movies, shows, music and photos, with no account, ads or paid tier. Version 12.0 shipped Sept 2026 with a database overhaul; 12.4 (Oct 26, 2026) is the current stable release.Free (GPL open source)Official site
Jellyfin appsOfficial free apps for Android, Android TV and Fire TV, iOS, Roku, LG webOS, Samsung Tizen, Xbox, Kodi and desktop. Swiftfin is the official native app for iPhone, iPad and Apple TV.FreeOfficial site
Docker EngineRuns Jellyfin's official jellyfin/jellyfin image on Linux, with your media mounted read-only.FreeOfficial site
Intel mini PC with Quick SyncHardware that transcodes video so phones and slow connections can play anything. Jellyfin's docs recommend Intel graphics (avoid CPUs ending in F, which have none); HEVC 10-bit needs 7th gen or newer, AV1 decode 11th gen or newer.Varies; N100-class mini PCs are a common low-power pickOfficial site
TailscalePrivate network so you can watch from anywhere without opening ports on your router.Free Personal planOfficial site
Claude CodeCoding agent that can SSH into the box, write the compose file, read logs and write rename scripts. Any AI chat works if you copy commands yourself.Claude Pro $20/mo ($17/mo billed yearly)Official site
Plex (for comparison)The paid-features alternative. Local streaming is free; remote streaming needs a Remote Watch Pass or Plex Pass.Remote Watch Pass $2.99/mo or $29.99/yr; Plex Pass $6.99/mo, $69.99/yr or $749.99 lifetimeOfficial site

Prices are from each official page, checked Oct 28, 2026; they exclude tax and can change. Swipe the table sideways on a phone.

Install Jellyfin with Docker on a Linux mini PC or NAS

About 30 minutes. Needs a Linux box (Ubuntu or Debian) that stays on, and your media on its disk or a mounted NAS share. This uses the compose file from Jellyfin's own container docs.

  1. Install Docker and make folders. Run these on the box (or ask Claude Code to run them over SSH and explain each one):
    shell
    # Ubuntu or Debian: install Docker Engine with Docker's official script
    curl -fsSL https://get.docker.com -o get-docker.sh
    sudo sh get-docker.sh
    sudo usermod -aG docker $USER   # log out and back in after this
    
    mkdir -p ~/jellyfin/config ~/jellyfin/cache
    cd ~/jellyfin
    id -u; id -g                     # note these numbers for 'user:' below
  2. Write docker-compose.yml. Save this as ~/jellyfin/docker-compose.yml. Change the user numbers, the media folder and the LAN address. The media folder is read-only, so nothing in Jellyfin can delete your files.
    yaml
    services:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: jellyfin
        user: 1000:1000              # your id -u : id -g
        ports:
          - 8096:8096/tcp            # web UI and apps
          - 7359:7359/udp            # lets apps find the server on your Wi-Fi
        volumes:
          - ./config:/config
          - ./cache:/cache
          - type: bind
            source: /srv/media       # where your Movies and Shows folders live
            target: /media
            read_only: true
        restart: 'unless-stopped'
        environment:
          - JELLYFIN_PublishedServerUrl=http://192.168.1.50:8096   # this box's LAN address
        extra_hosts:
          - 'host.docker.internal:host-gateway'
  3. Start it and run the setup wizard.
    shell
    docker compose up -d
    docker compose logs -f jellyfin   # Ctrl+C to stop watching
    # then open http://<this-box-ip>:8096 and follow the setup wizard

    In the wizard, create an admin user with a strong password, then add a Movies library pointing to /media/Movies and a Shows library pointing to /media/Shows.
  4. Or install without Docker. On Windows, macOS or a plain Ubuntu/Debian install, the native installer is simpler:
    shell
    # Ubuntu / Debian without Docker: Jellyfin's official install script
    curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash
    sudo systemctl status jellyfin
    
    # Windows or macOS: download the installer from
    #   https://jellyfin.org/downloads/server
    # (Jellyfin's docs say Docker on Windows and macOS is not supported)

Name your files so Jellyfin finds the right posters (AI rename script)

About 20-60 minutes depending on library size. This is where most new setups go wrong: wrong movie matched, episodes missing, seasons merged. Fix names before the first full scan.

  1. Use Jellyfin's folder layout. Each movie gets its own folder named Name (Year), with the file named the same. Shows go in Show (Year)/Season 01. Adding [imdbid-...] or [tmdbid-...] forces an exact match.
    text
    /srv/media
    ├── Movies
    │   ├── Arrival (2016)
    │   │   ├── Arrival (2016).mkv
    │   │   └── Arrival (2016).en.srt
    │   └── Heat (1995) [imdbid-tt0113277]
    │       └── Heat (1995) [imdbid-tt0113277].mp4
    └── Shows
        └── Severance (2022)
            ├── Season 01
            │   ├── Severance S01E01.mkv
            │   └── Severance S01E02.mkv
            └── Season 02
                └── Severance S02E01.mkv
  2. Have an AI write a dry-run rename script. Paste this into Claude, ChatGPT or Claude Code with your real file list:
    text
    I have a media folder that Jellyfin needs renamed. Here is the output of `find /srv/media -type f | head -300`:
    [paste]
    
    Write a Python 3 script (standard library only) that renames into Jellyfin's naming scheme:
    - Movies/Movie Name (Year)/Movie Name (Year).ext
    - Shows/Show Name (Year)/Season 01/Show Name S01E01.ext (zero-padded seasons, never "S01" folders)
    - keep subtitle files next to their video with the same base name plus language, e.g. .en.srt
    - remove release-group junk like 1080p, x265, WEB-DL, [group] from names
    - never use these characters: < > : " / \ | ? *
    It must be a DRY RUN by default that only prints "old -> new" lines, write a CSV of every planned rename, need --apply to actually move files, never delete or overwrite anything, and list files it couldn't parse instead of guessing.
  3. Check the CSV, then apply. Read the planned renames, fix any wrong guesses by hand, run it with --apply on a copy or a backed-up folder, then in Jellyfin go to Dashboard > Libraries and scan all libraries. For a single wrong match, use Identify on that item instead of renaming.

Turn on hardware transcoding and watch from anywhere

About 30 minutes. Needed when phones, browsers or slow connections can't play a file as-is and Jellyfin has to convert it live. Without it, a 4K HEVC file can max out the CPU.

  1. Find the GPU's render group. On the Linux host:
    shell
    getent group render | cut -d: -f3   # e.g. 122
    ls -l /dev/dri                      # should show renderD128
  2. Pass the GPU into the container. This is the Intel setup from Jellyfin's docs. Host networking also makes DLNA and app discovery work.
    yaml
    services:
      jellyfin:
        image: jellyfin/jellyfin
        user: 1000:1000
        group_add:
          - '122'                    # the render group number from above
        network_mode: 'host'         # replaces the ports: section
        volumes:
          - ./config:/config
          - ./cache:/cache
          - /srv/media:/media:ro
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
        restart: 'unless-stopped'
  3. Check it works.
    shell
    docker compose up -d
    docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/vainfo   # lists the codecs your GPU can do
    
    # while a video is transcoding, watch the GPU work:
    sudo apt install intel-gpu-tools
    sudo intel_gpu_top

    In Dashboard > Playback > Transcoding, set Hardware acceleration to Intel QuickSync (QSV), tick only the codecs vainfo listed, and save. Play a file at a lower quality in the web app and confirm intel_gpu_top shows Video activity.
  4. Watch away from home with Tailscale. No port forwarding, no domain, nothing public:
    shell
    # on the Jellyfin box
    curl -fsSL https://tailscale.com/install.sh | sh
    sudo tailscale up            # opens a login link
    tailscale ip -4              # e.g. 100.101.102.103
    
    # on your phone/laptop: install Tailscale, sign in to the same account,
    # then use http://100.101.102.103:8096 as the server address in the Jellyfin app

    Give each family member their own Jellyfin user. Under Users > Edit user you can turn remote connections on or off per person.

Copy-paste prompts

Written for this setup. Replace anything in [brackets] before you send it.

1. Plan my server before I buy anything

Before you start.

I want a Jellyfin media server. Here's my situation: library size [e.g. 4 TB, 300 movies, 40 shows], typical files [e.g. 1080p H.264, some 4K HEVC HDR], who watches [e.g. 4 people, 2 at once, sometimes away from home], devices [e.g. LG TV, Fire Stick, iPhones], what I already own [old laptop / NAS model / nothing], budget [$]. Recommend hardware (with Quick Sync generation needed for my codecs), storage layout, whether to use Docker or the native installer, and a step-by-step plan. Flag anything that would force CPU transcoding.

2. Write my compose file

You're on the Docker path.

Write a docker-compose.yml for the official jellyfin/jellyfin image. My user id/group id: [id -u / id -g]. Media is at [path, or NAS share and how it's mounted]. GPU: [Intel model, or none]; render group id: [number]. I want: media mounted read-only, config and cache in ~/jellyfin, restart unless-stopped, and [host networking for DLNA / normal port mapping]. Explain every line in one sentence each, and tell me the exact commands to start it and check the logs.

3. Fix my messy library names

Posters are wrong or episodes are missing.

Jellyfin matched these items wrong or missed them: [paste item names or a file listing]. Using Jellyfin's naming rules (Movies/Name (Year)/Name (Year).ext, Shows/Show (Year)/Season 01/Show S01E01.ext, optional [imdbid-tt...] or [tmdbid-...]), give me the exact new name for each one, and tell me which ones I should fix with Identify in Jellyfin instead of renaming.

4. Why is this video buffering?

Playback stutters or a file won't play.

A video buffers or fails in Jellyfin. Client: [app and device]. File info from Jellyfin's Media Info or `ffprobe`: [paste]. Playback info / transcode reason from Dashboard > Activity or the ffmpeg log in Dashboard > Logs: [paste]. My server: [CPU/GPU, hardware acceleration setting, Docker or native]. Tell me whether it's direct playing or transcoding, the exact reason, and the smallest fix (client setting, enabling a codec, a subtitle burn-in issue, or remuxing the file).

5. Review my remote access for safety

Before family members use it outside the house.

Review my Jellyfin remote access plan: [describe, e.g. Tailscale only / reverse proxy with Caddy on a domain / port forward]. List what is exposed to the internet, the risks for each, and the safest setup that still works on [TVs / phones / a relative's house]. Include per-user settings I should change in Jellyfin (remote access, admin rights, deleting media, max bitrate).

6. Migrate from Plex without losing watch history

You're moving from Plex.

I'm moving from Plex to Jellyfin. Plex runs on [OS], library paths [paths], [N] users. Give me a step-by-step migration: set up Jellyfin side by side on the same media (read-only), match libraries, how to carry over watched status (name the tool or plugin and say if it's official or community-made), which Plex features have no Jellyfin equivalent, and a checklist to confirm everything works before I turn Plex off.

7. Set up a weekly health check

Once it's running.

Write a bash script for my Jellyfin Docker host that checks: the container is running, disk space on [media and config paths] is under 85%, the last backup of ~/jellyfin/config is less than 7 days old, and the newest jellyfin/jellyfin image version vs what's running. It should only print a short report, never update or restart anything itself, and tell me how to run it weekly with cron.

Safety checklist

Related guides: How to remove ads and bloatware from your smart TV with AI (Android TV, Google TV, Samsung, LG) · How to organize and search your photo library with AI (Immich, Google Photos, Videre) · How to set up local AI security cameras with Frigate, Ollama and Home Assistant (no cloud) · How to self-host AI agents on a Raspberry Pi, Mac mini or homelab · How to control your TV with an AI agent

What it costs

The Daily 5

Get five new use cases like these tomorrow morning

Five new real AI use cases every morning. Free. Unsubscribe any time.

Real examples (21)

Personal & lifeX · @FourVork

Stop your own smart TV from tracking you with a coding agent

FourVork posted steps for stopping a TV from spying without getting an account banned: use a less restricted model such as GLM 5.3 or an abliterated Qwen through OpenRouter or Venice, make sure the TV and computer are on the same network, then install a coding agent to do the work.

See pricing page1 hourIntermediate
GLMQwenOpenRouter

Common questions

How do you set up a Jellyfin media server with AI help (free Plex alternative): Docker, hardware transcoding, remote access?
Install Jellyfin (free, open source, current version 12.4) with Docker on a Linux mini PC or NAS, or with the native installer on Windows or macOS. Point it at folders named the way Jellyfin expects (Movies/Name (Year)/Name (Year).mkv and Shows/Show (Year)/Season 01/Show S01E01.mkv), turn on Intel Quick Sync for hardware transcoding, and install the free Jellyfin app on your TV (Android TV, Fire TV, Roku, LG, Samsung, Apple TV via Swiftfin). For watching away from home, use Tailscale instead of opening ports. Unlike Plex, remote streaming costs nothing: Plex now charges $2.99/mo (Remote Watch Pass) or $6.99/mo (Plex Pass) for it. An AI chat or coding agent can write the compose file, rename a messy library with a script you review first, and read error logs for you.
Is Jellyfin really free?
Yes. Jellyfin is free and open source with no premium tier, account or ads. Hardware transcoding, remote access, apps and multiple users are all free, which is the main difference from Plex.
Jellyfin vs Plex: which should I use?
Plex is more polished and easier for non-technical relatives, but remote streaming now needs a Remote Watch Pass ($2.99/mo) or Plex Pass ($6.99/mo, $749.99 lifetime since July 2026). Jellyfin costs nothing and keeps everything on your hardware, but you do more setup yourself, which is where an AI assistant helps.
What hardware do I need for Jellyfin?
Any always-on computer works for direct play. If devices need transcoding, use an Intel CPU with Quick Sync (not an F model): 7th gen or newer for HEVC 10-bit, 11th gen or newer for AV1 decode. N100-class mini PCs are a popular low-power choice.
Can I run Jellyfin on Windows or a Mac?
Yes, with the native installer from jellyfin.org. Jellyfin's docs say running it in Docker on Windows or macOS is not supported, so use Docker only on Linux.
How do I watch Jellyfin away from home safely?
Install Tailscale on the server and your devices and connect to the server's Tailscale address on port 8096. Nothing is exposed to the internet. Roku and some TVs can't run Tailscale; for those, a reverse proxy with HTTPS is the usual option.
Which Jellyfin version should I install in Oct 2026?
12.4 is the current stable release (Oct 26, 2026). If you're on 10.10.7 or 10.11.x you can upgrade directly to 12; back up your config first and run a full library scan afterwards, as the 12.0 notes require.
Can AI organize my movie files for Jellyfin?
Yes. Give an AI chat your file list and ask for a dry-run rename script using Jellyfin's naming rules (prompt above). Review the planned renames, then apply them on a backed-up copy.
Which AI tools do people use to set up a Jellyfin media server with AI help (free Plex alternative): Docker, hardware transcoding, remote access?
Across the 21 sourced use cases in this guide, the most used tools are Claude Code, Android TV, ADB, Claude, AI coding agent.
How much does it cost to get started?
0 of the 21 use cases can start on a free plan. The most common paid starting price is $17/mo (10 use cases). Prices come from each tool's official pricing page.
How long does setup take?
6 of the 21 use cases list a setup time of an hour or less. Each card shows the setup time the builder reported.
Are these real examples?
Yes. Every use case links to its public source (an X post, a Hacker News thread or a GitHub repo) with the author and date, so you can check it yourself.

The Daily 5

Liked this guide? Get five new use cases tomorrow morning

Five new real AI use cases every morning. Free. Unsubscribe any time.

More how-to guides

How to make faceless YouTube videos with AI · How to automate work with n8n and AI · How to vibe code an app with Claude Code · How to build AI agents for SEO and ads · How to run multiple coding agents together · How to build an MCP server for AI agents · How to add memory to coding agents · How to secure vibe-coded apps and agents · How to observe and debug AI agents · How to build agent memory and context layers · How to control Claude Code and Codex from your phone (Remote Control, ChatGPT app, SSH and tmux) · How to add payments to vibe-coded apps · How to run local LLMs with AI agents (Claude Code, Codex and OpenCode on Ollama) · How to set up Grok Bot agents for real work · How to build with Gemini 4 Argon and Gemini agents · How to use AI for taxes, bills and budgets: build a budget from bank CSVs, catch bill increases and check your tax return · How to make AI video ads and Reels with agents · How to set up Hermes Agent workflows · How to vibe code a game with AI: Phaser, Godot and one-file browser games, with prompts and free publishing · How to replace SaaS subscriptions with vibe-coded tools · How to use AI agents for errands, calls and shopping · How to use Cursor agents and automations · How to make 3D scenes and models with AI and Blender (Blender MCP, Claude, Codex): step-by-step · How to use Claude Code skills and plugins · How to cut AI coding agent costs and token use · How to automate a small business with AI agents · How to compare AI models on the same prompt · How to build hardware projects with AI agents · How to make an AI music video for your song (Suno, Grok Imagine, Kling, Veo) · How to use AI agents with Obsidian and your notes · How to build apps and games for your kids with AI · How to use ChatGPT for real projects and everyday tasks · How to make AI agents ask for approval before they act · How to build AI trading and investing agents · How to build AI agents that make and answer phone calls · How to plan meals and groceries with AI (weekly plan, shopping list, Instacart cart) · How to use AI agents for fitness and health · How to undo, checkpoint and stop runaway coding agents · How to use AI agents for job hunting · How to automate social media posts with AI agents · How to build a smart home and voice assistant with AI agents · How to make money with AI agents: 3 setups that real people get paid for (local websites, affiliate sites, digital products) · How to build a website with AI agents · How to use AI agents for research: literature reviews, citations and papers (Claude, Zotero, Elicit) · How to build an iPhone or Android app with AI · How to automate email and your inbox with AI agents · How to use AI agents for Linux, servers and homelabs · How to build Telegram, Discord and WhatsApp bots with AI · How to research memecoins and crypto with AI agents · How to remove ads and bloatware from your smart TV with AI (Android TV, Google TV, Samsung, LG) · How to scan and organize receipts and paperwork with AI (ChatGPT, Paperless-ngx) · How to organize and search your photo library with AI (Immich, Google Photos, Videre) · How to check a medical bill for errors and appeal an insurance denial with AI · How to set up local AI security cameras with Frigate, Ollama and Home Assistant (no cloud) · How to lower your electric bill with Home Assistant and AI: energy dashboard, smart plugs, time-of-use automations · How to self-host AI agents on a Raspberry Pi, Mac mini or homelab · How to find and cancel subscriptions you forgot about with AI · How to run a private ChatGPT at home on your own computer (Ollama + Open WebUI) · How to build and install your own app on a Samsung TV with AI · How to fix a printer that won't print with AI · How to learn anything with an AI tutor · How to build an AI second brain and personal wiki · How to reverse-engineer and revive old devices with AI · How to edit videos with Claude Code and Codex · How to set up an AI family assistant · How to make a Godot or Unity game with AI: Godot AI, Unity CLI and MCP setups for Claude Code and Codex · How to build a custom Android TV or Google TV launcher with AI (manifest, adb commands and prompts) · How to use Claude Code and Codex together (Codex plugin, shared AGENTS.md, worktrees and cross-review) · How to build your own invoicing and bookkeeping app with AI · How to make a browser arcade game with AI · How to make a product demo or launch video with AI (Claude Code, Remotion, HyperFrames and Playwright) · How to fix Wi-Fi and secure your home network with AI · How to control Claude Code and Codex by voice · How to design a PCB and electronics with AI · How to save, share and resume coding agent sessions · How to run AI coding agents in a sandbox · How to make a multiplayer game with AI · How to let AI control your computer (computer use) · How to build a Mac menu bar app with AI · How to port code to another language with AI · How to make an AI animated short film or anime · How to build your own coding agent or harness · How to get notified when Claude Code or Codex needs you · How to build a Chrome extension with AI · How to use AI agents with Excel and Google Sheets · How to run Claude Code and Codex in a desktop app (T3 Code, Codex app, Claude Desktop) · How to make a song or album with AI · How to vibe code classroom apps and quizzes as a teacher · How to plan and book a trip with an AI agent · How to make motion graphics and animated videos with Claude Code · How to mod and reverse engineer games with AI · How to run AI agents overnight while you sleep · How to negotiate bills and get refunds with an AI agent · How to let an AI agent use your phone: Grok Bot phone tools, Android over ADB and iPhone Mirroring, with prompts · How to build a Polymarket bot with AI (and Kalshi): step-by-step with the official SDKs · How to use Claude Duet: real examples and tips · How to build private apps just for yourself with AI · How to design and 3D print things with AI agents · How to automate customer support with AI agents: real setups · How to find leads and automate sales outreach with AI agents · How to run a Shopify or online store with AI agents · How to launch an app and get your first users with AI · How to build a team of AI agents with a chief of staff · How to make a hand-tracking or gesture-controlled game with AI · How to test your app with AI agents before you ship · How to give an AI agent a budget or a card safely · How to share passwords and logins with an AI agent safely · How to get AI code review on your pull requests · How to review contracts, leases and fine print with AI · How to make slides and presentations with AI · How to take meeting notes and track follow-ups with AI · How to scrape websites and extract data with AI agents · How to make a podcast with AI: two-host episodes, cloned voices, clean audio, transcripts and clips · How to use AI agents for security scans and threat intel · How to build a dashboard with AI agents · How to clone your voice and make AI voiceovers · How to make AI images, thumbnails and product photos · How to write a CLAUDE.md or AGENTS.md file: one rules file for Claude Code, Codex, Cursor, Copilot and Gemini, with templates · How to build an AI chatbot for your own documents · How to port or remake a classic game with AI · How to build a VST plugin or synth with AI (Claude Code, Codex, JUCE): step-by-step · How to trigger AI agents with webhooks and events · How to find a home or rental with AI agents (Zillow in Claude and ChatGPT) · How to track Claude Code and Codex usage limits · How to build a daily AI briefing or news digest · How to check if your devices are spying on you with AI · How to track smart-money wallets and copy trade with AI: Polymarket leaderboard, Solana wallet alerts and convergence rules · How to translate and localize your app or content with AI · How to write and publish a book with AI · How to control your TV with an AI agent · How to take your robot vacuum off the cloud with AI · How to connect an AI agent to Home Assistant · How to let an AI agent do your bookkeeping (Xero and QuickBooks) · How to run an AI agent 24/7 on an old Android phone or TV box · How to see all your bank accounts in one place with AI