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.0

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.0
File Size Uploaded
aimarket_auction-2.0.0.tar.gz 3.9 kB Details

Built distribution (wheel)

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

Total release size: 8.3 kB

Release files / aimarket_auction-2.0.0.tar.gz

Download URL aimarket_auction-2.0.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4f343c97de7ca398da898459007eea47e1fa632897127f1aaefdcd4f858b9274
BLAKE2b-256 checksum
How to use checksums
e40e283a9b9404aded4f37ecb0eb5be81e3a6c1c5d3766c593398ff503a1e637
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.0-py3-none-any.whl

Download URL aimarket_auction-2.0.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5685db66d76adb30a96827e563a75cc90141fc92a2b8b1030c49a49539cd7423
BLAKE2b-256 checksum
How to use checksums
939c7a19532acce29901432f6975aee68cf1cd1e2d3f15dd2e64486d0cd0859d
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.0 This release

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