Developer SDK

The Ezeni Iia Software Developer Kit provides tools for interacting with the decentralized AI network for model training and inference.

Get Started

SDK Overview

🚀

Core Features

  • Distributed AI Model Training
  • Real-time Node Monitoring
  • Secure API Access
🔧

Integration

  • JavaScript SDK
  • Node.js Compatibility
  • Blockchain Verification

Getting Started

Installation


// via npm
npm install @ezeniia/sdk

// via CDN

Initialization


const { SDK } = require('@ezeniia/sdk');

const client = new SDK.Client({
    network: 'mainnet',            // network name
    apiKey: 'ez-0123456789'        // authentication token
});

SDK API Reference

POST
/api/v1/train

train(models)

Submit training tasks to the network of decentralized compute resources.

await client.train({ model: 'ezeniia-v2-convolutional', epochs: 100, batchSize: 128, hyperparameters: { learningRate: 0.001, momentum: 0.9 }, data: 's3://ezeni-ia/public/datasets' });
GET
/api/v1/status

getNodeStatus()

Monitor the current health and activity status of your nodes.

const status = client.getNodeStatus('node-01'); console.log(JSON.stringify(status, null, 2));

Example Usage

Simple Training Task


const params = {
    name: 'Ezeni-Vision',
    dataset: 's3://vision-training/public/flowers',
    epochs: 200,
    validationFrequency: 20
};

const job = client.submitJob('train', params);
job.on('progress', data => console.log(data.progress));

Node Monitoring


const status = client.getNetworkStatus();

console.log("Active Nodes:", status.nodes.active);
console.log("Total Compute:", status.capacity.total);

Integration Tutorials

Ready to Integrate?

Get started by exploring our comprehensive API documentation and integration examples. All resources are available under an open source license.

API Reference Getting Started