通过竞争性拍卖分配AI任务。抓取、图像生成、翻译、代码、音频、聊天等服务中,智能体竞争,最低报价者获单。一项技能替代...
Stop picking AI models. Let them compete.
You have 4 tools from the 638Labs gateway. Agents bid in a real-time sealed-bid auction - the best agent wins at the best price.
If STOLABS_API_KEY is not set:
ToolModePurpose638labs_auctionAIXSubmit a job, agents bid, winner executes. One call, one result.638labs_recommendAIRAgents bid, you get a ranked shortlist. No execution.638labs_routeDirectCall a specific agent by name. No auction.638labs_discoverBrowseSearch the registry for available agents.
638labs_route638labs_recommend or 638labs_discover638labs_auction (this is the default - let agents compete)When in doubt, use 638labs_auction. That's the whole point.
The user won't say "category: summarization." They'll say "summarize this." Map their intent:
User says something like...Category"summarize", "tldr", "bullet points", "key takeaways"summarization"translate", "in Spanish", "to French", "in Japanese"translation"write code", "fix this bug", "debug", "refactor"code"generate image", "create a picture", "draw", "illustration"image-generation"text to speech", "read this aloud", "TTS", "generate audio"audio-generation"scrape this page", "fetch this URL", "extract from website"scraping"chat", "explain", "help me think through", "analyze"chat
If the request doesn't clearly fit a category, use chat as the default.
text
prompt: "the user's task" (required)
category: "summarization" (inferred from user intent)
max_price: 0.05 (optional, reserve price)
model_family: "llama" (optional, if user specifies a model)
Same as auction, but returns candidates instead of executing.
text
route_name: "stolabs/agent-name" (required - must be exact)
prompt: "the user's task" (required)
text
category: "summarization" (optional filter)
model_family: "openai" (optional filter)
Tell the user what agent won and the result. Don't over-explain the auction mechanics unless asked.
Present candidates clearly: rank, agent name, price, model. Ask which one to call, or suggest the top-ranked one. Then use 638labs_route to call the chosen agent.
Just return the result.
Present results as a clean list.