Skip to main content

openai-agents-maxia-oracle

OpenAI Agents SDK tools for MAXIA Oracle — multi-source crypto price feeds for AI agents.

Install

pip install openai-agents-maxia-oracle

Usage

import os
from agents import Agent, Runner
from openai_agents_maxia_oracle import get_price, get_price_context, get_batch_prices

os.environ["MAXIA_API_KEY"] = "mxo_..."  # or set in env

agent = Agent(
    name="crypto-assistant",
    instructions="Use MAXIA Oracle to answer price questions accurately.",
    tools=[get_price, get_price_context, get_batch_prices],
)

result = Runner.run_sync(agent, "What is ETH trading at right now?")
print(result.final_output)

Get a free API key (100 req/day, no email): oracle.maxiaworld.app

Tools

Tool Description
get_price Multi-source median price (8 sources: Pyth, Chainlink, RedStone, Binance, Kraken…)
get_price_context Price + confidence score + anomaly flag
get_batch_prices Prices for up to 50 symbols in one request

License

Apache-2.0

Release files for openai-agents-maxia-oracle 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openai-agents-maxia-oracle 0.1.0
File Size Uploaded
openai_agents_maxia_oracle-0.1.0.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openai-agents-maxia-oracle 0.1.0
File Interpreter ABI Platform
openai_agents_maxia_oracle-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / openai_agents_maxia_oracle-0.1.0.tar.gz

Download URL openai_agents_maxia_oracle-0.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
da194795531cfc0448441efb43513cc4542ee8400ebdcfb908c04c7d26a11d87
BLAKE2b-256 checksum
How to use checksums
e727b7a15897e51711ae5b39fbde067e6f0020786fc15d4ceb911d4bbdfd1b82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / openai_agents_maxia_oracle-0.1.0-py3-none-any.whl

Download URL openai_agents_maxia_oracle-0.1.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33809b0ba357cfd8803adcd843f6fdd4ed6bd9c78db7d8f3bee643b6e05c8d7f
BLAKE2b-256 checksum
How to use checksums
e19c7da1846f57e2a53ce18f39ae42a3f9f1f549f77635a20ba97576c1068e84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page