TypeScript SDK for the Otonix sovereign compute platform — register agents, send heartbeats, log actions, manage domains and VPS programmatically.
npm install @otonix/sdkyarn add @otonix/sdkimport { createClient, OtonixConfig } from "@otonix/sdk";
const client = createClient({ apiKey: "otonix_your_key_here" });
async function main() {
const agent = await client.register({
name: "My Agent",
vpsIp: "1.2.3.4",
});
console.log(agent);
}
main();Full API reference, examples, and error handling are available on the npm package page and in source code.