feat(action-providers): add AlgoVault action provider - #1278
Open
AlgoVaultFi wants to merge 1 commit into
Open
Conversation
Adds a walletless, read-only AlgoVault action provider that gives AgentKit agents access to AlgoVault's crypto trading signals over the AlgoVault MCP endpoint (api.algovault.com/mcp) via @modelcontextprotocol/sdk. Actions: get_trade_call, get_trade_signal, get_market_regime, scan_funding_arb. The free tier is keyless (no API key); an optional ALGOVAULT_API_KEY unlocks paid tiers. Includes zod input schemas, structured error handling that surfaces AlgoVault's suggested_* fields, unit tests, a README, and a changeset.
🟡 Heimdall Review Status
|
Author
|
👋 Friendly nudge on this one. It's been ~11 days — CI is green on the auto-run checks (StepSecurity, labeler), and the Format / Lint / Unit-Test workflows are queued awaiting a maintainer's "Approve and run" (first-time contributor). It's a small, walletless, read-only provider: 4 actions over an MCP endpoint, keyless by default, 25 new tests, following the existing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a new AlgoVault action provider, giving AgentKit agents native access to AlgoVault's crypto trading signals: composite BUY/SELL/HOLD trade calls, market-regime classification, and cross-venue funding-rate arbitrage scanning.
supportsNetworkreturns true for all networks), modeled on the existingmessari/defillamaproviders.api.algovault.com/mcp) over Streamable HTTP via@modelcontextprotocol/sdk(the same SDK already used inframework-extensions/model-context-protocol).ALGOVAULT_API_KEY(constructor config or env var) unlocks paid-tier limits.get_trade_call(free),get_trade_signal(backward-compat alias),get_market_regime,scan_funding_arb.suggested_*guidance fields.Tests
Live, keyless end-to-end invocation through the built provider (no API key — free tier):
{ "call": "HOLD", "confidence": 15, "price": 63875.4, "indicators": { "funding_rate": -0.00001279, "funding_state": "ELEVATED", "oi_change_pct": -3.7, "volume_24h": 30049729955.29, "trend_persistence": "HIGH", "underlying_session": "ALWAYS_OPEN" }, "regime": "TRENDING_UP", "reasoning": "Trending regime, upward bias. Funding pressure elevated; one-sided crowd forming. Volatility neither expanding nor compressed. Trend persistence elevated; momentum structure. No actionable setup at this snapshot.", "coin": "BTC", "timeframe": "15m", "_algovault": { "version": "1.20.0", "tool": "get_trade_call", "exchange": "BINANCE" } }Checklist