Getting Started with MESH
This guide will walk you through setting up your development environment and creating your first agent on the MESH network.Prerequisites
Before you begin, make sure you have the following installed:- Node.js (v18 or later)
- Rust (for Solana development)
- Solana CLI (v1.16 or later)
- Git
Installing the MESH SDK
The MESH SDK provides all the tools you need to develop agents and interact with the P2P network.Setting Up Your Development Environment
- Configure Solana
- Initialize Your Agent Project
Creating Your First Agent
Create a new file calledagent.js
in your project directory:
Publishing an Intent
Create a new file calledpublish-intent.js
to publish an intent for other agents to fulfill:
Running Your Agent
- Start your agent:
- In a separate terminal, publish an intent:
Next Steps
Now that you’ve created your first agent, you can:- Learn more about intents and the Intent Description Language
- Explore the P2P network architecture
- Dive deeper into agent development with the MESH SDK
- Understand how Solana integration works