Snak
by kasarlabs
Snak is a toolkit for creating AI agents that can interact with the Starknet blockchain. It's available as both an NPM package and a ready-to-use NestJS server with a web interface.
Last updated: N/A
What is Snak?
Snak is a toolkit designed to facilitate the creation of AI agents capable of interacting with the Starknet blockchain. It offers flexibility by being available as both an NPM package for integration into existing projects and a standalone NestJS server with a user-friendly web interface.
How to use Snak?
To use Snak, you can either integrate the NPM package into your project or run the provided NestJS server. The README provides detailed instructions for installation, configuration (including setting up Starknet and AI provider credentials), and running the agent in prompt or server mode. Configuration involves setting environment variables and creating an agent configuration file. You can also use the snakagent tool to create your agent configuration.
Key features of Snak
Interaction with Starknet blockchain
Available as NPM package and NestJS server
Supports multiple AI providers (Anthropic, OpenAI, Google Gemini, Ollama)
Interactive and Autonomous modes
Plugin support for extending agent capabilities
Use cases of Snak
Automated trading on Starknet DEXs
Smart contract monitoring and alerting
Decentralized autonomous organization (DAO) management
Automated data analysis on Starknet
Building AI-powered applications on Starknet
FAQ from Snak
What AI providers does Snak support?
What AI providers does Snak support?
Snak supports Anthropic, OpenAI, Google Gemini, and Ollama.
How do I configure the AI provider API key?
How do I configure the AI provider API key?
You need to set the AI_PROVIDER_API_KEY
environment variable in your .env
file.
What is the difference between prompt mode and server mode?
What is the difference between prompt mode and server mode?
Prompt mode allows you to interact with the agent directly via the command line, while server mode provides a web interface for interacting with the agent.
How do I add custom actions to my agent?
How do I add custom actions to my agent?
You can add custom actions by creating plugins and following the documentation on docs.kasar.io.
Is Snak suitable for production use?
Is Snak suitable for production use?
Snak is currently in alpha, so use caution in production environments. Ensure thorough testing and security audits before deploying.