agentkit-maxia-oracle
v0.1.0
Published
Coinbase AgentKit action provider for MAXIA Oracle — multi-source crypto price feeds for AI agents.
Maintainers
Readme
agentkit-maxia-oracle
Coinbase AgentKit action provider for MAXIA Oracle — multi-source crypto price feeds for AI agents.
Adds 3 actions to any AgentKit agent:
| Action | Description |
|---|---|
| maxia_get_price | Multi-source median price for a crypto symbol (8 sources: Pyth, Chainlink, RedStone, Binance, Kraken…) |
| maxia_get_price_context | Price + confidence score + anomaly flag — tells the agent whether the price is trustworthy |
| maxia_get_batch_prices | Prices for up to 50 symbols in one request |
Install
npm install agentkit-maxia-oracle @coinbase/agentkit zodUsage
import { AgentKit } from "@coinbase/agentkit";
import { maxiaOracleActionProvider } from "agentkit-maxia-oracle";
const agentkit = await AgentKit.from({
cdpApiKeyName: process.env.CDP_API_KEY_NAME!,
cdpApiKeyPrivateKey: process.env.CDP_API_KEY_PRIVATE_KEY!,
actionProviders: [
maxiaOracleActionProvider({ apiKey: process.env.MAXIA_API_KEY }),
],
});Get a free API key (100 req/day, no email): oracle.maxiaworld.app
License
Apache-2.0
