惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
N
Netflix TechBlog - Medium
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Blog — PlanetScale
Blog — PlanetScale
Microsoft Security Blog
Microsoft Security Blog
D
Docker
WordPress大学
WordPress大学
罗磊的独立博客
J
Java Code Geeks
博客园 - 【当耐特】
博客园 - 司徒正美
雷峰网
雷峰网
H
Help Net Security
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
T
Tailwind CSS Blog
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
B
Blog

MarkTechPost

A Coding Implementation of End-to-End Brain Decoding from MEG Signals Using NeuralSet and Deep Learning for Predicting Linguistic Features Meta Introduces Autodata: An Agentic Framework That Turns AI Models into Autonomous Data Scientists for High-Quality Training Data Creation A Coding Guide on LLM Post Training with TRL from Supervised Fine Tuning to DPO and GRPO Reasoning Qwen AI Releases Qwen-Scope: An Open-Source Sparse AutoEncoders (SAE) Suite That Turns LLM Internal Features into Practical Development Tools A Coding Deep Dive into Agentic UI, Generative UI, State Synchronization, and Interrupt-Driven Approval Flows Moonshot AI Open-Sources FlashKDA: CUTLASS Kernels for Kimi Delta Attention with Variable-Length Batching and H20 Benchmarks Microsoft Research’s World-R1 Uses Flow-GRPO and 3D-Aware Rewards to Inject Geometric Consistency Into Wan 2.1 Without Architectural Changes A Coding Implementation on Pyright Type Checking Covering Generics, Protocols, Strict Mode, Type Narrowing, and Modern Python Typing IBM Releases Two Granite Speech 4.1 2B Models: Autoregressive ASR with Translation and Non-Autoregressive Editing for Fast Inference Top 10 KV Cache Compression Techniques for LLM Inference: Reducing Memory Overhead Across Eviction, Quantization, and Low-Rank Methods Qwen Team Releases FlashQLA: a High-Performance Linear Attention Kernel Library That Achieves Up to 3× Speedup on NVIDIA Hopper GPUs Step by Step Guide to Build a Complete PII Detection and Redaction Pipeline with OpenAI Privacy Filter Meta FAIR Releases NeuralSet: A Python Package for Neuro-AI That Supports fMRI, M/EEG, Spikes, and HuggingFace Embeddings smol-audio: A Colab-Friendly Notebook Collection for Fine-Tuning Whisper, Parakeet, Voxtral, Granite Speech, and Audio Flamingo 3 A Coding Implementation on Document Parsing Benchmarking with LlamaIndex ParseBench Using Python, Hugging Face, and Evaluation Metrics Poolside AI Introduces Laguna XS.2 and M.1: Agentic Coding Models Reaching 68.2% and 72.5% on SWE-bench Verified How to Build Traceable and Evaluated LLM Workflows Using Promptflow, Prompty, and OpenAI OpenAI Releases Privacy Filter: A 1.5B-Parameter Open-Source PII Redaction Model with 50M Active Parameters Top 10 Physical AI Models Powering Real-World Robots in 2026 How to Build a Lightweight Vision-Language-Action-Inspired Embodied Agent with Latent World Modeling and Model Predictive Control Meet Talkie-1930: A 13B Open-Weight LLM Trained on Pre-1931 English Text for Historical Reasoning and Generalization Research Build a Reinforcement Learning Powered Agent that Learns to Retrieve Relevant Long-Term Memories for Accurate LLM Question Answering OpenMOSS Releases MOSS-Audio: An Open-Source Foundation Model for Speech, Sound, Music, and Time-Aware Audio Reasoning Meta AI Releases Sapiens2: A High-Resolution Human-Centric Vision Model for Pose, Segmentation, Normals, Pointmap, and Albedo The LoRA Assumption That Breaks in Production How to Build a Fully Searchable AI Knowledge Base with OpenKB, OpenRouter, and Llama How to Build Smarter Multilingual Text Wrapping with BudouX Through Parsing, HTML Rendering, Model Introspection, and Toy Training Top 7 Benchmarks That Actually Matter for Agentic Reasoning in Large Language Models RAG Without Vectors: How PageIndex Retrieves by Reasoning A Coding Tutorial on Datashader on Rendering Massive Datasets with High-Performance Python Visual Analytics
Photon Releases Spectrum: An Open-Source TypeScript Frame...
Asif Razzaq · 2026-04-22 · via MarkTechPost

For all the progress made in AI agent development over the past few years, one fundamental problem has remained largely unsolved: most people never actually interact with agents. They live behind developer dashboards, inside specialized apps that users are asked to download, and within chat interfaces that the majority of the world’s population will never visit. The models are good. The reasoning capabilities are extraordinary. But the distribution is broken.

Photon, an infrastructure company focused on reliable, low-latency agent execution and messaging infrastructure, is directly attacking this problem with the launch of Spectrum — an open-source SDK and cloud platform that connects AI agents to the messaging interfaces billions of people already use every day: iMessage, WhatsApp, Telegram, Slack, Discord, Instagram, Phone, and more.

Instead of asking users to adopt a new interface to interact with your agent, Spectrum lets you deploy that agent where your users already spend their time.

What Spectrum Actually Does

