Skip to main content

CrewAI tool wrappers for MAXIA Oracle — multi-source price feeds for AI agents. Data feed only.

Project description

crewai-tools-maxia-oracle

CrewAI tool wrappers for MAXIA Oracle — multi-source crypto and equity price feeds for AI agents.

Data feed only. Not investment advice. No custody. No KYC.

Install

pip install crewai-tools-maxia-oracle

Depends on maxia-oracle (the Python SDK) and crewai>=0.80.

Quick start

from crewai import Agent, Crew, Task
from crewai_tools_maxia_oracle import get_all_tools

tools = get_all_tools(api_key="mxo_xxxxxxxx...")
# or rely on MAXIA_ORACLE_API_KEY env var:
# tools = get_all_tools()

analyst = Agent(
    role="Market data analyst",
    goal="Answer market data questions with verified multi-source prices.",
    backstory="You are cautious and always cite the source divergence.",
    tools=tools,
)

task = Task(
    description="What is BTC trading at right now?",
    expected_output="A median price in USD with the source count and divergence.",
    agent=analyst,
)

Crew(agents=[analyst], tasks=[task]).kickoff()

Tools

All 17 tools, one per SDK method:

Tool class SDK method Purpose
MaxiaOracleGetPriceTool price(symbol) Multi-source median + divergence
MaxiaOracleGetPricesBatchTool prices_batch(symbols) Up to 50 symbols in one call
MaxiaOracleGetSourcesStatusTool sources() Upstream liveness probe
MaxiaOracleGetCacheStatsTool cache_stats() Aggregator cache + circuit breaker
MaxiaOracleGetConfidenceTool confidence(symbol) Compact agreement metric
MaxiaOracleListSupportedSymbolsTool list_symbols() Symbol universe by source
MaxiaOracleGetChainlinkOnchainTool chainlink_onchain(symbol, chain) Single-source Chainlink (Base/Ethereum/Arbitrum)
MaxiaOracleHealthCheckTool health() Backend liveness
MaxiaOracleGetRedstoneTool redstone(symbol) Single-source RedStone price
MaxiaOracleGetPythSolanaTool pyth_solana(symbol) Pyth on-chain Solana price
MaxiaOracleGetTwapTool twap(symbol, chain, window_s) Uniswap v3 TWAP on-chain
MaxiaOracleGetPriceContextTool price_context(symbol) Confidence + anomaly + context
MaxiaOracleGetMetadataTool metadata(symbol) CoinGecko market data
MaxiaOracleGetPriceHistoryTool price_history(symbol, range) Historical price snapshots
MaxiaOracleCreateAlertTool create_alert(...) One-shot webhook price alert
MaxiaOracleListAlertsTool list_alerts() List active alerts
MaxiaOracleDeleteAlertTool delete_alert(alert_id) Delete an alert

Configuration

Variable Purpose
MAXIA_ORACLE_API_KEY The mxo_-prefixed key from POST /api/register
MAXIA_ORACLE_BASE_URL Override backend URL (default https://oracle.maxiaworld.app)

Non-goals

These tools are read-only: no order routing, no swap, no custody, no KYC, no tokenized securities, no yield execution. MAXIA Oracle is a data feed, not a trading engine.

License

Apache-2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crewai_tools_maxia_oracle-0.1.9.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crewai_tools_maxia_oracle-0.1.9-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file crewai_tools_maxia_oracle-0.1.9.tar.gz.

File metadata

File hashes

Hashes for crewai_tools_maxia_oracle-0.1.9.tar.gz
Algorithm Hash digest
SHA256 54344b6261de0f6a0ff9231038219d1e8072dabf17960695a519f8ac36c75d34
MD5 2ccea6c3283ba26a0dd15bdf129dd46c
BLAKE2b-256 72785e841ea8856dfed93ddf58c2ea4cc956460bbdda84b3147413748805d61e

See more details on using hashes here.

File details

Details for the file crewai_tools_maxia_oracle-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for crewai_tools_maxia_oracle-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0d31090909944bf9ad1e324c8f188e8aada9e451465c3f138a1d04ea9fce2cf0
MD5 1f2ae0259f16633e7ff1b326fd55af42
BLAKE2b-256 6736db5d18aac00fe2474cba83528fd5d3e548d3687f212f5d9e61813beacec4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page