Ganesh Swami I Modular Data Infrastructure For AI With Covalent I Agentic Ethereum 2025

Agentic Ethereum · 30 Jan 2025 · 13:56

Ganesh Swami, co-founder of Covalent, walks through the newly open-sourced AI Agent SDK. The talk explains LLM wrappers, stateless agents, tools such as the GoldRush onchain data tool, and the Zero Employee Enterprise workflow, where a swarm of agents collaborates through a router. It tours the repository, shows the create-zee-app quickstart and suggests tools and use cases for builders to contribute.

Speakers

Topics

From Agentic Ethereum, hosted by ETHGlobal.

Transcript

[Music] Hello everyone I'm Ganesh Swami I'm one of  the co-founders of Covalent and today I'm going to do a quick walk through the AI Agent SDK. This is  a TypeScript SDK that we've built for developers and you can use this SDK to launch agents.  So these agents can perform any kind of task, but it's not just these agents—you  also make these agents autonomous, and we're introducing this concept known as a Zero  Employee Enterprise, ZEE in short. What this does is that it brings together this swarm of agents  that can iteratively and collaboratively solve any kind of complex problem, and you can see  all of the inner workings of how these agents

are able to collaborate. This is relying on  a technique called Chain of Thought models. This is a new way of using these LLMs. Just  like if you were to ask someone, “Give me a solution to a math problem,” they're not going to  give you a Google search result. A Google search result is instantaneous. Here, these agents  might take a couple of minutes or even hours, work through different solutions, think through  the problem, reason through the problem, and then suggest a solution. If it's not able to provide  a solution, it can show you the inner workings of how far it got. That's basically what's  happening with these new forms of LLMs. We rely

on this technique to let these agents ping-pong  ideas, challenge each other, and bring autonomy to their inner workings. This is what makes them  super exciting. So let's jump right into the code. So the first thing I would ask you to  do is: this Agent SDK is fresh off the press—we literally just released this  as open source today. The first thing I would recommend you read is the blog post  that announces the ZEE concept. I'm going to share my screen now, and then the rest of  this recording will have the screen share.

And so this blog post is just on the  covalenthq.com site, so you can go to the blog and see this is the Agent SDK version 2.  We've had to rebuild this SDK from the ground up because a lot of the assumptions we made during  the first version of the SDK—which, by the way, was only in December—didn't hold up. Crypto,  AI agents... all this stuff moves so fast, so you have to rethink and challenge  your assumptions at all points. This post basically tells you what's going on here.  We've doubled down on the crypto use cases, as opposed to building a generalized AI agent  tool. It explains how you can do all of this.

The next thing you need to do is go to the  GitHub repo. Actually, before going to GitHub, I recommend you go to the docs, which give you an  overview. So go to cxt.dobu (for example), and this is the overview of how the  SDK works—the different components, how you actually build an agent,  how you piece together tools, and how you build a ZEE workflow. Let's  walk through some of the concepts here.

So the first concept is an LLM. An LLM is just  a thin wrapper over one of the language models, but the beautiful thing here is you can  access about a dozen different LLMs. What you see here is the OpenAI LLM, Deepseek,  Gro, Gemini, and they obviously take different environment variables. You literally just  have to initialize an LLM with the provider and the name of the actual model. That’s  what's pretty interesting about this. The second concept you need to be aware of is  what is known as an agent. An agent basically has a name, uses a model, has a description of what  it’s supposed to do, and a set of instructions

about what the agent’s basis is. Here, this  example agent is a reporting agent that relies on OpenAI’s GPT-4 (mini, for instance). This agent is  responsible for generating reports on the current state of the company. That’s basically what an  agent does. What’s also special is that these agents are completely stateless, which means  they don't have any kind of memory, and they cannot really access the outside world directly.  This is where you would add tools. You just go add some tools. We have one tool currently built, but  there's a lot more being built behind the scenes, and you're also welcome to contribute new tools  to the SDK. One of the tools we have is the

Gold Rush on-chain data tool. This allows  you to get token balances, NFT holdings, transaction history—all kinds of things. When  you go back to the agent and give it the tools, then when you run the agent using `agent.run`,  it will try to solve the problem and instructions you’ve given, and also use these external tools.  It's important to describe these tools in a very detailed way so the LLM knows it has access to  them. Then the framework automatically calls this tool—it’s basically function calling.  That’s what’s cool about the agent stuff.

