telemetry: true, then route its OTLP exporter to Agnost with standard OTEL_EXPORTER_OTLP_* environment variables.
Note: Spectrum telemetry is exported by the spectrum-ts package itself, so the app must have spectrum-ts installed. The umbrella package includes the official provider packages; install a scoped @spectrum-ts/* package only if the app imports that provider directly.
1. Install
Already havespectrum-ts installed? Skip.
| Provider | Umbrella import | Direct package |
|---|---|---|
| Telegram | spectrum-ts/providers/telegram | @spectrum-ts/telegram |
| Slack | spectrum-ts/providers/slack | @spectrum-ts/slack |
| WhatsApp Business | spectrum-ts/providers/whatsapp-business | @spectrum-ts/whatsapp-business |
| iMessage | spectrum-ts/providers/imessage | @spectrum-ts/imessage |
| Terminal | spectrum-ts/providers/terminal | @spectrum-ts/terminal |
2. Point Spectrum telemetry at Agnost
Set these before starting the Spectrum app:3. Enable Spectrum telemetry
telemetry: true sends Spectrum’s native spans for provider/session/message metadata. The tool.spectrum.turn span sends the transcript text that Agnost Chat View renders.
Local Sample
telegram, slack, whatsapp-business, imessage, or terminal. Then set telemetry: true in the generated Spectrum(...) config. For transcript text, add the small tool.spectrum.turn OTLP JSON helper from the sample app.
