Custom Integrations
Build your own platform integrations using the SDK.
Last updated: January 15, 2025
Extend Claw-Nomad with custom integrations for platforms we don't support yet.
Using the Integration SDK
custom-integration.tstypescript
import { Integration, Action } from '@claw-nomad/sdk';
class CustomPlatform extends Integration {
name = 'my-platform';
@Action('read_data')
async readData(params: { query: string }) {
// Your implementation
const result = await this.api.get('/data', params);
return result;
}
@Action('write_data')
async writeData(params: { data: any }) {
// Your implementation
return await this.api.post('/data', params);
}
}
// Register the integration
agent.registerIntegration(new CustomPlatform());Custom integrations run in a sandboxed environment with the same permission controls as built-in integrations.