Skip to main content

Open-source Python SDK for deploying AI agents with on-chain DeFi context

Project description

Vireo Vigía SDK

CI Python 3.12+ License: MIT

24/7 AI support agent for DeFi protocols — knows your docs, reads your users' wallets.

Your community asks the same questions every day. Your team answers them manually. Vireo Vigía deploys an AI agent in your Discord or Telegram in under an hour that answers protocol questions and reads each user's real on-chain positions in real time.

"Why is my health factor dropping?" Bot: "Your WETH collateral is $8,200, USDC debt $4,100, health factor 1.42. If ETH drops 22% you hit liquidation. Reduce debt by ~$800 to reach safe 1.7."

Unlike generic chatbots, Vireo Vigía reads the actual wallet. Users get answers about their positions — not textbook examples.

Integrates with: Hyperliquid · Aave V3 on Arbitrum · GMX V2 on Arbitrum · Vertex


For DeFi Protocols

You pay today What you get with Vireo Vigía
$5K-15K/month for human support AI handles 80% of repetitive tickets
Slow, inconsistent answers Instant, precise, wallet-aware responses
Users get liquidated, churn /monitor alerts users before liquidation
English-only support Multilingual (Spanish, English, Portuguese)

Setup time: under 1 hour Cost: one-time setup + monthly retainer Interested? Open an issue or contact us at github.com/Growth-AITech or open an issue.


Features

  • RAG over your docs — ingest any protocol documentation; answers are grounded in your actual content
  • Live on-chain context — reads Hyperliquid positions, Aave health factor, GMX positions in real time
  • Proactive alerts/monitor DMs users before liquidation, not after
  • Discord + Telegram — slash commands, plain text, per-user wallet registry
  • One API key — only Anthropic required; embeddings run locally (free)
  • Open-source MIT — self-host or use Vireo managed service

Quick Start (under 10 minutes)

1. Install

git clone https://github.com/Growth-AITech/Vireo-vigia-sdk
cd vireo-vigia
uv sync --all-extras

2. Configure

cp .env.example .env
# Fill in: VIREO_ANTHROPIC_API_KEY (required)
#          VIREO_QDRANT_URL        (required — use cloud.qdrant.io free tier)
#          VIREO_DISCORD_BOT_TOKEN (for Discord bot)

3. Ingest your protocol docs

vireo-vigia ingest https://your-protocol-docs.io
# or use the built-in Hyperliquid + Aave + GMX docs:
uv run python examples/hyperliquid_demo/ingest_docs.py

4. Start the bot

# Discord bot
uv run python examples/discord_demo/bot.py

# Telegram bot
uv run python examples/telegram_demo/bot.py

# Terminal demo (with your wallet)
vireo-vigia chat 0xYOUR_WALLET

Discord Commands

Command What it does
/ask [question] Ask anything — RAG answers from your protocol docs
/positions [wallet] Show live on-chain positions (Hyperliquid, Aave, GMX)
/health [wallet] Health factor + liquidation risk assessment
/monitor [wallet] Start DM alerts before liquidation

Architecture

User (Discord / Telegram)
        │
        ▼
ChannelAdapter
        │
        ▼
Agent  (claude-sonnet-4-5 · prompt caching)
        ├── RAG → Qdrant → bge-large-en-v1.5 (local, free)
        ├── HyperliquidReader → Hyperliquid L1 (positions, funding)
        ├── AaveV3Reader → Arbitrum mainnet (health factor, debt)
        └── GMXReader → Arbitrum mainnet (perp positions, OI)

Full architecture: docs/architecture.md · ADRs: docs/adr/


SDK Structure

src/vireo_vigia/
├── chains/       # On-chain readers (Hyperliquid, Aave, GMX, EVM)
├── knowledge/    # RAG: ingest → embed → store → retrieve
├── agent/        # Agent: orchestrates RAG + chain + LLM + memory
├── channels/     # Discord + Telegram adapters
└── llm/          # LLM providers (Anthropic)

Quality

  • 200 unit tests · 17 E2E tests (real Qdrant + Hyperliquid mainnet)
  • 19 Agent E2E tests using real Anthropic API
  • mypy strict · ruff 0 violations · bandit 0 security issues
  • GitHub Actions CI on every push

Business Model

Services-first → SaaS

Setup: $10,000–15,000 one-time · Monthly: $2,000–3,000/month

Self-serve SaaS launching Q4 2026: $299/mo (Starter) · $799/mo (Growth) · $1,999/mo (Scale)

Full model: BUSINESS_MODEL.md


License

MIT — Vireo · Bucaramanga, Colombia

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vireo_vigia-0.1.0.tar.gz (317.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vireo_vigia-0.1.0-py3-none-any.whl (66.9 kB view details)

Uploaded Python 3

File details

Details for the file vireo_vigia-0.1.0.tar.gz.

File metadata

  • Download URL: vireo_vigia-0.1.0.tar.gz
  • Upload date:
  • Size: 317.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for vireo_vigia-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c433c8d6be0c1c7904c8d1fb8e1cf477cab6894c122c5e2cd8db91ff2cd15678
MD5 5218e674784244f2f0f3d34f3710e910
BLAKE2b-256 b777bde24d6b188d367cfa0f8c377e11c521178ef6ad72c0a730e0f4b6857d15

See more details on using hashes here.

File details

Details for the file vireo_vigia-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vireo_vigia-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 66.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for vireo_vigia-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e3ed2b1453c8cc137e71fca772bc84e3ff16d089733a3ff761df350eabdc08c
MD5 0c24f6c81e12a06101878b276e5f8479
BLAKE2b-256 fd2f28eb4d7bb30204379c2878c002431b14642e73e720167a69d59921d6a1d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page