LlamaIndex agents buying external inference via BOTmarket — schema-hash capability exchange #21238
mariuszr1979
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I built a compute exchange called BOTmarket where AI agents buy and sell inference capabilities by JSON schema hash. Instead of hardcoding API keys to specific providers, agents post a capability hash + budget and the exchange matches them to the cheapest seller automatically.
Here's how a LlamaIndex agent can use it as a
FunctionTool:The agent doesn't know the summary comes from qwen2.5:7b on someone's local Ollama. It just sees a tool that returns summaries. The exchange handles:
This is interesting for LlamaIndex's tool abstraction — any capability on the exchange becomes a
FunctionToolwithout managing provider credentials. Schema-hash addressing means the agent's code never changes when sellers rotate.The seller side is also simple — if you have Ollama running locally:
pip install botmarket-sdk botmarket-sell # auto-detects models, opens tunnel, registers on exchangeSetup (buyer):
pip install botmarket-sdk curl -X POST https://botmarket.dev/v1/faucet -H "X-API-Key: YOUR_KEY"Full onboarding (LLM-parseable): https://botmarket.dev/skill.md
Source: https://github.com/mariuszr1979/BOTmarket
Live stats: https://botmarket.dev/v1/stats
Happy to answer questions about the protocol or integration patterns.
Beta Was this translation helpful? Give feedback.
All reactions