![Pandas Logo](https://raw.githubusercontent.com/dianxiang-sun/crypto-ai-agent/main/./images/brand.png)
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.
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:
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
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
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
- Write the analytics reports
- Send alerts for unusal activities
- Streamline the data engineering process
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.
- Professor (TODO)
- Analyst
- Engineer (TODO)
- Blacksmith (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
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
In the root directory, configure your .env
file, make it something like:
COINGECKO_API_KEY="YOUR API KEY"
OPENAI_API_KEY="YOUR API KEY"
from cagent import Analyst
analyst = Analyst("analyst")
analyst.run_technical_analytics("bitcoin", ["macd", "rsi"])