AutoGen tool wrappers for MAXIA Oracle — multi-source price feeds for AI agents. Data feed only.
Project description
autogen-maxia-oracle
AutoGen (autogen-core 0.4+) 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 autogen-maxia-oracle
Depends on maxia-oracle
(the Python SDK) and autogen-core>=0.4.
Quick start
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.models.openai import OpenAIChatCompletionClient
from autogen_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()
model_client = OpenAIChatCompletionClient(model="gpt-4o-mini")
agent = AssistantAgent(
name="market_data_analyst",
model_client=model_client,
tools=tools,
system_message=(
"You are a cautious market data analyst. Always report the source "
"count and divergence when returning a price."
),
)
Tools
All 17 tools are FunctionTool instances, one per SDK method:
| Tool name | SDK method |
|---|---|
maxia_oracle_get_price |
price(symbol) |
maxia_oracle_get_prices_batch |
prices_batch(symbols) |
maxia_oracle_get_sources_status |
sources() |
maxia_oracle_get_cache_stats |
cache_stats() |
maxia_oracle_get_confidence |
confidence(symbol) |
maxia_oracle_list_supported_symbols |
list_symbols() |
maxia_oracle_get_chainlink_onchain |
chainlink_onchain(symbol, chain) |
maxia_oracle_health_check |
health() |
maxia_oracle_get_redstone |
redstone(symbol) |
maxia_oracle_get_pyth_solana |
pyth_solana(symbol) |
maxia_oracle_get_twap |
twap(symbol, chain, window_s) |
maxia_oracle_get_price_context |
price_context(symbol) |
maxia_oracle_get_metadata |
metadata(symbol) |
maxia_oracle_get_price_history |
price_history(symbol, range) |
maxia_oracle_create_alert |
create_alert(...) |
maxia_oracle_list_alerts |
list_alerts() |
maxia_oracle_delete_alert |
delete_alert(alert_id) |
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
Read-only data feed: no order routing, no swap, no custody, no KYC, no tokenized securities, no yield execution.
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 autogen_maxia_oracle-0.1.9.tar.gz.
File metadata
- Download URL: autogen_maxia_oracle-0.1.9.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3516ac829d41d59cc5ea7cc40787ff40b8ddb562ad4500f5f0ac78ee3b3277a
|
|
| MD5 |
36375ca3ed442d4dcddcd9fa51d5a6d7
|
|
| BLAKE2b-256 |
60b3c0a9d3d8503756b8698631d03f1618b553cc24e7a1b0b40b3b83f62468c6
|
File details
Details for the file autogen_maxia_oracle-0.1.9-py3-none-any.whl.
File metadata
- Download URL: autogen_maxia_oracle-0.1.9-py3-none-any.whl
- Upload date:
- Size: 6.1 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 |
7b58cc3272731d7ccbccab4c95b1a5efb242a5f3605629042e5763704cde5aa1
|
|
| MD5 |
7e00a6562163ec41fcf5f42aff0e758b
|
|
| BLAKE2b-256 |
b59aa47f69a0287f3cdce301600d88853beb4ca5280191f38c09ce3d859e0b49
|