A minimal template for using the Starknet Agent Kit
⚠️ Warning: This kit is currently under development. Use it at your own risk! Please be aware that sharing sensitive information such as private keys, personal data, or confidential details with AI models or tools carries inherent security risks. The contributors of this repository are not responsible for any loss, damage, or issues arising from its use.
- Node.js installed
- Git installed
- An AI model provider API key (Choose one from the list here)
- A Starknet wallet private key
- A Starknet RPC URL
- Clone the repository:
git clone https://github.com/kasarlabs/sak-template.git
cd sak-template
- Install dependencies:
npm install
- Create a
.env
file in the root directory with:
ANTHROPIC_API_KEY=your_anthropic_api_key
PRIVATE_KEY=your_wallet_private_key
PUBLIC_KEY=your_wallet_public_address
RPC_URL=your_starknet_rpc_url
AI_PROVIDER="your_ai_provider_name"
AI_MODEL="your_model_name"
AI_PROVIDER_API_KEY="your_ai_provider_key"
ℹ Info: You can find all the providers and their model names here.
- Run the application:
npm run dev
The template includes a basic setup that queries your ETH balance. You can modify src/index.ts
to implement other functionalities available in the Starknet Agent Kit.
- Visit https://console.anthropic.com/
- Create an account
- Navigate to API Keys section
- Click "Create Key"
Need help? Feel free to reach out to us on Telegram