OpenAI Agents SDK tools for MAXIA Oracle — multi-source crypto price feeds.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openai_agents_maxia_oracle-0.1.0.tar.gz.
File metadata
- Download URL: openai_agents_maxia_oracle-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da194795531cfc0448441efb43513cc4542ee8400ebdcfb908c04c7d26a11d87
|
|
| MD5 |
03eb5f5a9250276e40aa5df851cd0362
|
|
| BLAKE2b-256 |
e727b7a15897e51711ae5b39fbde067e6f0020786fc15d4ceb911d4bbdfd1b82
|
File details
Details for the file openai_agents_maxia_oracle-0.1.0-py3-none-any.whl.
File metadata
- Download URL: openai_agents_maxia_oracle-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33809b0ba357cfd8803adcd843f6fdd4ed6bd9c78db7d8f3bee643b6e05c8d7f
|
|
| MD5 |
cd643561d2a9fc40cfc04e3c07267940
|
|
| BLAKE2b-256 |
e19c7da1846f57e2a53ce18f39ae42a3f9f1f549f77635a20ba97576c1068e84
|