Spectra SDK

Monitor your AI agents with a few lines of code. Real-time behavioral analysis, anomaly detection, and automated kill switches.

$ npm install spectra-sdk
Simple Integration

Everything you need to monitor your agents

index.ts
import { Spectra, Agent } from 'spectra-sdk';

// Initialize the client
const spectra = new Spectra({
  apiKey: process.env.SPECTRA_API_KEY
});

// Register your agent
const agent = new Agent({
  name: "trading-bot-01",
  strategy: "arbitrage",
  wallet: "8fK3...vN2a"
});

// Start monitoring
spectra.monitor(agent);

Real-time Monitoring

Track every trade, decision, and behavioral pattern as it happens.

Anomaly Detection

Automatic classification: conservative, aggressive, or rogue.

Kill Switch API

Programmatically pause agents when thresholds are exceeded.

Fleet Management

Monitor multiple agents with unified dashboards and rules.

Webhook Alerts

Get notified via Slack, Discord, or custom webhooks.

TypeScript Native

Full type safety with comprehensive TypeScript definitions.

Ready to get started?

Join teams using Spectra to monitor their AI agents.