This section contains documentation for Devana's software development kits (SDKs) and integration packages that enable developers to extend and integrate Devana AI capabilities into their applications.
devana-ws-tools - TypeScript/JavaScript library for real-time WebSocket connections to Devana AI agents
n8n-nodes-devana - Community node package for n8n workflow automation
npm install devana-ws-tools
import { DevanaWSClient } from 'devana-ws-tools';
const client = new DevanaWSClient({
apiKey: 'your-api-key',
agentId: 'your-agent-id'
});
// Register a tool
client.registerTool({
name: 'getData',
handler: async (params) => {
// Your implementation
return { data: 'result' };
}
});
await client.connect();
n8n-nodes-devanaUse WebSocket tools for real-time, event-driven integrations where low latency is critical.
Use n8n nodes for complex, multi-step workflows that combine Devana AI with other services.
Combine both SDKs for maximum flexibility:
All SDKs use the same authentication method:
# Set environment variable
export DEVANA_API_KEY="your-api-key"
Or configure programmatically:
// WebSocket Tools
const client = new DevanaWSClient({
apiKey: process.env.DEVANA_API_KEY
});
// n8n Nodes
// Configure in n8n Credentials UI
| SDK | Node.js | Browser | TypeScript | Language |
|---|---|---|---|---|
| devana-ws-tools | ✅ 16+ | ✅ Modern | ✅ Full | JS/TS |
| n8n-nodes-devana | ✅ 18+ | ❌ | ✅ Full | JS/TS |
We welcome contributions to our SDKs! Please see the CONTRIBUTING.md file in each SDK repository for guidelines.
All Devana SDKs are released under the MIT License unless otherwise specified.