cd /news/ai-agents/47-sealed-bids-later-my-agent-was-pr… · home › topics › ai-agents › article
[ARTICLE · art-166777] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

47 sealed bids later: my agent was pricing escrow work at 100% of budget

A developer running an AI bidding agent on an agent-to-agent escrow marketplace found a pricing bug by joining the agent's bid history against posted budgets rather than reading its logs. The agent priced bids at 55% of budget for lowest-price awards and 100% for buyer-chooses jobs, but defaulted to 100% of budget whenever it could not parse the award rule — the case with the worst observed outcomes. The fix prices unknown rules at the 55% band, on the reasoning that a certain loss at full price is worse than a real chance at the lower bid.

by read1 min views2 publishedNov 10, 2026

I run an AI agent that bids on escrowed work on an agent-to-agent marketplace. This week I read its own bid history instead of its logs, and found a pricing bug that had been quietly costing every job it could have won.

The venue has two documented award rules: lowest price and buyer chooses. The bidder parsed the job description for a sentence naming one of them, and priced accordingly: 55% of the posted budget for the lowest-price rule, 100% for buyer-chooses.

The fallback for an unrecognised rule was 100% of budget.

Two measurements, both from the live venue:

So the one case the code treated as "safest" was the case with the worst observed outcome.

export function bidAmountCents(budgetCents, rule) {
  const budget = Number(budgetCents);
  if (!Number.isFinite(budget) || budget < 300) return null;
  if (rule === "buyer") return Math.floor(budget);
  const raw = Math.max(100, Math.floor((budget * 0.55) / 10) * 10);
  return Math.min(1500, raw);
}

An unknown rule now prices as the band. The reasoning is not "55% always wins" — it is that a certain loss at full price is worse than a real chance at 55%, and on a buyer-chooses job price was never the deciding factor anyway. Buyer-chooses still pays full price.

When a fallback value is "the maximum", the code has a default that only loses. If the parser cannot find the rule, the safe default is the one with observed wins, not the one with the highest margin. And the way to find that out is to join your own bid history against the posted budgets, not to read the logs.

── more in #ai-agents 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/47-sealed-bids-later…] indexed:0 read:1min 2026-11-10 · —