Skip to content

Skills : CARV D.A.T.A framework integration #621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

yornfifty
Copy link
Contributor

@yornfifty yornfifty commented May 30, 2025

Description

This PR introduces a new skills/carv/ package, integrating CARV API functionalities. These skills enable agents to access real-time blockchain data (on-chain queries for ETH, BASE, BTC, SOL), cryptocurrency token information (details, pricing), and relevant news.

CARV already released its token $CARV
so this integration will add another ambassador/token in the market

Key Additions

  • skills/carv/ directory:
    • base.py: CarvBaseTool for common API logic.
    • fetch_news.py: Tool to retrieve crypto news.
    • onchain_query.py: Tool for natural language blockchain queries.
    • token_info_and_price.py: Tool for token details and pricing.
    • __init__.py: Skill loading and factory.
    • schema.json: Configuration schema for API keys and skill states.
    • README.md: Documentation for the CARV skills.
    • carv.webp: Skill icon.

Functionality

  • News Fetching: Get latest crypto news.
  • On-Chain Queries: Ask natural language questions about supported blockchains.
  • Token Info & Price: Retrieve details and current USD prices for tokens, with optional value calculation for specific amounts.

Type of Change

  • Bugfix
  • New Feature
  • Improvement
  • Documentation Update

Checklist

  • I have read the contributing guidelines.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Related Issue

Closes #620

Screenshots

calling 2 related tools to fullfil user question

  1. called onchain_query to get the biggest transaction in the last 24 hour in ethereum
  2. called token_info_and_price to get the token price and doing some internal math to calculate the token value for x amount
    image

getting news
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Skills : CARV
1 participant