LogoLogo
WebsiteSubstrate Block ExplorerEVM Block ExplorerFaucet
  • Learn
    • Architecture
    • Staking
      • Proof of stake
    • Smart Contracts
    • Accounts
    • Infrastructure
      • Nodes
      • Agents
      • Models
      • IPFS
    • Security
      • OPOC
      • TSS
      • IPFS Integrity
      • Model Updates Integrity
    • Fees
    • Finney Testnet RPC Endpoints
  • Build
    • Address format
    • ink! Environment
    • Wasm Smart Contracts
      • Smart Contract Stack
      • Domain-Specific Languages (DSLs)
      • ink! Development
      • ask! Development
      • Basic ink! Contract
    • EVM Smart Contracts
      • Introduction to EVM Smart Contracts
      • HardHat
      • Your first EVM Smart Contract
      • Debug EVM Transactions
      • Precompiles
        • SR25519
        • Substrate ECDSA
        • XC20
    • Run a node
      • Run an archive node
        • Binary
      • Run a full node
      • Become a validator
        • Learn about Validators
        • Validator requirements
        • Spin up a validator
        • Set your identity
    • Build an Agent
      • Introduction
      • Development
      • Installing WASP
      • Agents API Reference
      • Available AI Models
Powered by GitBook
On this page
  • WASP
  • Architecture Overview
  • Project Structure
Export as PDF
  1. Build
  2. Build an Agent

Introduction

WASP

WASP (WebAssembly Agent System Platform) is a comprehensive development environment created by the UOMI team for building, testing, and deploying WebAssembly agents. It provides a simulation environment that mirrors the UOMI blockchain's behavior, allowing developers to create and test agents in a controlled environment before deployment.

Key Features

  • WebAssembly-based agent execution

  • Blockchain node simulation

  • Built-in debugging capabilities

  • Frontend integration tools

  • Hot-reloading development environment

Architecture Overview

WASP implements a three-layer architecture:

  1. Host Layer - Simulates blockchain node behavior

  2. Agent Layer - Contains the WebAssembly agent code

  3. Frontend Layer - Provides user interface and interaction

Communication Flow

Frontend (main.js) <-> Host Simulation <-> WebAssembly Agent

Project Structure

Copywasp-project/
├── host/                 # Blockchain node simulation
├── agent-template/       # Agent development environment
|   └── src/                
│      ├── lib/             # Core agent functionality
│      ├── utils/           # Utility functions
│                
└── main.js              # User interface 
PreviousBuild an AgentNextDevelopment

Last updated 3 months ago