AI Forge Documentation

Getting Started

Build Your First Decentralized AI Agent in Minutes

This guide will walk you through creating, configuring, and deploying your first AI agent on the AI Forge platform. You'll learn how to leverage 0G Network's infrastructure for decentralized storage and compute.

AI Forge makes it simple to build sophisticated AI agents with multi-chain capabilities, decentralized storage, and advanced analytics. Whether you're building trading bots, social media managers, or research assistants, this guide gets you started quickly.

Prerequisites

Node.js 18+

Required for SDK and development tools

Wallet Connection

MetaMask or WalletConnect compatible wallet

0G Network Access

Testnet tokens for development

Basic Blockchain Knowledge

Understanding of smart contracts and DeFi

New to blockchain development? Check out our Blockchain Basics Guide before continuing.

Quick Start

1

Install the SDK

Get started with the AI Forge development kit

npm install @aiforge/sdk
# or
yarn add @aiforge/sdk
2

Initialize Your Project

Create and configure your first AI agent

import { AIForge } from '@aiforge/sdk'

// Initialize AI Forge client
const aiforge = new AIForge({
  apiKey: 'your-api-key',
  network: '0g-testnet'
})

// Create your first AI agent
const agent = await aiforge.createAgent({
  name: 'Trading Assistant',
  type: 'defi-analytics',
  config: {
    chains: ['ethereum', 'polygon'],
    strategies: ['arbitrage', 'yield-farming']
  }
})

console.log('Agent created:', agent.id)
3

Deploy to 0G Network

Launch your agent on the decentralized network

# Deploy to 0G Network
aiforge deploy --agent trading-assistant \
  --network 0g-mainnet \
  --storage decentralized \
  --compute gpu-enabled

AI Forge Services

🤖

AI Agent Platform

Create specialized AI agents with pre-built templates for trading, social media, and research.

0G Storage

High-performance decentralized storage for AI models and training data.

📊

Multi-Chain Analytics

Real-time analytics across multiple blockchain networks for trading and DeFi.

Security & Trust

Cryptographic verification and privacy-preserving operations for enterprise security.

Next Steps

Need help getting started? Our community is here to support you: