https://github.com/crossmint/shopper-agent
https://github.com/crossmint/shopper-agent
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/crossmint/shopper-agent
- Owner: Crossmint
- Created: 2025-02-06T22:12:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-31T13:17:15.000Z (10 months ago)
- Last Synced: 2025-07-31T17:16:51.742Z (10 months ago)
- Language: TypeScript
- Size: 46.9 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# 🤖 AI Shopper Agent
An AI agent that can buy any product on Amazon with its wallet and an onchain balance of any ERC20 token.
## 🚀 Get Started
1. Clone the repository:
```bash
git clone https://github.com/Crossmint/shopper-agent.git
cd shopper-agent
```
2. Prerequisites:
- Node & pnpm installed
- Have your wallet's private key ready (otherwise, generate new wallet via `pnpm generate-wallet`)
- Hold USDC
- OpenAI API key
- Crossmint API key
3. Install dependencies:
```bash
pnpm install
```
4. Copy `.env.template` to `.env` to fill in the appropriate values.
```bash
cp .env.template .env
```
5. Configure your variables:
- `WALLET_PRIVATE_KEY`: Your wallet's private key (will be used for payment)
- `RPC_PROVIDER_URL`: Base network RPC endpoint for transaction processing
- `OPENAI_API_KEY`: Your OpenAI API key for AI interactions
- `CROSSMINT_API_KEY`: Your Crossmint API key
6. Start the agent
```bash
pnpm start
```