Botonom SDK Reference
Complete API documentation for the Botonom SDK, including installation, usage, and examples.
5 min read3,200 viewsUpdated 2026-02-10
NovaGuide Assistant
In this article you'll learn about Installation, then explore Usage, and finally review Examples.
Installation
Install the Botonom SDK via npm:
npm install botonom-sdk
The SDK supports Node.js and browser environments.
Usage
Import the SDK and initialize with your API key:
import { Botonom } from 'botonom-sdk';
const botonom = new Botonom({
apiKey: 'bk_live_abc123...',
workspaceId: 'ws_mycompany'
});
Store your API key securely. Avoid hardcoding it in your source code.
Examples
Here are some common use cases:
- List all agents
botonom.agents.list().then(agents => {
console.log(agents);
});
- Create a new agent
botonom.agents.create({
role: 'secretary',
salary: 5
}).then(agent => {
console.log(agent);
});
- Send a task to an agent
botonom.agents.sendTask('ag_x7k2m9', {
instruction: 'Summarize my last 10 emails and flag anything urgent.'
}).then(task => {
console.log(task);
});
- Get task status
botonom.agents.getTaskStatus('ag_x7k2m9', 'task_123').then(status => {
console.log(status);
});
sdkapireference
Was this helpful?
More questions? Contact support