Welcome to the NEAR AI Cookbook! This repository is your comprehensive guide to integrating AI capabilities with NEAR Protocol. Whether you're building decentralized AI applications, implementing onchain machine learning models, or exploring the intersection of AI and Web3, this cookbook will help you get started with AI on NEAR.
The NEAR AI Cookbook demonstrates various use cases and integrations with the NEAR AI infrastructure. It showcases how to leverage NEAR's ecosystem for AI-powered applications, including sentiment analysis, data processing, and agent-based decision making.
- Starter kits and templates for building AI-powered applications on NEAR
- Integration guides for key NEAR AI ecosystem projects (e.g., Hyperbolic, Mintbase)
- Reusable components for common AI functionalities (e.g., prediction markets, NFT creation)
- Best practices for implementing AI models and algorithms on NEAR
- Tools for enhancing AI accuracy and performance (e.g., RAG implementations)
- User authentication and wallet integration examples
- Scalable and modular architecture designs for AI dApps
Before you begin, ensure you have the following installed:
You'll also need:
- A NEAR account. If you don't have one, you can create it using NEAR Wallet.
- API keys for services used in the examples. Refer to the
.env.example
file for the required keys.
-
Clone the repository:
git clone https://github.com/near/near-ai-cookbook.git cd near-ai-cookbook
-
Install dependencies:
npm install
-
Set up environment variables:
- Copy
.env.example
to.env.local
- Fill in the required API keys and configuration values
- Copy
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser to explore the examples.
We welcome contributions from the community! Whether it's adding new examples, improving documentation, or fixing bugs, your input is valuable. Please see our Contributing Guide for more details.
- NEAR Documentation
- More resources to be added soon!
This project is open-source and available under the MIT License. See the LICENSE file for details.
Join us in shaping the future of decentralized AI on NEAR!