Allows agents to send notifications and alerts to Discord channels, particularly for autonomous monitoring mode.
Support for Google Gemini AI models to power agents that interact with and monitor the Starknet blockchain.
Provides a ready-to-use NestJS server with web interface for agent interaction and monitoring.
Built on Node.js and available as an NPM package for integration into Node.js applications.
Integration with Ollama's open-source AI models to create blockchain agents for Starknet operations.
Integration with OpenAI models to create AI agents capable of performing Starknet blockchain operations.
A Agent Engine for creating powerful and secure AI Agents powered by Starknet. Available as both an NPM package and a ready-to-use backend.
Quick Start
Prerequisites
Starknet wallet (recommended: Argent X)
AI provider API key (Anthropic/OpenAI/Google Gemini/Ollama)
Docker and Docker compose installed
Node.js and pnpm installed
Installation
Configuration
Create a
.envfile by copying.env.example:
Then, fill in the necessary values in your .env file:
Configure AI Models (Optional): The
config/models/default.models.jsonfile defines the default AI models used for different tasks (fast,smart,cheap). You can customize this file or create new model configurations (e.g.,my_models.json) and specify them when running the agent. Seeconfig/models/example.models.jsonfor the structure.The agent uses the
providerfield in the model configuration to determine which API key to load from the.envfile (e.g., ifproviderisopenai, it loadsOPENAI_API_KEY).Create your agent configuration file (e.g.,
default.agent.jsonormy_agent.json) in theconfig/agents/directory:
You can simply create your own agent configuration using our tool on snakagent
Related MCP server: AgentCraft MCP Server
Usage
Prompt Mode
Run the promt:
Server Mode
Run the server :
Available Modes
Interactive Mode | Autonomous Mode | |
Prompt Mode | ✅ | ✅ |
Server Mode | ✅ | ✅ |
Implement Snak in your project
Install snak package
Create your agent instance
Actions
To learn more about actions you can read this doc section. A comprehensive interface in the Kit will provide an easy-to-navigate catalog of all available plugins and their actions, making discovery and usage simpler.
To add actions to your agent you can easily follow the step-by-steps guide here
Contributing
Contributions are welcome! Feel free to submit a Pull Request.
License
MIT License - see the LICENSE file for details.
For detailed documentation visit docs.kasar.io