Skip to main content

aimarket-auction

Documentation

Document Description
User guide Install, configure, verify plugin is loaded
User cases Personas and cross-plugin workflows
SDK integration Code examples and hook behavior

Real-time spot bidding market for AI tasks. Uber-vibes for AI. Consumer posts a task. Multiple providers bid in real-time with price, latency, and success rate. Consumer picks the winner. One demo video = 500 retweets.

When to Use

  • Price discovery for high-value AI tasks ($5+ per invocation)
  • Marketplace with 3+ competing providers for the same capability
  • Consumer wants cheapest/fastest/most-trusted option dynamically
  • Demo/showcase — split screen "task pool" + "bids arriving as bubbles"

Installation

pip install aimarket-auction

API Endpoints

Auction bus is in-memory. Routes available when plugin registers with hub.

Example

from aimarket_auction.spot_auction import AuctionBus

bus = AuctionBus()
task = bus.post_task("perf audit of landing page", budget_usd=5.0, deadline_s=60)

# Provider 1 bids
bus.place_bid(task.task_id, "hub1", "audit.perf@v1", 2.10, 18000, 0.96, bond_usd=500.0)
# Provider 2 bids — cheaper but slower
bus.place_bid(task.task_id, "hub2", "audit.perf@v1", 1.50, 35000, 0.94, bond_usd=300.0)

# Consumer picks provider 2 (cheaper)
result = bus.pick_bid(task.task_id, bus.get_bids_for_task(task.task_id)[1].bid_id)
print(f"Awarded to: {result['awarded_to']} at ${result['price_usd']}")

License

MIT · Maintained by AI-Factory

Metadata

Release files for aimarket-auction 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aimarket-auction 2.0.1
File Size Uploaded
aimarket_auction-2.0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aimarket-auction 2.0.1
File Interpreter ABI Platform
aimarket_auction-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / aimarket_auction-2.0.1.tar.gz

Download URL aimarket_auction-2.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8e09d0aad1d47bad8821917a50bba7ad32d26629406abdbc0a9958087da19a7d
BLAKE2b-256 checksum
How to use checksums
09505671a23011a09dc89ef17273990f10ddf5e595bb0a2014cda680a2e3f04c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / aimarket_auction-2.0.1-py3-none-any.whl

Download URL aimarket_auction-2.0.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bb59cedb70e361441c6a4c261c7c055a9a1bfd892b20fbaf354a9abfd737a97
BLAKE2b-256 checksum
How to use checksums
f50a8c094b788ca9206168dab7ed17d48494263e995952556eb5a2a1a8ec3fba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page