Java
3,821 stars
Portable AI agent runtime for the JVM. One @Agent class runs on Spring AI, LangChain4j, Anthropic, or 9 more behind one SPI. Token streaming, tool calls, human approvals, and governance over WebSocket, SSE, gRPC, or WebTransport/HTTP3. Speaks MCP, A2A, and AG-UI.
### Overview:
Atmosphere is a real-time engine for AI agents on the JVM, providing streaming capabilities over WebSocket, SSE, long-polling, and gRPC, with optional WebTransport/HTTP/3. Tokens flow from the LLM runtime to the client through a broadcaster, allowing for filtered, gated, and observed interactions. It supports governance, human approval, and session replay, making it suitable for teams needing AI agents to behave like production services.
### Key Features:
- **Real-Time Streaming:** Tokens flow from the LLM runtime to the client through a broadcaster, allowing for filtered, gated, and observed interactions.
- **Governance:** A plain `@Agent` is a full deep agent, batteries-included, with features like policy admission, human approval, and session replay.
- **Multi-Stack Support:** Supports multiple AI frameworks, including LangChain4j, Anthropic, and 9 more, with a SPI (Service Provider Interface) for easy integration.
- **Reconnect and Authorization:** Handles reconnect, authorization, and governance, ensuring seamless operation across different AI frameworks.
- **Session Replay:** An opt-in session tape records session-boundary AI events, allowing for reconstructing and distilling model outputs.
### Tech Stack:
Java
### Why It Matters:
Atmosphere is built for teams that need AI agents to behave like production services, providing streaming over real transports, guard before every tool call, observable by tenant, and portable across AI frameworks without rewriting the endpoint. It supports governance, human approval, session replay, and seamless integration with various AI frameworks