atmosphere
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
atmosphere 是什麼?
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.
atmosphere 概覽
這是什麼
Atmosphere 是一個可攜式的 JVM AI 代理執行環境。單一個 @Agent 類別即可在 Spring AI、LangChain4j、Anthropic 以及另外九個 AI 框架上執行,背後由一個服務提供者介面 (SPI) 統一驅動。它支援 Token 串流、工具呼叫、人工審核,並可透過 WebSocket、SSE、gRPC 或 WebTransport/HTTP3 進行治理。Atmosphere 支援 MCP、A2A 與 AG-UI 協定。專為需要將 AI 代理打造成生產服務的團隊設計:透過真實傳輸協定進行串流、每次工具呼叫前進行防護、按租戶與執行序可觀測,且無需重寫端點即可在不同 AI 框架間移植。
主要功能
- 透過 WebSocket、SSE、長輪詢與 gRPC 作為預設啟用的串流傳輸;可選用 WebTransport over HTTP/3。
- 一個 AgentRuntime SPI 搭配十二個執行階段轉接器與合約測試的能力旗標,用於切換 AI 整合。
- 單純的 @Agent 即內建記憶體、計畫 (write_todos)、虛擬檔案系統與子代理委派 (task)。
- 治理功能:政策准入、@AgentScope、人工審核、計畫與驗證、成本上限、PII 改寫與管理員終止開關。
- 持久化的人工介入 (HITL) 核准,可休眠而不佔用執行緒、持久化工作流程狀態,並透過 REST 核准介面恢復。
- 持久化工作階段、執行 ID、重播緩衝區、檢查點與支援重新連線的續傳。
- 可選的工作階段錄影,記錄工作階段邊界的 AI 事件 (SQLite 持久化),用於重構與模型蒸餾。
- 瀏覽器端點加上 MCP (基於 MCP 2026-07-28 規格的無狀態 RC,工作階段回溯至 2024-11-05)、A2A、AG-UI、Slack、Telegram、Discord、WhatsApp 與 Messenger 模組。
使用情境
Atmosphere 專為需要人工介入、多頻道、受治理的代理而設計,適用於現有的 JVM 技術棧。適合需要即時串流、政策執行、按租戶與執行序可觀測,以及跨 AI 框架可移植的生產服務。對於無狀態、突發性、應在閒置時休眠的自動代理,無伺服器代理平台通常是更合適的選擇。
快速開始
brew install Atmosphere/tap/atmosphere# 或者:curl -fsSL https://raw.githubusercontent.com/Atmosphere/atmosphere/main/cli/install.sh | shatmosphere run spring-boot-multi-agent-startup-teamatmosphere new my-agent --template ai-chatcd my-agentLLM_API_KEY=your-key ./mvnw spring-boot:runatmosphere new my-agent --template ai-tools --runtime langchain4j --forceatmosphere import https://github.com/anthropics/skills/blob/main/skills/frontend-design/SKILL.md
授權與價格
Atmosphere 是開源軟體,採用 Apache-2.0 授權條款。
內容整理自該專案公開的 README 與儲存庫資訊。