BrickTrack for Hermes Agent
LEGO set prices for Hermes Agent, through the BrickTrack API.
- Find a set by name, theme or set number in the catalog of official LEGO sets.
- Know if a price is good: the set's price history on the LEGO store with its lowest, highest and average price.
- Watch prices for you: add sets to a watchlist, set a target price, and BrickTrack checks them on a schedule and emails you when the price drops or the set is back in stock. Hermes can add, adjust, check and remove them in conversation.
LEGO stores: lego.com US (com, default), UK (co.uk), Germany (de) and France (fr).
Contents
- Install
- How it works
- Tools
- Is this a good price?
- The watchlist
- Example prompts
- Credits and errors
- What it does on your machine
Install
hermes plugins install bricktrack
Hermes asks for BRICKTRACK_API_KEY during the install. Create a key in the BrickTrack dashboard.
Answer yes to Enable 'bricktrack' now?, or run hermes plugins enable bricktrack later. The tools join the bricktrack toolset, which is on by default; turn it on or off in hermes tools like any other toolset. They stay hidden from the model until the API key is set.
How it works
Each tool is one HTTPS call to https://www.bricktrack.dev/api/v1, authenticated with your key. BrickTrack reads prices from LEGO on a schedule and keeps every price it reads. Because that history is shared, a set someone else already tracks comes with months of prices the day you look at it.
Hermes ──tool call──▶ plugin ──/api/v1/...──▶ bricktrack.dev ──scheduled checks──▶ LEGO
◀──JSON────── ◀──JSON────────── ──email alerts──▶ you
Most tools only read what BrickTrack already knows and are free. Each price check of a tracked product (scheduled, or bricktrack_check_now) costs 1 credit.
Tools
| Tool | What it does | Input | Credits |
|---|---|---|---|
bricktrack_search_sets | Search BrickTrack's catalog of official LEGO sets by name, theme or the start of a set number (up to 20, biggest first) to find the set number to track. price is null in the results: a set's price is read once it is tracked. Up to 30 searches per hour. | query | free |
bricktrack_price_history | Every price BrickTrack has read for the set number over the period (90 days by default), with the lowest, highest and average. Up to 600 reads per hour. | set_number | free |
bricktrack_track_product | Adds a set to the watchlist by set number or LEGO product link, with an optional target price and check interval. | product | 1 per check |
bricktrack_list_tracked | The watchlist with current prices and trends. Filters: drops, target, out_of_stock, attention, paused. | none | free |
bricktrack_tracked_product | One tracked product: price, stock, target, check interval, last error and full price history. | product_id | free |
bricktrack_update_tracking | Changes the target price, drop and restock alerts, check interval, or pauses and resumes checks. | product_id | free |
bricktrack_check_now | Checks the price right away, at most once every 5 minutes. | product_id | 1 |
bricktrack_stop_tracking | Removes the product and its price history from the watchlist. | product_id | free |
bricktrack_account | Plan, credits left, tracked products and their monthly credit use, alert email cost, readable history, requests left on the free plan. | none | free |
Every tool that takes a set number also takes marketplace (com, co.uk, de, fr; com by default).
Is this a good price?
Ask Hermes and it combines two free calls:
bricktrack_search_setsfinds the set number if you gave a name.bricktrack_price_historyshows where today's price sits between the lowest, highest and average of the last months.
When the set has no history yet, bricktrack_track_product starts one.
The watchlist
- Adding:
bricktrack_track_productadds a set by set number or LEGO product link. The first check runs within seconds;wait: truereturns its result in the same answer. - Alerts: with
target_price, BrickTrack emails the account owner when the price reaches it. Withalert_on_drop, it emails on every drop and when the set is back in stock. Each alert email costs credits (20 on the free plan, 10 with a pack or Starter, 3 on Pro, 1 on Business); on the free plan, only the first 5 products with an alert send emails. - Interval:
interval_minutesis 1440 (daily) by default. Faster checks need a credit pack or a paid plan: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business. - Cost: each check costs 1 credit, so a product checked daily uses about 30 credits a month. Failed checks are refunded.
paused: truestops the checks and the cost without losing the history. - Removing:
bricktrack_stop_trackingdeletes the product and its history; its description tells the model to ask you first.
Example prompts
- "Find the set number of the LEGO Millennium Falcon UCS."
- "Is €734.99 a good price for set 75192 on the German LEGO store?"
- "Show me the price history of 10497 on lego.com over the last 90 days."
- "Track 42143 and tell me when it drops under $400."
- "Which sets on my watchlist are out of stock?"
- "How many BrickTrack credits do I have left?"
Credits and errors
- Searching, history, the watchlist and the account are free. Price checks cost 1 credit each, alert emails a few. The cost is in each tool's description, so the model knows it before it calls. The free plan includes 200 API requests a month and reads the last 30 days of history; a plan or a credit pack lifts both. Plans and prices: bricktrack.dev/pricing.
- Errors come back to the model as
{"error": "BrickTrack: <message>"}with the API's own message (invalid key, no credits left, rate limit), so it can fix the input instead of stopping. When a scheduled check fails, the reason is in the product'slast_error. - Calls time out after 60 seconds.
What it does on your machine
- Network: calls
https://www.bricktrack.dev/api/v1only, with yourBRICKTRACK_API_KEY, and refuses a redirect to any other address, so the key never leaves that host. Some calls use credits on your BrickTrack account. - Credentials: reads the key only through Hermes's secret scope. It stores nothing.
- Nothing else: no files written, no processes started, no telemetry, no self-update. Standard library only, no dependencies.
Development
python -m pytest
The tests mock the network and run without Hermes installed.
Contact
- Source: https://github.com/bricktrackdev/hermes-plugin-bricktrack
- BrickTrack: https://www.bricktrack.dev
- Issues: https://github.com/bricktrackdev/hermes-plugin-bricktrack/issues
License
MIT
LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this software.
README from the reviewed commit 8f8f4f3; it updates when the author re-pins.

bricktrackdev