Plug-and-play access to ALIA Quality Network for Python agent frameworks.
Three packages for AI agent developers building on Python:
| Package | Description | PyPI |
|---|---|---|
alia-core |
Shared helpers, ABIs, RPC layer | pypi/alia-core |
alia-langchain |
LangChain BaseTool wrappers (12 tools) |
pypi/alia-langchain |
alia-crewai |
CrewAI BaseTool wrappers (12 tools) |
pypi/alia-crewai |
pip install alia-langchainfrom alia_langchain import all_alia_tools
from langchain_anthropic import ChatAnthropic
from langchain.agents import create_tool_calling_agent, AgentExecutor
tools = all_alia_tools(chain="base")
llm = ChatAnthropic(model="claude-sonnet-4-5")
agent = create_tool_calling_agent(llm, tools, prompt)
executor = AgentExecutor(agent=agent, tools=tools)
result = executor.invoke({
"input": "Compare the quality of Aave and Morpho on Base, and tell me which one is safer right now."
})pip install alia-crewaifrom alia_crewai import all_alia_tools
from crewai import Agent, Task, Crew
tools = all_alia_tools(chain="base")
quality_analyst = Agent(
role="DeFi Quality Analyst",
goal="Identify high-quality protocols for capital deployment",
tools=tools,
backstory="You analyze protocols using ALIA Quality Network data."
)
task = Task(
description="Find the top 5 lending protocols on Base above tier A.",
agent=quality_analyst
)
crew = Crew(agents=[quality_analyst], tasks=[task])
result = crew.kickoff()pip install alia-corefrom alia_core import AliaClient
client = AliaClient(chain="base")
score, timestamp = client.quality_get_latest(subject_id="0x...")
print(f"Score: {score} (tier: {client.tier_of(score)})")Same 12 tools as the MCP server (alia-mcp-server):
quality_get_latest— score + timestamp + tierquality_get_tier— tier code (UNSCORED..AAA)quality_get_history— last N recordsforecast_get_latest— 30/60/90-day probabilistic forecastcircuit_status— circuit breaker statesubject_id_compute— canonical ERC-8240 subjectIdquality_compare_subjects— rank N subjects (Quality Arbitrage)quality_top_n— top N by tierportfolio_quality_aggregate— weighted-average portfolio qualityevaluator_list— authorized evaluators metadataquality_get_at_time— score at past timestamp (Carfax)scorer_dimensions— bridge / key management dimensional breakdown
Roadmap: 40+ tools across 3 phases — see alia-mcp-server.
alia-python (monorepo)
├── packages/
│ ├── alia-core/ ← shared: helpers, ABIs, RPC client
│ ├── alia-langchain/ ← LangChain BaseTool wrappers
│ └── alia-crewai/ ← CrewAI BaseTool wrappers
└── .github/workflows/ ← PyPI publish automation
alia-langchain and alia-crewai both depend on alia-core. All three packages
follow the same versioning lockstep (0.1.0 initial release).
Every tool in this monorepo maps to ALIA Doctrine 7 piliers V1.1:
- Décentralisation philosophique —
evaluator_listexposes federation - Super pouvoirs utilisateurs —
portfolio_quality_aggregatepowers Daily Quality Brief;quality_compare_subjectspowers Quality Arbitrage - Angles différents et complémentaires —
forecast_get_latestexposes what oracle networks don't - Droit à la contestation — Phase 3 (sem 12-24)
- Séparation des pouvoirs —
evaluator_listexposes accountability - Protection contre la captation algorithmique — methodologies stay private, only outputs are exposed
- Permanence mémoire qualité —
quality_get_history,quality_get_at_time
Full doctrine: DOCTRINE_ALIA_7_PILIERS_V1.1.
Environment variables (all optional; safe defaults provided):
ALIA_RPC_BASE=https://mainnet.base.org
ALIA_RPC_BNB=https://bsc-dataseed.binance.org
ALIA_RPC_GNOSIS=https://rpc.gnosischain.com
ALIA_QORI_BASE=0x...
ALIA_FORECASTER_BASE=0x...
ALIA_CIRCUIT_BASE=0x...
ALIA_BRIDGE_SCORER_BASE=0x...
ALIA_KEY_MGMT_BASE=0x...
# (... same pattern for BNB and GNOSIS)LangChain and CrewAI together cover ~70% of the Python agent ecosystem in 2026. By publishing first-class wrappers for both, ALIA Quality Network becomes natively consumable by:
- LangChain agents with tool calling (Claude, GPT, Anthropic, OpenAI patterns)
- CrewAI multi-agent crews (research, analysis, decision-making patterns)
- AutoGen, LlamaIndex (via LangChain compatibility layer)
- Custom agents using
alia-coredirectly
Combined with alia-mcp-server for MCP-native clients (Claude Desktop, Cursor, Codex, Gemini), ALIA covers the full agentic surface area.
Chainlink provides the price. ALIA provides the quality.
MIT — see LICENSE.
Patrick Nicolas Badoux — Founder & CEO, Avvatar Labs patrick@avvatar.io · +34 655 974 904
Dashboard: oracle.alia.network Docs: alia-docs.avvatar.io