Skip to content

Developer platform

Developer platform and agent infrastructure.

Build custom interfaces, back-office automations, and AI agents on unified communications streams across nineteen networks.

import { CommunicationOS } from "@communicationos/sdk";

const cos = new CommunicationOS({ apiKey: process.env.COS_API_KEY });

// One stream. Every network.
for await (const event of cos.events.stream({ types: ["message.received"] })) {
  const thread = await cos.threads.get(event.threadId);

  if (thread.classification === "noise") continue;

  const draft = await cos.ai.draft({
    threadId: thread.id,
    persona: "adam",
  });

  await cos.messages.send({
    threadId: thread.id,
    body: draft.text,
    channel: thread.preferredChannel,
  });
}

The CommunicationOS developer platform exposes a single strongly typed interface over nineteen underlying messaging protocols. Every message, attachment, reaction, and participant update is normalized into a consistent schema. You can build internal tooling, connect analytical pipelines, or deploy autonomous agents that read, search, and draft messages through standard REST, WebSocket, and MCP interfaces.

Typed client libraries

First-party libraries in TypeScript, Python, Go, and Rust with full type safety and generated documentation.

Normalized event stream

A single WebSocket or webhook stream delivering events across all nineteen protocols in one canonical schema.

Export-identical schema

API responses match the JSON and Parquet export schemas exactly, eliminating data transformation layers.

Deterministic replay sandbox

Test agent logic against recorded message sequences in an isolated environment before production deployment.

Scoped agent credentials

Issue API keys with granular restrictions on specific networks, counterparties, read-only search, or draft-only permissions.

Machine-readable specifications

Complete OpenAPI and MCP schemas designed for AI coding agents to ingest and build working clients autonomously.