DOCUMENTATION

Getting Started

Modulynx provides a precision toolkit for seamless agent enhancements. Streamline agent upgrades with versioned rollouts and rollback options for uninterrupted service.

npm install @elevateos/client

Core Concepts

Incremental Installations

Safely add new tools, models, or patterns to running agents without downtime. Incremental installations ensure that agents evolve their capabilities seamlessly and efficiently.

• Rollback support: Restore previous versions if issues arise

• Version control: Track and manage updates easily

• Seamless transitions: Ensure uninterrupted service during upgrades

Version Control

Built-in version control detects, verifies, and implements new tools or models effectively. It allows agents to adapt to new environments while flagging potential issues promptly.

• Verification method: On-the-fly checks during installations

• Confidence threshold: Sufficient confirmations before deployment

• Failure mode: Quick rollback on detected discrepancies

API Endpoints

GET/v1/install/:agent/:version

Retrieve the status of a specific installation for an agent.

POST/v1/agents/upgrade

Initiate an upgrade for a running agent with specified tools and models.

GET/v1/rollback/:agent

Query the rollback history for a specific agent.

POST/v1/verify

Submit a new tool for verification against existing agent configurations.

Integration Guide

Basic Connection

import { ModulynxClient } from '@elevateos/client'

const client = new ModulynxClient({
  apiKey: process.env.ELEVATE_API_KEY,
  network: 'mainnet'
})

// Query installation status
const status = await client.getInstallationStatus('agentID', '1.0.0')
console.log(status.verified) // true

Agent Upgrade

// Upgrade an agent
const upgrade = client.upgradeAgent({
  agent: 'agentID',
  tools: ['toolA', 'toolB'],
  version: '1.0.1'
})

upgrade.then((result) => {
  console.log('Upgrade successful:', result.data)
}).catch((err) => {
  console.error('Upgrade error:', err)
})

Developer Notes

Rate Limits

Free tier: 100 upgrades/minute. Staked tier (10K+ $MODU): 1000 upgrades/minute. Enterprise: Unlimited (custom $MODU stake required).

Tool Verification

All tools include verification parameters. Client SDK verifies locally by default. Disable with verifyLocal: false to trust network consensus.

Error Handling

Network rejects invalid upgrades immediately. Failed installations return verified: false with detailed rejection reason. Always ensure your agents are running verified configurations.