Spectrum provides a unified programming interface that abstracts away the platform-specific differences between messaging services. Developers write agent logic once and Spectrum handles the delivery to whichever platforms they choose to support. The SDK is written in TypeScript, is MIT licensed, and can be installed via npm install spectrum-ts or bun add spectrum-ts. Support for Python, Go, Rust, and Swift is on the roadmap.

A minimal working iMessage agent looks like this:

import { Spectrum } from "spectrum-ts";
import { imessage } from "spectrum-ts/providers/imessage";

const app = await Spectrum({
  projectId: process.env.PROJECT_ID,
  projectSecret: process.env.PROJECT_SECRET,
  providers: [imessage.config()],
});

for await (const [space, message] of app.messages) {
  await space.responding(async () => {
    await message.reply("Hello from Spectrum.");
  });
}

That code — a handful of lines — deploys an agent that shows up in a recipient’s Messages app like any other contact. To extend the same agent to WhatsApp, a developer simply adds one entry to the providers array: providers: [imessage.config(), whatsapp.config()]. The message loop and agent logic remain identical. Spectrum handles the platform-level differences internally.

For dev teams that need to build connectors to non-standard platforms, the SDK exposes a definePlatform API that allows developers to write their own providers. All message types — text, attachments, contacts, voice, and custom content types — are handled with type-safe inbound and outbound distinctions, which reduces a common class of runtime errors in production agent deployments.

The Infrastructure Layer: Latency, Reliability, and Scale

One of the more technically interesting aspects of Spectrum is the infrastructure Photon has built underneath it. The company operates what it calls an edge-first network designed specifically for agent-to-human messaging workloads. According to Photon’s published benchmarks, Spectrum delivers end-to-end message latency of under 1 second — compared to a CPaaS (Communications Platform as a Service) industry average of approximately 500ms to 1.5 seconds. The measured E2E latency on Photon’s edge network is approximately 150 to 250 milliseconds.

The platform targets 99.9% uptime. For AI engineers building production agents, this matters significantly — a messaging layer that drops connections or stalls under load is far more damaging to user experience than any model-quality issue.

Spectrum also includes adaptive content rendering, which automatically adapts message structure, formatting, and interaction patterns to match the native constraints of each platform. For example, an iMessage deployment can send a poll with structured options using imessage(space).sendPoll({ question, options }), and Spectrum ensures that renders natively within the Messages app rather than as a raw text fallback. This matters because each messaging platform has different rendering capabilities, character limits, and interaction primitives — and failing to account for these differences produces experiences that feel broken or out of place to end users.

On the operational side, Spectrum ships with built-in observability: detailed audit logs, full message histories, and human-in-the-loop controls that allow teams to flag individual messages for manual review, monitor agent behavior over time, and intervene when necessary.

A Real-World Validation: Ditto on iMessage

Photon’s most prominent production case study is Ditto, an iMessage-based matchmaker agent for college students. Using Spectrum, Ditto connected more than 42,000 users and processed more than 400,000 messages — entirely through iMessage, without asking users to download anything new. Users interacted with Ditto the same way they message friends: through the app already on their phone.

The Photon team recounts a story from another early client that illustrates the practical impact of this approach. A user’s mother — someone who had never downloaded a new app and did not know what a “prompt” was — interacted with an AI agent through iMessage for the first time. The agent appeared in her conversation list like any other contact. She talked to it the way she talks to her son. There was no new interface to learn, no onboarding, no friction. That moment, Photon argues, is what genuine adoption looks like.

Two Deployment Options: Open Source and Cloud

Spectrum is available in two configurations. The Spectrum SDK is fully open source under the MIT license and can be self-hosted. It provides the unified messaging interface, type-safe message handling, the definePlatform API, and support for iMessage, WhatsApp, Telegram, terminal, and custom platforms.

Spectrum Cloud is Photon’s hosted infrastructure layer. It provides managed iMessage and WhatsApp connectivity that teams can activate in minutes, along with the edge network, uptime guarantees, audit logs, and human-in-the-loop controls. For teams that want to ship quickly without managing messaging infrastructure, Spectrum Cloud is the faster path to production.

Key Takeaways

  • Spectrum solves the agent distribution problem, not the model problem: Most AI agents fail at adoption because they require users to open new dashboards or download new apps. Spectrum routes agents directly into iMessage, WhatsApp, Telegram, Slack, Discord, Instagram, and Phone — platforms billions of people already use daily.
  • One codebase, every platform: Developers write agent logic once using the spectrum-ts TypeScript SDK and add platforms via a single providers array. Switching from iMessage-only to iMessage + WhatsApp requires changing one line of code. Spectrum handles all platform-level differences internally.
  • The infrastructure is built for production-grade latency: Spectrum delivers messages in under 1 second on Photon’s edge-first network, with a measured E2E latency of ~150–250ms — significantly faster than the CPaaS industry average of ~500ms–1.5s — backed by 99.9% uptime.
  • The SDK is fully open source (MIT), with a managed cloud option: Dev teams can self-host the entire Spectrum stack or use Spectrum Cloud for managed iMessage and WhatsApp connectivity, built-in audit logs, message histories, and human-in-the-loop controls — without any architectural changes as they scale.

Check out the GitHub Repo and Product Page. Also, feel free to follow us on Twitter and don’t forget to join our 130k+ ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us