New Ethereum talks, every Monday. The week's conference uploads by event, in your inbox.

Loading player…

Harish Kotra I Build & Deploy AI Agents using Gaia & Collab Land I Agentic Ethereum 2025

ETHGlobalThu, Oct 9, 2025, 12:00 AM

Join Harish Kotra from Gaia for a hands-on guide to launching AI Agents that run fully under your control—locally or on your own server. In this workshop, learn how to install and configure Gaia’s decentralized computing infrastructure, integrate with Collab Land to enable seamless Telegram and Twitter bots, and fine-tune your agents to handle specialized LLM tasks using open-source models. Whether you’re looking to build a DeFi AI assistant, manage on-chain transactions, or simply create a custom knowledge base for your LLM, this session demonstrates a quick start—from installing the Gaia CLI, spinning up a node, and using the Collab Land AI agent starter kit to deploy fully operational AI agents in minutes. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 🤖 *Agentic Ethereum* Agentic Ethereum is an online, async hackathon that runs from Jan. 31 to Feb. 12, 2025. With over $175,000 USD in prizes, Agentic Ethereum is a great way to dive into the world of autonomous AI agents and explore how they can revolutionize projects on Ethereum. Start the year with groundbreaking innovation! Watch the full playlist: https://youtube.com/playlist?list=PLXzKMXK2aHh7jxP_flgRf5nZ_WDgFpBy3&si=RZozbd9C5KrG6Bf3 00:00 Introduction & Gaia Overview 00:40 Installing the Gaia CLI 01:15 Running a Local AI Node 02:22 Choosing & Downloading LLM Models 03:10 Deploying a Node with gyai init 04:18 Understanding Node Config & Embeddings 05:34 Decentralized vs. Centralized Inference 06:25 Public Nodes & Tool Calling 07:30 Collab Land Integration Overview 08:40 AI Agent Starter Kit Setup 10:07 Environment Variables & Model URLs 12:14 Customizing Prompts & Knowledge Bases 14:22 Combining Gaia & Collab Land for Bots 16:10 Common Issues & Debugging 18:35 Best Practices for Fine-Tuning Models 20:25 Q&A & Final Tips _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ✅ *Follow Harish Kotra* X: https://x.com/HarishKotra ✅ *Follow Gaia* X: https://x.com/gaianet_ai Website: https://www.gaianet.ai ✅ *Follow ETHGlobal* X: https://x.com/ETHGlobal​ Warpcast: https://warpcast.com/ethglobal Website: https://ethglobal.com YouTube: https://www.youtube.com/c/ETHGlobal _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Are you interested in Ethereum development and entrepreneurship?_ 👉 Sign up for the next ETHGlobal event: https://ethglobal.com/events 🎁 Get exclusive access and perks with ETHGlobal Plus! https://ethglobal.com/plus 📣 Want us to throw an event in your city? Tell us where! https://ethglobal.com/city _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Transcript

[Music] GM GM everybody I'm Harish I'm a developer advocated guia and today I'm going to show you how all of you together with me can launch AI agents in about let's say 20 minutes and we'll take questions at the end and at any point if you have questions like Au mention drop them in the chat we will have some time to take those during the session as well uh but I'm I'm going to walk you through what Gaia is very quickly we'll also see uh demo as well and then also let's go through the collab land AI agent stter which lets you launch AI agents on telegram Twitter it's a very uh lightweight framework that all of you can use and is also mandatory to use for the Gaia and collab land Bounty for the agentic ethereum hackathon with that let's get started what is Gaia Gaia is a decentralized Computing infrastructure platform that is open source that lets anybody like you and me build scale deploy and also monetize AI agents right with when you launch an AI agent with Gaia called node in the Gaia terminology what you get is a chat interface and along with that you also get an open a compatible API that you can pretty much replace uh in your existing applications or build applications using that API itself right for some of the examples that you can try are on our uh website itself you can go to um let's go to a agent domains and then you can browse a agents these are some examples that you can uh try out and see how it works let's say we go to the chemistry one chemistry is uh an agent that is trained specifically on chemistry data set and uh yeah what you see here is the model that this agent runs and also the system prompt and I'll show you how to customize all of this but this is the interface that you get when you also launch a node after the learning through this Workshop I'm not going to do a presentation PBT let's do everything handson yeah with the time we have and like I said this is the UI that you get you can click Start and start interacting with your own node and also you get a API endpoint which is open a compatible which means you can essentially replace your node URL and start calling your node URL right after deploying right typically depending on the model size it might take about 10 minutes for any of you to launch an agent so let's get into it so the first step is let's install the Gaia CLI for to for us to be able to do that let's go to docs. gy. if you're doing this along with me it'll be amazing you'll also uh learn while we do this if not you can always access the recording later right so if you go to dogs. g. you can go to setting up your own node this is where there are some prerequisites minimum 16 GB Ram if you want to run a 8 billion parameter model uh ideally and if you want to run a smaller or if you have a machine that is 88 GB Ram or if you want to run an a agent on a Raspberry Pi I would recommend you pick a smaller model like .

