DEV Community

Mahesh
Mahesh

Posted on

How to Create Blockchain Analysis AI Agent | Langchain & Alchemy API

Langchain makes it easy to build AI agents. You can always learn what to fix easily with the langchain.
I recently started getting into blockchain and the database projects.

I always loved building blockchain projects. And these days I am trying to get automation into the blockchain based projects. Be it for checking transactions, making x402 transactions and even the wallet status.

So this time I decided to connect to the devnet and mainnet of Solana and Ethereum. And give the agent ability to check the transactions and the wallet balance.

And so the below video shows what sort of AI agent on the blockchain API can be used to build blockchain AI agent.

I used Alchemy API in this project. Where the Alchemy is basically the aggregator of many blockchain data APIs. So getting the Ethereum and Solana API was not difficult.

You can also get other blockchains data API in the free tier account. And it would get you to build AI agent. I feel the Alchemy can bring more of such API you can use for the variety of the tasks.

This was specific to only for the typical wallet and transaction oversight type of the task based AI agent. If you want to explore more of such agentic usage with APIs, then do try Alchemy. I loved making of this Agent and did process very simple way.

Top comments (0)