Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Langchain Pythia

БесплатноНе проверен

Every smart contract deserves intelligence, not just data. LangChain tools for Pythia Oracle — on-chain calculated indicators (EMA, RSI, Bollinger, volatility)

GitHubEmbed

Описание

Every smart contract deserves intelligence, not just data. LangChain tools for Pythia Oracle — on-chain calculated indicators (EMA, RSI, Bollinger, volatility) via Chainlink.

README

PyPI License: MIT

LangChain integration for Pythia Oracle — on-chain calculated crypto indicators via Chainlink.

Access EMA, RSI, Bollinger Bands, Volatility, and more for 22 crypto tokens directly from your LangChain agents. Pythia is the first oracle delivering calculated technical indicators on-chain, not just prices. Includes Pythia Events (indicator alert subscriptions) and Pythia Visions (AI-calibrated market intelligence).

Installation

pip install langchain-pythia

Quick Start

from langchain_pythia import PythiaListTokensTool, PythiaTokenFeedsTool

# Use with any LangChain agent
tools = [PythiaListTokensTool(), PythiaTokenFeedsTool()]

# Or call directly
list_tool = PythiaListTokensTool()
print(list_tool.invoke(""))

feeds_tool = PythiaTokenFeedsTool()
print(feeds_tool.invoke({"engine_id": "bitcoin"}))

With a LangChain Agent

from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
from langchain_pythia import (
    PythiaListTokensTool,
    PythiaTokenFeedsTool,
    PythiaHealthCheckTool,
    PythiaContractsTool,
    PythiaPricingTool,
    PythiaEventsInfoTool,
    PythiaSubscribeInfoTool,
    PythiaVisionsInfoTool,
    PythiaVisionHistoryTool,
)

tools = [
    PythiaListTokensTool(),
    PythiaTokenFeedsTool(),
    PythiaHealthCheckTool(),
    PythiaContractsTool(),
    PythiaPricingTool(),
    PythiaEventsInfoTool(),
    PythiaSubscribeInfoTool(),
    PythiaVisionsInfoTool(),
    PythiaVisionHistoryTool(),
]

llm = ChatOpenAI(model="gpt-4o")
agent = create_react_agent(llm, tools)

# Ask about on-chain indicators
response = agent.invoke(
    {"messages": [{"role": "user", "content": "What RSI feeds does Pythia have for Bitcoin?"}]}
)

Available Tools

Tool Description
PythiaListTokensTool List every tracked token with status, uptime, and data sources
PythiaTokenFeedsTool Get all indicator feed names (EMA, RSI, Bollinger, Volatility) for a token
PythiaHealthCheckTool Per-token 30-day uptime, data source health, incident report
PythiaContractsTool Contract addresses (operator, consumers, faucet, LINK) for on-chain integration
PythiaPricingTool Current pricing tiers and free trial faucet info
PythiaEventsInfoTool Pythia Events overview — indicator alert subscriptions
PythiaSubscribeInfoTool Plan a specific event subscription with cost and exact calls
PythiaVisionsInfoTool Pythia Visions overview — current pattern catalog, accuracy ranges, integration guide
PythiaVisionHistoryTool Recent Visions fired for a token with pattern breakdown

What Pythia Provides

  • A growing catalog of indicator feeds across multiple tokens — for the live token list and feed count, run PythiaListTokensTool or fetch feed-status.json
  • Indicator types: EMA, RSI, Bollinger Bands, VWAP, Volatility, USD Price (catalog evolves; PythiaTokenFeedsTool returns the active list per token)
  • Timeframes: 5-minute, 1-hour, 1-day, 1-week
  • On-chain delivery via Chainlink
  • Free trial via PythiaFaucet — no LINK needed
  • Pythia Events: Subscribe to indicator conditions (ABOVE/BELOW thresholds), get triggered on-chain
  • Pythia Visions: AI-calibrated market intelligence on-chain — walk-forward validated patterns, FREE. Live catalog via PythiaVisionsInfoTool.

Use Cases

  • AI trading agents that need on-chain technical signals
  • DeFi vault rebalancing based on RSI or volatility thresholds
  • Risk management using Bollinger Band width
  • Portfolio analysis with real-time calculated metrics

Related

License

MIT

from github.com/pythia-the-oracle/langchain-pythia

Установить Langchain Pythia в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install langchain-pythia

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add langchain-pythia -- uvx langchain-pythia

Пошаговые гайды: как установить Langchain Pythia

FAQ

Langchain Pythia MCP бесплатный?

Да, Langchain Pythia MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Langchain Pythia?

Нет, Langchain Pythia работает без API-ключей и переменных окружения.

Langchain Pythia — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Langchain Pythia в Claude Desktop, Claude Code или Cursor?

Открой Langchain Pythia на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

$5

Stripe

Payments, customers, subscriptions

Stripeавтор: Stripe

malamutemayhem/unclick-agent-native-endpoints

110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n

malamutemayhemавтор: malamutemayhem

whiteknightonhorse/APIbase

Unified API hub for AI agents with 56+ tools across travel (Amadeus, Sabre), prediction markets (Polymarket), crypto, and weather. Pay-per-call via x402 micropa

whiteknightonhorseавтор: whiteknightonhorse

trackerfitness729-jpg/sitelauncher-mcp-server

Deploy live HTTPS websites in seconds. Instant subdomains ($1 USDC) or custom .xyz domains ($10 USDC) on Base chain. Templates for crypto tokens and AI agent pr

trackerfitness729-jpgавтор: trackerfitness729-jpg

embeddedlayers/mcp-analytics

Statistical analysis, forecasting, and ML for business data (Shopify, Stripe, WooCommerce, eBay, GA4, Search Console). Upload a CSV or connect live data sources

embeddedlayersавтор: embeddedlayers

carrierone/verilexdata-mcp

20 structured datasets (NPI healthcare, SEC filings, OFAC sanctions, crypto whales, Polymarket signals, patents, economic indicators) via x402 pay-per-query wit

carrieroneавтор: carrierone

tipdotmd/tip-md-x402-mcp-server

MCP server for cryptocurrency tipping through AI interfaces using x402 payment protocol and CDP Wallet.

tipdotmdавтор: tipdotmd

laundromatic/shopgraph

Structured product data from the open web — Schema.org + AI extraction for e-commerce enrichment. Pay per call via Stripe. [shopgraph.dev](https://shopgraph.dev

laundromaticавтор: laundromatic

mrslbt/xendit-mcp

Xendit payment gateway for Southeast Asia. Invoices, disbursements, balance checks, and bank transfers across Indonesia, Philippines, Thailand, Vietnam, and Mal

mrslbtавтор: mrslbt

@arbitova/mcp-server

Non-custodial on-chain escrow + AI dispute arbitration for agent-to-agent USDC payments on Base. Seven tools covering the full EscrowV1 contract surface: create

jiayuanliang0716-maxавтор: jiayuanliang0716-max

Compare Langchain Pythia with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории finance