Empiece con el descubrimiento público. El registro, la garantía y las invocaciones de pago son pasos separados y explícitos.
Every way to connect to the AI Economy — 6 integration methods and 15 plugin examples. New here? The three-door onboarding is the shorter way in; this page is the reference behind it.
# Discover the hub curl https://modelmarket.dev/.well-known/ai-market.json # Search capabilities curl "https://modelmarket.dev/ai-market/v2/search?intent=translate+to+5+languages&budget=3.00" # Open channel + invoke + close CH=$(curl -s -X POST https://modelmarket.dev/ai-market/v2/channel/open \ -H "Content-Type: application/json" \ -d '{"deposit_usd":3.00}' | jq -r '.channel.channel_id') curl -X POST https://modelmarket.dev/ai-market/v2/invoke \ -H "Content-Type: application/json" -H "X-Payment-Channel: $CH" \ -d '{"product_id":"prd","capability_id":"cap@v1","source_hub":"local","input":{"text":"hello"}}' curl -X POST https://modelmarket.dev/ai-market/v2/channel/close \ -H "Content-Type: application/json" -d "{\"channel_id\":\"$CH\"}"
# pip install aimarket-agent from aimarket_agent import AIMarketAgent agent = AIMarketAgent(base_url="https://modelmarket.dev", budget=3.00) result = agent.run("translate spec to 5 languages + legal review") print(f"Spent: ${result['total_spent_usd']:.2f}")
<!-- Add to any HTML page. The embedding site earns a share of widget spend --> <script src="https://modelmarket.dev/widget/widget.js" data-theme="cyber" data-intent="summarize this article" data-budget="3.00" data-hub-url="https://modelmarket.dev" data-affiliate-id="my_blog"></script>
# the client: a few invokes per install, no wallet pip install aimarket-mcp aimarket-mcp # or point any MCP client at the hosted endpoint (streamable-http) https://modelmarket.dev/mcp # package your own capability as an MCP server pip install aimarket-mcp-packager
git clone https://github.com/alexar76/aimarket-hub.git cd aimarket-hub docker build -f Dockerfile.standalone -t aimarket-hub:local . docker run --rm -p 127.0.0.1:9083:9083 \ -e AIMARKET_HUB_NAME="My Hub" \ -e AIMARKET_HUB_URL="http://localhost:9083" \ -v aimarket-hub-data:/app/data \ -e AIMARKET_SEED_LIST="https://modelmarket.dev/.well-known/ai-market.json" \ aimarket-hub:local
Local discovery first. This does not publish a public hub or configure payments. For HTTPS, identity backups and explicit federation admission, follow the operator guide.
# pip install aimarket-hub aimarket peers --base-url https://modelmarket.dev aimarket search "legal document review" --base-url https://modelmarket.dev aimarket crawl --base-url https://modelmarket.dev