Prefer a point-and-click setup? See the Hoard Desktop Quick Start instead. Hoard Desktop handles account connection, downloads, and auto-start for you.
What Hoard Agent does
Hoard Agent is the same binary that Hoard Desktop manages for you, just without the GUI wrapper. It runs in your terminal, syncs your TCGplayer inventory on a schedule, and updates your prices. You manage starting, stopping, and auto-start yourself.Requirements
- A computer that stays on during sync times (Mac, Windows, or Linux)
- A TCGplayer seller account (Level 4+)
- A Hoard subscription (Gold, Platinum, or Diamond) with API key
If Chrome isn’t installed, Hoard Agent downloads a compatible Chromium automatically on first run (~200MB, one time).
Download
Get Hoard Agent from the Hoard setup page — expand Advanced: manual agent setup (terminal). You’ll download two things:hoard-agent(orhoard-agent.exeon Windows) — the binary.env— a configuration file with your API key already filled in
Configuration
Open the.env file. Both required values are already filled in:
HOARD_API_URL tells the agent which server to talk to. The generated .env includes it, and the agent defaults to https://www.tryhoard.com if it’s ever missing — only change it if you’re self-hosting.First run
The first run opens a visible browser window so you can log into TCGplayer. This is needed because TCGplayer shows a CAPTCHA on login that Hoard can’t solve for you. After this one-time login, your session is saved and future syncs run in the background.- Mac
- Windows
- Linux
- A Chrome window opens to TCGplayer’s login page
- Log in with your seller account, just like you normally would
- Complete the CAPTCHA if TCGplayer shows one
- Hoard Agent detects the login and starts syncing automatically
- Your session is saved locally so you won’t need to do this again until it expires
Running in the background
After the first login, run withoutHEADED=1:
- Mac (launchd)
- Linux (systemd)
- Windows (Task Scheduler)
Create Then load it:
~/Library/LaunchAgents/com.tryhoard.agent.plist:Session expiry
Like any website, TCGplayer sessions expire after a few days. When this happens:- You’ll see “session expired” in the log output
- Run again with
HEADED=1— a browser window opens so you can log in - Complete the CAPTCHA if TCGplayer shows one
- Done — back to background mode until the next expiry
Sync schedule
Configure how often Hoard Agent syncs in Settings → Sync. How often you can sync depends on your plan:
Hoard Agent must be running for syncs to happen. If it’s off during a scheduled sync, it picks up on the next poll.
Settings > Sync also lets you pin a preferred local hour, set quiet hours, and choose allowed days of week. Those controls affect when the server tells Hoard Agent to run; you do not need to restart the agent after changing them.
What happens during a sync
Cooldown after failures
If a sync fails on a critical step (login, export, or upload), Hoard Agent backs off and waits before retrying. The cooldown escalates: 5 minutes, then 10, then 30 (capped). This keeps it from hammering TCGplayer when something is genuinely wrong. You’ll see the cooldown status in your terminal.Your data stays on your computer
Hoard Desktop vs Hoard Agent — switching later
If you started with Hoard Agent and want to switch to Hoard Desktop, just download the desktop app. It’ll detect your existing config at~/.config/hoard/agent.env and pick up where you left off.
Going the other way: if you have Hoard Desktop and want to switch to Hoard Agent, grab the standalone binary from the Hoard setup page (expand Advanced: manual agent setup (terminal)), copy your HOARD_API_KEY and HOARD_API_URL from ~/.config/hoard/agent.env into the .env file next to the binary, and run from your terminal.