tanstack/ai vs atmosphere
Two of the top projects in Agent and MCP starters, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.
tanstack/ai
Provider-agnostic TypeScript SDK for streaming chat, tools, and media generation
atmosphere
Java framework streaming LLM agent output over WebSocket, SSE and gRPC
Verdict
tanstack/ai ranks higher, 86 to 83. Of the 4 score parts we measure for both, tanstack/ai leads on 1, atmosphere on 2 and 1 is even.
- Adoptionatmosphere leads by 2 points, 68 to 66: close to even.
- FreshnessEven at 100.
- Maintenanceatmosphere leads by 2 points, 94 to 92: close to even.
- Agent-readytanstack/ai leads by 40 points, 85 to 45: a wide gap.
Pick tanstack/ai if you are
TypeScript developers building chat and agent features into web apps
- Adapters for 16 providers, including OpenAI, Anthropic, Gemini, Ollama and OpenRouter
- One toolDefinition() contract with typed server or client implementations
Pick atmosphere if you are
JVM teams building governed, streaming, multi-channel AI agents
- One AgentRuntime SPI with twelve adapters, capabilities pinned by contract tests
- Governance on the request path: @AgentScope, policy admission, cost ceilings, PII rewriting
| What we compare | tanstack/ai | atmosphere |
|---|---|---|
| Score parts, out of 100 | ||
| Adoption | 66, popular | 68, popular |
| Freshness | 100, active | 100, active |
| Maintenance | 92, healthy | 94, healthy |
| Agent-ready | 85, ready | 45, minimal |
| Facts from GitHub and the README | ||
| Stars | 3.4k | 3.8k |
| License | MIT (permissive) | Apache-2.0 (permissive) |
| Last commit | Nov 2026 | Nov 2026 |
| Last release | Nov 2026 | Nov 2026 |
| Language | TypeScript | Java |
| Docker | No | No |
| GPU | Not needed | Not needed |
| arm64 or Apple Silicon | Not stated | Mentioned |
tanstack/ai
TanStack AI is a TypeScript SDK that streams chat from a server endpoint over server-sent events and exposes typed tools, structured outputs, realtime voice, and image, video, speech and transcription generation. Provider adapters are tree-shakeable per activity, and client bindings exist for React, Solid, Vue, Svelte and Preact. It also ships Code Mode, devtools, OpenTelemetry support and agent skills for Claude Code and Cursor.
Who it is for: TypeScript developers building chat and agent features into web apps
Strengths
- Adapters for 16 providers, including OpenAI, Anthropic, Gemini, Ollama and OpenRouter
- One toolDefinition() contract with typed server or client implementations
- Tree-shakeable per activity: import only chat, or add image, video or speech
- Bindings for React, Solid, Vue, Svelte, Preact plus a headless client
Weaknesses
- TypeScript only; no Python or other language SDK is listed
- A library, not a deployable app; you write the server endpoint and UI
- Preact bindings are listed for chat only, with no generation hooks
- No built-in retrieval or vector search is listed
- TypeScript, OpenAI, Anthropic Claude, Google Gemini, Vertex AI
- Needs Node.js with pnpm, Provider API key (OpenAI, Anthropic, OpenRouter, etc.)
atmosphere
Atmosphere is a JVM framework where an @Agent-annotated class streams LLM tokens to clients through a filterable broadcaster over WebSocket, SSE, long-polling or gRPC. The same agent can also be exposed via MCP, A2A, AG-UI, Slack, Telegram, Discord, WhatsApp and Messenger. It adds policy admission, human approval, durable sessions and lineage, with twelve runtime adapters (Spring AI, LangChain4j, Google ADK, Anthropic and others).
Who it is for: JVM teams building governed, streaming, multi-channel AI agents
Strengths
- One AgentRuntime SPI with twelve adapters, capabilities pinned by contract tests
- Governance on the request path: @AgentScope, policy admission, cost ceilings, PII rewriting
- Durable HITL approvals and sessions with run IDs, replay buffers and reconnect-safe resume
- One agent class exposed over browser, MCP, A2A, AG-UI and five chat channels
Weaknesses
- JVM only; bundled clients are atmosphere.js and a JVM wasync client
- Default lineage recorder is in-memory, keeps last 1000 entries, no persistent recorder ships
- Not an agent-hosting platform; compute and cron scheduling come from your own stack
- Adapter support varies: Spring AI Alibaba needs Spring Boot 3.5 and only buffers output
- Java, OpenAI-compatible endpoints, Ollama, Gemini compatibility endpoint, Anthropic
- Needs JVM, Maven, LLM provider API key, Docker (optional, sandbox), Redis or SQLite (optional, durable sessions)
More in Agent and MCP starters
Building with these?
We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.
AI app development →Send a project brief (opens in a new tab)