dianxiang-sun / crypto-ai-agent

Open source project to generate your crypt AI agent to do the web3 work

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pandas Logo

crypto-ai-agent: copilot your Web3 journey

license Python Version PyPi Version Package Status Downloads Stars Forks Used By Contributors Issues Closed Issues

What is it?

crypto-ai-agent is your AI copilot during the exciting Web3 journey. It goes beyond the solely AGI trained by LLM which provides mainly chats. Using this package, users will take the power of AI and connects all the dots together, it is going to help you do the tedious work,

python package to help users create agents serve for different kinds of tasks in the Web3 and Crypto world. Crypto is fast-evolving with new knowledge everyday, keep learning and keep alerting is usually hard as there are so many opportunities to miss out. So, the best solution is, AI Agent! You can use this library to create your own AI Agents which feeds with different domain knowledge to do the tasks you assign to. This project is fully open source and you can use it as much as you want.

Training the agents is hard, and we do the hard part for you. This project is more like a wrap up toolbox for the immediate use of the power of AI. What you need to do is take the agents and formulate a team, which works best for you.

Table of Contents

Main Features

Image that one day, when you wake up, you found that you are doing a space travel alone, you have no idea what it is, where it is, the only accompany is an AI agent called crypto-ai-agent, what do you expect it provides? That is the main features for this package, it will help the beginners learn the basic rules and experts shine in the space.

So, high level speaking, there are 4 things we need to do to make sure our space travel successful:

1. Learn the Rules

There are tons of rules created by different parties, but there are consensus, evolving, but exists. But we don't have time to learn it from primary school as it is a space travel, however, luckily we can learning from the reality. By using this package, you can:

  • Use the framework to train the agent, which will provides Web3 explaination
  • Ask questions, take courses, take exams, take quiz, all the things will help you understand and grasp the knowledge of Web3 is provided

2. Collect Information

Information is the key, especially in this fast-pace world. It is hard to do it manually for all the chains, coins, protocols, but with the AI agents, it can highly abstrat this process and do it for you.

  • Collect coins price data
  • Collect news information
  • Collect on-chain data
  • Trace the addresses
  • Collect the social media reaction

3. Analyze Information

Once we got the information, we need to take time to analyze it.

  • Analyze the prices trends
  • Analyze the news
  • Analyze the external off-chain metrics data and bring it on-chain for more advanced analtyics

4. Take Actions

  • Write the analytics reports
  • Send alerts for unusal activities
  • Streamline the data engineering process

Structure

For the package, we got 2 main parts: Model and Blueprint, each model serve for 1 or more rules listed above. You ask why we strcuture the project like this, this is a little bit non-technical, shouldn't we do import abcd as ad or import func_abc from dsd? Well, we can do that, that is also an option to use this package, but we don't recommend, as remember, this is a space travel, what you need to do is use it as fast as possible, and then when you got time, you can start learning the basic of the spaceship.

Model

  • Professor (TODO)
  • Analyst
  • Engineer (TODO)
  • Blacksmith (TODO)

Blueprint (TODO)

In some cases, we need not only one type of role to do the jobs, but many roles should work togethere as a team per the instruction in Blueprint. To further support the automated work, we introduct Blueprint, which serves as a higher level of automated work, it is predesigned part of work and you don't need to create it

Installation

The source code is currently hosted on GitHub at: https://github.com/voltfin-crypto/crypto-ai-agent

# conda
conda install -c conda-forge crypto-ai-agent
# or PyPI
pip install crypto-ai-agent

Quick Start

Step 1: Configure your .env file locally

In the root directory, configure your .env file, make it something like:

COINGECKO_API_KEY="YOUR API KEY"
OPENAI_API_KEY="YOUR API KEY"

Step 2: Use cases

Write Technical Analytics blogs

from cagent import Analyst
analyst = Analyst("analyst")
analyst.run_technical_analytics("bitcoin", ["macd", "rsi"])

Help


Go to Top

About

Open source project to generate your crypt AI agent to do the web3 work

License:MIT License


Languages

Language:Python 94.3%Language:Makefile 5.7%