Skip to main content


AI Network is a layer 1 blockchain designed to accommodate large-scale AI models, utilizing a decentralized GPU network powered by the $AIN token, enriching AI-driven NFTs (AINFTs).

Installation and Setup​

You need to install ain-py python package.

pip install ain-py

You need to set the AIN_BLOCKCHAIN_ACCOUNT_PRIVATE_KEY environmental variable to your AIN Blockchain Account Private Key.


See a usage example.

from langchain_community.agent_toolkits.ainetwork.toolkit import AINetworkToolkit
API Reference:AINetworkToolkit

Was this page helpful?

You can also leave detailed feedback on GitHub.