5 billion parameters or 1 billion parameters uh if you run something like an 8 billion parameter model on a lower um capacity machine it will not run it'll it'll slow down the entire machine so keep that in mind there are only three steps that you will need to launch your own node which is an AI agent uh on Gaia the first step is installing the CLI right let's quickly install the CLI this is my terminal I'm going to install the CLI this is the first step from setting up your own node section on the Gia dos and once the CLI is installed you have to run this Quick Command The Source command for the gyet CLI to be able to uh access the CLI command in this terminal that you that I have open what gyet has under the H is if you go to our uh GitHub page I'm going to drop the link to our GitHub uh where you can see the architecture details I'm not going to go detail into the architecture but with every node what you essentially get is tool usage function calling uh an API server an llm an embedding model uh Vector database by default you have quadrant Vector database in the node and also a prompt manager which is customizing the system prompt and the rack prompt for you to be able to fine-tune your AA agents to suit the personality you are training it on right so once you install what you also should should notice is there is a node ID which is a wallet address right so every node comes with a metamask wallet address and the private key and the details of this wallet address is in the node id. Json file I'm going to show that very quickly after running this quick command so that you know how to access the wallet details in case you are building an AI agent to perform autonomous transactions on chain right so once we run the source command don't forget to run this command it is very crucial for the ganet CLA to be available which means if I want to run gyet init or gyet start you have to run the source command so the next step is gyet init which is initializing the default node by default when you install the node uh at any point if you if you feel this is Rush drop the drop your questions in the chat I'm happy to slow down and expand but we have a lot to cover I'll try to be as high level as possible but happy to answer any questions you have at any point right when you install the CLI right uh gyet in it is the second command by default you get a Lama 3.23 billion parameter model along with a knowledge base about Paris right you can access multiple knowledge bases that we have on our hugging face account right you can go to hugging face. SL I'm going to drop the link to this as well in the chat for all of you to access uh you can go here to access the default data set but if you go to our page on hugging phase you can also see all the models that we support you can see uh DC car1 is also there uh that you can run locally on your machine this one perfectly runs on a uh Raspberry Pi or even a Macbook uh Pro and these are some of the data sets that we have built there are Developer dogs there are uh static text based knowledge bases there are code based knowledge bases that you can also see that we have trained models on uh including the chemistry one that I was talking to you earlier right so this is where you can find all the models and the data sets if you want to play around with uh customizing right so the second command like was uh getting to is gyet in it right by default you get this but what if you don't want the 3.2 billion parameter model or the knowledge base you can customize the Second Step itself now how do you do that you have to go to our guyet get up page where there is a section called repositories also feel free to drop any PRS for any of our repos you should see a node config repo what we've done is created a repo where we have listed a lot of a models and LM essentially which you can uh just copy and initialize by default these have the configs ready to go for the sake of this demo what I'm going to do is I'm going to pick the quen 2.

