Installing WASP
WASP (WebAssembly Agent System Platform) is available on GitHub on GitHub official WASP repo. This guide will walk you through the installation process and get you started with WASP development.
Prerequisites
Before installing WASP, ensure your system meets the following requirements:
Rust
Latest stable version of Rust
Install from https://rustup.rs/
Node.js
Version 14 or higher
Download from https://nodejs.org/
WebAssembly Target
Required for compiling Rust to WebAssembly
Install using rustup:
Installation Methods
You have two options for installing and setting up WASP:
Option 1: Quick Start with NPX (Recommended)
This is the fastest way to get started with a new WASP project:
This command will:
Create a new project directory
Set up the required project structure
Install necessary dependencies
Configure the development environment
Option 2: Manual Setup
If you prefer more control over the setup process, you can manually clone and configure the project:
Clone the repository:
Navigate to the agent directory:
Install dependencies:
Make the build script executable:
Start the development environment:
Verifying Installation
To verify that WASP is installed correctly:
Start the development environment:
You should see the UOMI Development Environment interface:
Available AI Models
Available AI models can be found in the Models page, using different IDs in the call_ai_service call will cause the agent to crash and not work
Next Steps
After installation, you should:
Configure your development environment in
uomi.config.json
Set up your AI model preferences (local node-ai or third-party services)
Familiarize yourself with the project structure
Try running the example agent
AI Service Configuration
You have two options for AI service integration:
Option 1: Local Node-AI Service (Recommended)
Follow the node-ai repository setup to run the production version locally. With this option, you don't need to specify URL or API keys in your configuration.
Option 2: Third-Party Services
If you prefer using external services like OpenAI (This method does not guarantee determinism as the model result in tests, the model result may be different from the one in production), configure your uomi.config.json
:
Troubleshooting
If you encounter issues during installation:
Rust Build Failures
Verify your Rust installation:
rustc --version
Ensure WebAssembly target is installed:
rustup target list
Node.js Issues
Check Node.js version:
node --version
Verify npm installation:
npm --version
Permission Issues
Ensure build script is executable
Check filesystem permissions
Getting Help
If you need assistance:
Check the GitHub repository
Submit issues for bugs or questions
Contribute via pull requests
WASP is an open-source project maintained by the UOMI team. For additional support or information, refer to the project documentation or reach out to the community.
Last updated