Skip to content

Commit

Permalink
update README (#2)
Browse files Browse the repository at this point in the history
* update README

* fix user agent

* fix

* fix

* Update to the constructor to accept an option rather than a key as st… (#3)

* Update to the constructor to accept an option rather than a key as stirng

* Remove merge conflict

* Environment variable name change

* More change

* fix readme

* Namespace on-chain service (#4)

* Namespacing complete

* OnChain -> Onchain

* Fixed

* Rename OnChainService.ts -> OnchainService.ts

* fix docs

---------

Co-authored-by: Sal Rahman <[email protected]>
  • Loading branch information
gane5h and shovon authored Dec 17, 2024
1 parent d0f3bc6 commit 12c1339
Show file tree
Hide file tree
Showing 3 changed files with 481 additions and 355 deletions.
73 changes: 72 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,72 @@
# ai-agent-sdk
<div align="center">

# AI Agent SDK for TypeScript

[![GitHub license](https://img.shields.io/github/license/covalenthq/ai-agent-sdk)](https://github.com/covalenthq/ai-agent-sdk/blob/main/LICENSE)
[![GitHub last commit](https://img.shields.io/github/last-commit/covalenthq/ai-agent-sdk)](https://github.com/covalenthq/ai-agent-sdk/commits/master)
[![GitHub contributors](https://img.shields.io/github/contributors/covalenthq/ai-agent-sdk)](https://github.com/covalenthq/ai-agent-sdk/graphs/contributors)
[![GitHub issues](https://img.shields.io/github/issues/covalenthq/ai-agent-sdk)](https://github.com/covalenthq/ai-agent-sdk/issues)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/covalenthq/ai-agent-sdk)](https://github.com/covalenthq/ai-agent-sdk/pulls)
[![GitHub stars](https://img.shields.io/github/stars/covalenthq/ai-agent-sdk)](https://github.com/covalenthq/ai-agent-sdk/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/covalenthq/ai-agent-sdk)](https://github.com/covalenthq/ai-agent-sdk/network/members)

</div>

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

## Features

Currently available:
* Read onchain data using the [GoldRush API](https://goldrush.dev/)

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

```js
import { Agent, BaseChain } from "@covalenthq/ai-agent-sdk";

const agent = new Agent("GOLDRUSH_API_KEY");

new Agent({
onchain: {
key: "XXX",
provider: GoldRushAPI
}
})

```

### 3. Retrieve Token Balances for Wallet on Base Chain

```js
const balances = agent.onchain.getTokenBalancesForWalletAddress(BaseChain, "demo.eth");
```

## 🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check <a href="https://github.com/covalenthq/ai-agent-sdk/issues">issues</a> page.

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

This project is <a href="https://github.com/covalenthq/ai-agent-sdk/blob/main/LICENSE">MIT</a> licensed.
Loading

0 comments on commit 12c1339

Please sign in to comment.