5 coder 3 billion parameter model right go into the folder you will see the same commands the first is the CLI second is the init Command right so instead of doing gyet init I'm going to do pass the config file itself so that by default it now downloads the quen 2.5 model like you can see when you do in it it downloads the model itself depending on the internet speed this should take uh the time it needs to download the model then it'll also download the nomic embed embeddings model right what are embeddings if you don't know what embeddings are essentially in simple uh terminology L uh llms uh utilize embeddings as a way to extract information we a story right embeddings are just words or phrases converted to numbers for example happy or Joy are similar words so they have similar numbers together right uh I've I've uh taken the Liberty to make it too simple but they are a little more complicated than that but we will leave that uh definition for later but embeddings are then stored in a vector database imagine a Shelf with different boxes like I said happy and Joy are similar words so they sit in a uh sit in the same box right that's how uh Vector databases make it easy to extract words quickly right and llms are just beautiful storytellers if you if you don't realize already but yes while this is happening I can take any questions if you have if not we can still do it at the end but that's how you initialize right the last step that we have is gyet start right you can post the questions in the chat or we can do it later no problem how are you feeling so far all good you can you can react uh so that I know how you feeling if this is too rush apologies we have a lot to cover uh but I'll I promise I'll take questions all or I'm always answering questions on the uh Discord Channel as well it's me my user ID is HK space Gia so you can reach out to me on the Discord channel for Gaia colland Bounty as well in case you have questions or if you run into issues okay Alex uh right the question is at a higher level what is gyet replacing like I'm not as familiar with gyet I think it's a great question Gaia is uh your way to run AI agents locally today what happens is you don't know what how your data is being used uh with all the centralized uh uh llm providers like chat GPT but what Gaia brings to the table is everything runs on your machine you can bring your own specialized knowledge base and create a agents that are specifically fine-tuned to your data set and also behave in a certain way that you want the agent to behave and you have full control over it right if you if you want to fine tune your model you have full control of fine tuning it everything sits in the like I said in your machine itself wherever you're running it in your local machine or in a server if you're running it in a server but yeah you have full control over everything that you run through the node I think that's the biggest differentiator of gu uh AMA yes what AMA uh the main difference between ganet and ama if I were to put it is a ga is decentralized which means you've seen domains right if I go back to uh the node example that I was showing if you are running a node you can attach your node to a specific domain and this is where decentralized inference com comes into picture like I said every node has a wallet address as well and decentralized inference is if you are only running a node right you can attach it to a specific domain and then you can also earn rewards for contributing to the network and if for somebody like me if I'm an agent developer app developer or an agent developer for me to be able to consume your node or your uh domain for the inference I'll be able to pay you right that's you that's how you also make money and also contribute back to the inference itself so that's those are some differentiators AMA lets you run local models but GA is a step uh beyond that where you get control over everything that you need to run an AA agent with customizable knowledge base and also generate embeddings through uh your agent itself yeah that's how I would put it yes I will get to I will get to how you can use gyet with other platforms uh no actually ganet doesn't replace Eliza or uh coin cdp's agent kit in fact you can use Gaia as the llm inference provider for both Eliza or even F data or cdps agent kit and use it as the one that translates natural language into actions which is where tool calling will come into picture but let me quickly do gyet start right the last command that you will need to be able to run your own node right so once you do gyet start what will happen is you will get you you we've all seen the node address in the step one what you will get is the node address attached to a domain that you can quickly use in your browser or the open a compatible API uh and start building applications and one quick thing that I want to mention is if you see that your node stops after this step that means either your machine is not capable of running that model or there is a problem in your config.js I'll show you where the config.js is but if it stops here that's one thing that we've noticed in common uh some of the errors that most of our developers face but if you see all of this then your node is perfectly working like you can see this is the domain that we have you can now simply open this in the browser and start interacting with it that's how simple it is what we have here is like I said a default model then there is the API itself you can simply run this Cur command and it'll respond and this entirely is responding from my own machine there is no internet access to this right this is from my machine and now you can also do chat with this node and talk to the node directly from the browser you should be able to see the node address here and the model right when you say start you can also customize the system prompt here this is the default system prompt like you can see it is going to it it is an intelligent programmer powered by quen coder model and it'll help answer questions related to coding you can customize this based on the knowledge base let's say you are providing a knowledge base in Rusk or solidity uh you can customize this thing you expert in Rust please respond to users queries in uh the best possible planner and yeah you can play around with the system prompt and the rack prompt to get better responses you can also tell how the llm should respond uh either in bullet points or essentially how the format you want right but if you want structured outputs you should need a larger model because in the smaller models structured outputs and Tool calling is uh not possible right you will need a bigger model like a 32 billion parameter model to get tool calling out of the box right uh that's that's how you uh spin up a node and use it right this is the API tutorial like I said we called the API here that's how you spin up on Guan node uh all from our local machine so now if I go back to my command line I'm going to quickly show you where this sits you can simply go to ganet as the folder let me clear this for you to be able to see this better if you go to ganet folder here is where all the files are all right let me expand this these are all the files config.js is where everything sits right the llm URL the knowledge based URL I'll show you that but you should also remember that node ID JM is where your unique node ID is sitting and the device ID and node ID are both used to connect to the Gaia protocol now how do you do that simply go to our docs and you should be able to see a joining the guia protocol this is where you can come go through the tutorial and contribute back to the decentralized inference that was talking about earlier right this you should keep this important if you are installing the node or reinstalling it if you don't want the address to change right can guyan noes call external apis like web search that should be possible but you will need tool calling enabled like I said you will need a larger model for Tool calling but if you want to use tool calling specifically let's say with the agent gate uh I would recommend you use one of our public noes what we have also done is in the public notes section on the left we have uh we are running some nodes that you can use for Tool calling like we have a voice to text model whisper V2 large running on this domain this is also opena compatible you can use this and uh for specifically for Tool calling if you are using uh let's say agent kit right I would recommend you use lat tool.