Here we have some description of what the  tools can do. Not only can it call external APIs like the Gold Rush API (which gives  you access to about a hundred different blockchains—it’s also another Covalent  product), but it can also structure the output from these agents. So this is how you  create a tool: you create a schema, and so on. Then the most exciting thing is the ZEE workflow.  What the ZEE workflow does is you combine a set of agents, give it some kind of goal, and then  this workflow internally has a router that ping-pongs between the different agents and  their respective tools, storing any kind of

memory on the ZEE layer. In theory, you could  use Gemini for, say, a multimodal agent, and maybe Deepseek if it's really good  at a certain set of problems. You can get these two models to speak  to each other, ping-pong ideas, iterate, and solve a problem together. That’s  what’s really cool about this whole thing. Next, I want to jump to the actual repo and give  you a lay of the land. All of this is open source, so we're looking for builders to either build  using the SDK or directly contribute to the

SDK. I’ll get into the layout of the repo in  a bit. This is completely open, so just go to covalenthq.com/ai-agent-sdk—it’s also linked from  the blog post, from cxt.dobu, from the Covalent homepage. It's hard to miss. If you still  miss it, I think we've done a bad job! But it's available, easily accessible. Then you can  check out the code, build it yourself, and so on. Basically, you can go to the packages,  and within the packages you have the AI Agent SDK. Then you can look at the source, and  you have all of these LLMs—you have the base,

the state. For example, if you want to contribute  a new LLM, go to `LLM` and open up `index.ts`. What you see here are definitions for OpenAI  models, Deepseek models, Gro model, Gemini model. It’s missing Anthropic—Anthropic is another  fantastic model. It’s missing other hosted models. Maybe even something like Arash’s inference  API or any of the other providers out there. Llama is another really cool model you could  contribute. Then you can go back to the tools, and you have the list of tools. Here we  have the Gold Rush tool for NFT balances,

token balances, transactions, and so on. But  you can add any other kind of tool—for example, a tool to do contract signing, or a tool to  verify if a particular transaction is safe. All kinds of things. That’s definitely something  we're looking to build: a big library of tools. Then there's a bunch of other stuff—for example,  there’s the actual workflow in the ZEE folder. That’s basically how the workflow iterates through  the problems. Then you have the agent itself, which includes all the material inside the  agent, including routers, and so on. That’s basically what's going on with the repo.  The documentation is also available here,

so if you go to the docs, you can also  contribute to the documentation. Though that’s more like… well, if you find any  gotchas, open up a PR—it’s much appreciated. There are two more things I want to talk  about: how you actually use this library, and what the use cases are that  you can build using the SDK. First, how do you actually use this? We’ve built a  neat kind of tool called `create-zee-app`. You can just go to the quick start and do `npx  covalenthq-cli create-zee-app`. It asks you a

bunch of questions. Right now there's one  template, but there will soon be multiple templates. It creates a fully bootstrapped  tool to create a ZEE, so you get everything out of the box. It's not very different from  `create-react-app` or `create-next-app`, if you're familiar with those kinds of helper  tools. So that's basically what's happening, and then you get the whole source code, and you  can use the agent, and so on. This is really cool. The final thing I want to talk about is what  kind of contributions we're looking at. We have something known as ZEE use cases on the  cx.build documentation site. You go there, and there's a whole bunch of use cases we've written  about what we would love to see built with the

SDK. Something like this could be meteor-level.  Something like this could be worthy of a grant or further investment. This is going to be almost not  just using the SDK but also contributing to the SDK itself—in terms of tooling, logic, debugging.  Maybe there's some specialized LLM you require. Maybe it's going to create a chart, so you need  something multimodal. Maybe it's a notebook LLM or something that creates a podcast after it, or  gives you a voice message. All kinds of things.

There's no limit to what you can build with  it. That’s what makes it super, super exciting. So, good luck hackers. I just want to leave you  with one final thought: I started Covalent at a hackathon. One weekend, I was able to sit down and  build something in two days, which was incredible, and Covalent has come a long way since that  one weekend. I really wish that for all of your projects, you also grow them to that  kind of scale. Just because it seems like a hackathon project doesn't mean it's throwaway.  It could be the start of something—it could be that kindle that lights up a big fire. I wish you  all the very best, and happy hacking. Thank you

[Music]

Related talks