JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 50
  • Score
    100M100P100Q59764F
  • License MIT

Covalent Agent SDK. Build cool AI agents for the blockchain

Package Exports

  • @covalenthq/ai-agent-sdk

Readme

AI Agent SDK for TypeScript

GitHub license GitHub last commit GitHub contributors GitHub issues GitHub pull requests GitHub stars GitHub forks

A TypeScript SDK to build, deploy and interact with AI agents. Create intelligent, context-aware agents with unprecedented ease and functionality.

Features

Currently available:

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.