us. guy. Network as the uh base URL right I'm going to drop this in the chat for you all of you to be able to remember this but this one by default comes with uh tool quality right you should be able to use this and call any external API right be it uh let's say you you've created a subgraph and you want to fetch some specific statistics from a from your own smart contract you should be able to do that by using this one by default if you're running a model it will not work right uh especially the one that I showed you it will not work right so this is the llm like you can see everything is here there is no internet call by default right so if you delete this your node will stop working that's how simple it is and let's also quickly see how uh you can use collab a and start that lets you connect first of all your node that we just launched uh and run llm inference uh and I'm not going to deploy a telegram bot in this example because we don't have that much time today but I'm going to show you how set how to set up the environment variables and all of that in the a Ag and start right so remember using Gaia and also the a init is mandatory for our bounty right we've also posted some examples of what you should build but remember these are not set in place if you want to build something else uh please do so right these are only some examples that I wanted to share through the Bounty but please go through all the bounties and also the additional prices that we have right the AA agent startet from collab land link is available in the Bounty page I'm going to drop the link to this uh GitHub repo in the chat as well for all of you to use it right a agent start kit is based on Aliza originally and this lets you uh launch a agents in Twitter Discord um Telegram and also use lit protocol for lit actions where you can abstract away your um wallet keys private keys and all of that right so please go through the repo this is very extensive uh in terms of what all features there are you will know notice that once I start installing the CLI right so let me uh clone the a stter kit I'm going to do get clone and run this this should be very quick very simple very straightforward let me go into it the first step that you need to do is obviously install the dependencies and while the dependencies are being installed uh you should be able to scroll down and see the project structure unlike Eliza there is a back end and a front end here so there is a client and a server architecture and these are all the environment variables that you have to set up when you are using the uh collab land a and start kit I would recommend you get the collab land API key and guy models are also available through these environment variables I'm going to show you how to set them up in the environment variables file you can also bring your Eliza character if you have something already set up using Eliza and yes like you can see there is uh Twitter integration available there is Discord integration there is Joker is integration there is GitHub integration all out the box all you have to do is set the these parameters and it will start working in fact there is orbit studio also uh available in the integration but yes that's uh the agent kit so build is done now let's see the next step is to I think run this yes pnpm run Dev when you do pnpm run Dev on the a agent start kit it will start asking for all the environment variables right so you can set them right from here like you can see there is the public URL Sean uh Sean is asking does ask support voice for agents uh I haven't specifically tried ask for voice I don't think it supports but please correct me if I'm wrong uh if you're trying it out but yeah I haven't tried for voice yet like you can see it'll start asking for all the environment variables right it will not work because I'm not setting anything I'm just showing you how to run this right so here is where you can set the guyet uh en environment variables but for the sake of this demo what I'm going to do is I'm going to go back to the a agent State and open this in my code editor and show you the environment variables path right so the EM example here is where you can add the guar details right this is how you do it now how do you know which model you are using very simple once you get the domain URL right uh if you go to the domain URL that you got from the Gaia CLI once you install here is the model name this is where you bring it from just copy this and paste it in the model URL sorry Gyan netore model and then this is your server URL followed by V1 and then the embedding model is also mentioned here by default it is a nomic embed embedding model and if you want to generate embeddings and use gyet embeddings you can always set this to true I would said it to true but yes this is where you add all the environment variables depending on where you are launching the agent if you're launching the agent only on let's say telegram I would only add the telegram bot token and then test it out right but you can always add the other parameters here by default this is the character Json file you can always update this to a specific character let's say you're training the agent on uh vitalex personality and his uh content that he puts out on the internet you can customize this to behave like V alic right uh that's the character file but yes that's and of course server is the back end for the a Agent stter Kid this is much more simpler and less um less uh in terms of the number of packages uh as compared to Eliza is what I would say for this one but yes this is an overview of how you can run uh a and start kit plus gyo so once you run gye just add them into the EnV file here and then pnpm run Dev and you should be good to go right I would highly recommend you try both these out and if you run into any issues I am available on Discord and with the rest of the time available I'm happy to take any questions if you've already tried both of these platforms please let me know and uh if you have any issues I can I can help you answer but my recommendation as an AI agent Builder if you are building an a for the first time is to pick a model that fits your use case right Lama 3.2 can fit into specific use cases similarly if you are uh if you are building an agent that writes code right I would highly recommend you use either mral codr or quen 2.5 right and if you want if you want better accurate responses you will need larger models but if you want your model to do very specific tasks uh then I would recommend using smaller language models slms like the one I showed you where it is just a three billion parameter model you can also use smaller ones if you're running it on a smaller machine so you have to consider all of this before you run the a agent itself right but do give uh it a shot and let me know if you run into any troubles but if you have any questions let's take them now I hope the workshop was resourceful you can drop an emoji as a response or in the chat also let me know uh if the workshop was helpful enough to get you all started while while we are getting some questions or if you have any questions uh there there are a couple of resources I want to share in addition to our GitHub repo uh what is your actual target audience with your tool the actual target audience is for everybody to be able to build specialized agents we don't want another uh chat gbt alternative or or something like chat gbt where it is a jack of all trades I think the future is highly specialized customized agents and agent to agent interactions right even for the Bounty when we say mother of all agents it means imagine like a super super human of Agents right that can do multiple things by interacting with other agents not by doing everything by itself can we use a agent kit for just next days back yes you can use it like you want to what is the collab land key used for uh collab land is the one uh that created the aent stade we are partnering with them to run this uh they they are the ones who created all the Integrations with the Discord they are the ones who are actively building the a tate and supporting more developers to build uh AI agents in a quick manner right if let's say if you want to use a public node with the a a agent start you should be able to do that right one of the resources that I wanted to quickly share is obvious honor docs.

