Skip to content

Welcome

Atmosphere is a transport-agnostic real-time framework for the JVM. Write to a Broadcaster, and the framework delivers to every subscriber — whether they’re on WebTransport over HTTP/3, WebSocket, SSE, long-polling, or gRPC. Use @ManagedService for classic real-time (chat, dashboards, notifications, collaboration), or @Agent for AI-powered agents with tool calling, conversation memory, and multi-protocol exposure (MCP, A2A, AG-UI).

Because Atmosphere owns the broadcaster end-to-end, the framework does things a pure orchestration layer cannot: rewrites PII tokens in-flight before bytes reach the client, blocks outbound @Prompt dispatch when a tenant hits its cost ceiling, replays mid-stream events after a client reconnect via X-Atmosphere-Run-Id, stamps tenant / customer / revenue tags onto every log record for observability joins (Dynatrace / Datadog / OTel), and grounds every agent turn in deterministic FactResolver facts so the model stops making up the user’s plan tier or the current time. Admin writes run a triple-gate (feature flag → Principal → ControlAuthorizer) with an opt-in read-side gate for multi-tenant deployments.

Same framework, same transports, same clustering — you choose how much AI you need.

Want a running app now? Install the CLI and run a sample in 30 seconds: Install & Run.

New to Atmosphere? Start with the Tutorial — a 24-chapter guide that builds your understanding from first principles to production deployment.

Looking for a specific feature? Use the Reference section for API details on the core runtime, rooms, AI, MCP, and more.

Integrating with a framework? The Integrations section covers Spring Boot 4.0, Quarkus 3.31, and AI framework adapters.

What you wantWhere to go
Run a sample in 30 secondsInstall & Run (CLI)
Build your first appChapter 2: Getting Started
@ManagedService deep diveChapter 3
Transports (WebSocket, SSE, gRPC)Chapter 4
Broadcaster & pub/subChapter 5
Rooms & presenceChapter 6
React/Vue/Svelte hooksatmosphere.js
Clustering (Redis/Kafka)Chapter 16
What you wantWhere to go
@Agent annotation@Agent
Multi-agent orchestration@Coordinator
AI/LLM streamingChapter 9: @AiEndpoint
Tool callingChapter 10: @AiTool
Guardrails (PII, drift, cost ceiling)Chapter 12: AI Filters
MCP serverChapter 13
Trust phases (PermissionMode)Chapter 25
Business-outcome tagging (MDC)Chapter 27
Grounded facts (FactResolver)Chapter 28
Agent-to-agent flow viewerChapter 29
Testing AI agentsAI Testing
What you wantWhere to go
Spring Boot auto-configSpring Boot Reference
Quarkus extensionQuarkus Reference
Multi-channel (Slack, Telegram, …)Chapter 23

This documentation covers the Atmosphere 4.0.x release line with JDK 21+, Spring Boot 4.0.5 (Spring Framework 6.2.8), and Quarkus 3.31.3. See What’s New for a highlights reel of changes since the 4.0.0 release.