Underwritten DeFi yield discovery & goal planning for AI agents on Base & EVM.
Calm, honest DeFi yield discovery and goal-based savings planning.
DeFi Garden is a static, zero-backend, zero-build-step web application built on the DefiLlama yields API, designed for cautious savers and DeFi operators who value trust, realistic projections, and mathematical transparency over speculative hype.
DeFi Garden serves two distinct workflows through an inline, zero-flash IA router (window.__APP_MODE in home.html):
/ and plan.html)/?token=, /?chain=, /?pool=, /?app=1)PoolDetail.js): In-depth pool analytics, 30-day mean APY tracking, base vs. reward emission separation, and impermanent loss risk indicators./hype-harvest.html / /?module=hype-harvest): Delta-neutral cash-and-carry funding harvest calculator for Hyperliquid perps with live basis spread tracking and dual-oracle divergence tripwires.Every metric rendered across DeFi Garden derives from live on-chain and API data through strict, non-negotiable trust rails:
APY_SANITY_LIMIT = 1000%: Anomalous, short-lived spikes can never enter a plan. In analytics, anomalous pools are demoted, flagged with β , and forced to high-risk classification.DEFAULT_MIN_TVL = $100K: Low-liquidity pools below the safety floor are filtered out to protect savers from illiquid exits and sudden deprecations.DeFi Garden uses the "Quiet" design system β a restrained, clean-minimal, table-first interface designed for clarity and focus:
--ui-*):
--ui-bg (#F7F8FA light / #161A20 dark), --ui-surface (#FFFFFF / #1E242C), --ui-surface-muted, --ui-surface-sunken.--ui-border: #E4E7EE, --ui-border-strong: #CBD2DF).--ui-text: #10151F, --ui-text-secondary: #5A6478, --ui-text-muted: #8A93A6).--ui-accent: #3B82F6, --ui-accent-hover: #2563EB, --ui-accent-soft: #EFF5FF).--ui-radius-sm: 8px, --ui-radius-md: 12px, --ui-radius-lg: 16px, --ui-radius-pill: 999px).:active (transform: translateY(1px)), respecting prefers-reduced-motion.translations.js): Complete English (en) and Korean (ko) localization synchronized across all user-facing strings.React.createElement (no JSX compilation step required).https://yields.llama.fi/pools and Hyperliquid Info API (https://api.hyperliquid.xyz/info).localStorage.getItem('theme') with data-theme="light|dark" attribute on <html>.?lang= + localStorage.getItem('defi-garden-lang').localStorage.getItem('garden-plan').generate-sitemap.js).llms.txt and llms-full.txt (generate-llms.js).mcp_server.js).defi_garden/
βββ home.html # Master router & analytics app shell
βββ plan.html # Standalone Garden Planner entry
βββ hype-harvest.html # HYPE Funding Harvest module
βββ planner.js # Conversational Garden Planner engine
βββ app.js # Core analytics grid & pool filtering
βββ PoolDetail.js # In-depth pool analytics & calculator
βββ hype-harvest.js # HYPE funding harvest React UMD module
βββ translations.js # Bilingual dictionary (EN + KO)
βββ translations.min.js # Production-minified translation dictionary
βββ style.css # "Quiet" design system tokens & base styles
βββ planner-styles.css # Planner-specific layout styles
βββ pool-detail-styles.css # Pool detail drawer styles
βββ hype-harvest.css # Funding harvest layout styles
βββ trust-rails.js # Shared trust-rail constants
βββ canonical.js # URL canonicalization logic
βββ keeper/ # Autonomous execution & risk keeper scripts
β βββ keeper_engine.py # Core risk keeper engine
β βββ hype_funding_harvest.py # Hyperliquid HYPE funding rate worker
βββ tests/ # Python unit & integration test suite
β βββ test_keeper_engine.py
β βββ test_keeper_hype_harvest.py
βββ test_*.js # JavaScript offline test suite (71+ test files)
DeFi Garden requires no build pipeline. Serve locally with any static HTTP server:
# Start local server
python3 -m http.server 8000
# Open in browser: http://localhost:8000
# Run all unit tests in fast plain mode
npm run test:fast
# Run the complete test suite (plain + browser)
npm test
# Minify production assets
npm run minify
MIT License. See LICENSE for details.
This listing does not have a supported local package template. Use the maintainerβs documentation for its hosted endpoint, authentication, and client-specific setup. No install command has been inferred.