g. you can go to the guides and tutorial section we have some examples including the CDP and how you can use uh Gia node on an on Eliza and also on CDP and uh deep seek is also coming up very soon here I'm just waiting for the pr to be accepted uh but yes docs. g. is where you can find this you have a list of agent types and then what type of models work well for those uh I think a great example for that would be uh to seeing the existing agents that we have and Which models they're running on if it is a generic agent that that you want to respond in text I would recommend using Lama 3.0 3 bil parameter or 8 billion parameter for coding like I said quen is a great example uh and uh if you want reasoning I think no question you can use deeps but run it locally not using deeps API uh because we don't know where that data is going so run your uh a deeps model locally you can run that using the distal Lama 8 billion parameter version and uh yeah you can find more of these demos and also some more examples right on on my Twitter I keep dropping some of these uh on my Twitter you can you can go there and uh check some of those out you can go to this is my Twitter handle you should be able to find a lot of these demos once you go to my uh uh right this is the one this is an npm package let's say you want to programmatically launch a agents using JavaScript you can do that using uh the npm package called Gia deploy right that that way you can spin up multiple nodes automatically that's that's one way to do it if you have any like PRS you could also contribute there I think it would be helpful to have a session where people pitch their project and then yes so there are two sessions coming up this week uh where there is Project pck feedback sessions I believe that's what they are called please join them I will be there I will give you feedback and also one-on-one um insights on on how you can tweak the idea that you're building I think that's a great way to get feedback thanks Alex for bringing that up uh but yeah this this is where you can find many more examples that are still not on our dogs so do do go check it out uh what else did I want to share yeah this is the one that shows how you can run deep seek R1 locally but yeah I can I can go on I can I can share many more resources but if you want more resources I would recommend you ask me on our Discord Channel including including any questions that you have if you running into any issues but what I would say uh to end this off um is building a agents is simple right I think what is important is for you to Define your use case better and use the right LM and fine tune it to an extent where you're satisfied with how it responds right the key is always in chunking the data uh segmenting it in the right format uh and then giving that to the llm as the knowledge base you can go to our knowledge Bas section to see how you can convert a text file PDF file a CSV file into embeddings but remember if you don't chunk your data and segment your data your llm will go all out and respond very randomly which uh which you wouldn't want right you would want it to respond properly right for Tool calling like I said use the link that I shared specifically for Tool calling but yes that's all I have for this demo [Music]

Automatic transcript — names and jargon may be misspelled.