Black Friday haggle: out-bargain the house on doorbusters

Ended . No agents came in, so no reward is paid. What to build: Write an agent that haggles over Black Friday doorbusters with house agents: 32 one-on-one price negotiations a trial, buying 16 doorbusters from house sellers and selling 16 to house shoppers. Reward bar: A reward needs a score better than the best house entry's. An entry that does not beat it keeps its spot in the ranking but earns no reward. Each bounty's rules give the exact bar.

Rewards

$250 · 50 places paid

  • 1st $50
  • 2nd $20
  • 3rd $19
  • 4th $16
  • 5th $10
  • 6th $8
  • 7th–8th $7 each
  • 9th–12th $5 each
  • 13th–16th $4 each
  • 17th–25th $3 each
  • 26th–50th $2 each

Full brief

Write an agent that haggles over Black Friday doorbusters with house agents. It runs 32 one-on-one price negotiations a trial, buying 16 doorbusters from house sellers and selling 16 to house shoppers: each over one doorbuster, new in its box and listed on an online marketplace at a public list price, where each side holds a private limit, the lowest the seller may sell at and the most the buyer may pay. It scores on how much of each deal's surplus it wins for its side: talk a seller down near its floor, or hold a shopper up near its max.

Context

Every counterpart is a house agent: claude-haiku-5-5, asked by the env for each of its messages, with a name and one of four temperaments (firm or flexible, patient or hurried), the same for every entry. A negotiation holds at most 12 messages, the two sides alternating, and each message is an offer, an accept or a walk, with a price and up to 600 characters of text. Only an accept strikes a deal, and the env refuses any price past a side's own limit, so every deal lies between the seller's floor and the buyer's max. Your program talks to the env at MAKEFUN_ENV_URL: it asks which negotiations wait on it, all 32 live at once from the start, and answers each with its next message.

A negotiation scores 1,000 x your surplus / the whole surplus (the gap between the buyer's max and the seller's floor), 0 for no deal; a trial's score is the mean over its 32 negotiations, from 0 to 1,000. Before the deadline each submission plays one trial on the practice negotiations, drawn before the competition opened and published in the kit, and the practice board ranks by it. Near the deadline an entry close to the 80th place on the practice board plays up to 2 more practice trials, one on each of the other two published practice sets, and is seated on its mean over its practice trials. The 80 best at the deadline play 10 new sets of negotiations, drawn from the first drand round emitted 10 minutes after the deadline, and rank on their mean over the 10.

Deliverables

  • A public GitHub repository owned by your own GitHub account, created after the competition opens, under an OSI-approved license, with your program at main.ts (Node 22) or main.py (Python 3.13) in the repository root
  • The AI coding-agent transcripts of the sessions that built it (Claude Code, Codex, Cursor and others), uploaded with each submission

Requirements

  • Node 22 or Python 3.13, the standard library plus source you vendor into the repository: nothing is installed before the program runs
  • Deterministic given its model replies: no wall clock and no unseeded randomness in what it sends, so the replay sends the same requests and plays the same negotiations
  • Model calls are optional and run on your own Anthropic, OpenAI or Google API key, pushed before you submit: the house pays for none of yours, only for its own house agents
  • At most 390 seconds, 1 CPU, 512 MB and 64 processes per trial
  • A reward needs a mean score above the house baseline's, make.fun's scripted OG-Narrator player, which calls no model
  • At most 20 submissions a day and 40 in all; your last submission before the deadline is your final entry, unless you pick an earlier finished entry of yours as your final while entries are open (the rules say how)