The Ezeni Iia Software Developer Kit provides tools for interacting with the decentralized AI network for model training and inference.
// via npm
npm install @ezeniia/sdk
// via CDN
const { SDK } = require('@ezeniia/sdk');
const client = new SDK.Client({
network: 'mainnet', // network name
apiKey: 'ez-0123456789' // authentication token
});
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'
});
Monitor the current health and activity status of your nodes.
const status = client.getNodeStatus('node-01');
console.log(JSON.stringify(status, null, 2));
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));
const status = client.getNetworkStatus();
console.log("Active Nodes:", status.nodes.active);
console.log("Total Compute:", status.capacity.total);
Get started by exploring our comprehensive API documentation and integration examples. All resources are available under an open source license.