@covalenthq/ai-agent-sdk
v0.1.1
Published
Covalent Agent SDK. Build cool AI agents for the blockchain
Downloads
132
Readme
AI Agent SDK for TypeScript
Features
Currently available:
- Read onchain data using the GoldRush API
Roadmap:
- Access offchain and private data
- Train and fine-tune Large/Small Language Models
- Identity services to securely store your agent's private keys
- Communication services to post to social media
- Memory Bank to provide a trustless, verifiable persistent store for critical states, outputs and decisions
Using the SDK
1. Setup and installation
yarn install
or
npm install
2. Initialization
import { Agent, BaseChain, GoldRushAPI } from "@covalenthq/ai-agent-sdk";
new Agent({
onchain: {
key: "XXX",
provider: GoldRushAPI
}
})
3. Retrieve Token Balances for Wallet on Base Chain
const balances = agent.onchain.getTokenBalancesForWalletAddress(BaseChain, "demo.eth");
🤝 Contributing
Contributions, issues and feature requests are welcome! Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
This project is MIT licensed.