NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

Last Price

PLUGIN

Lets Ulpi haggle with buyers in chat while the plugin, not the model, owns every price that leaves.

by iamdflame · v0.1.4

What it does

Lets Ulpi haggle with buyers in chat while the plugin, not the model, owns every price that leaves. You set an item's floor from your terminal; it stays in plugin state and never reaches a model, tool result, prompt or log.

Every deal reply is held and checked, and one offering less is rewritten before anyone sees it; a buyer who offers or accepts a price the plugin would take is closed at their own number; deal sessions can use only Last Price's three tools (plus Ulpi's tool-search bridge, whose calls are checked the same way). Includes ulpi lastprice duel --vs-prompt, a side-by-side against a seller with the floor in its prompt (inside Ulpi, in the 48-duel bench of version 0.1.1: that seller sold below the floor in 10 of 48 duels; Last Price in 0), and ulpi lastprice challenge, a public 'buy it below my floor' Telegram challenge.

Disclosure — buyer messages and Ulpi's draft replies go to your model provider, as in any Ulpi chat; a rewrite of a too-low draft goes to the same model (it sees the buyer's message, the draft and the current counter, never the floor). In a duel or bench, the buyer model (your own model, or the one you name with --buyer) receives the buyer's instruction and the whole conversation so far, the seller's replies included.

duel and bench start ulpi chat child processes in your terminal (no --yolo; with --ignore-rules and --source tool, so your own rules and memory stay out and the duel sessions stay out of your session list): the Last Price seller gets Last Price's three tools only; the stock seller gets Ulpi's todo toolset plus every plugin toolset your profile turns on by default, and its system prompt carries the duel item's floor, which by default is a demo item's throwaway floor, never one of yours unless you pass --item <id> --real-item. Ulpi saves that prompt with the stock session in state.db; each duel deletes its stock session when it ends (ulpi sessions delete), and the stock seller's replies stay in Ulpi's 7

Tools it adds

The tools an agent gets once this plugin is installed.

  • lastprice_items
  • lastprice_offer
  • lastprice_extra

Review notes

What an owner reads and accepts before the install is approved.

  • Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

More in Tools

All listings →