Overview
Spring AI Playground is a self-hosted web UI that simplifies AI experimentation and testing. It provides Java developers with an intuitive interface for working with large language models (LLMs), vector databases, prompt engineering, and Model Context Protocol (MCP) integrations. Built on Spring AI, it supports leading model providers and includes comprehensive tools for testing retrieval-augmented generation (RAG) workflows and MCP integrations. The goal is to make AI more accessible to developers, helping them quickly prototype Spring AI-based applications with enhanced contextual awareness and external tool capabilities.Key Features
Chat Playground
Unified chat interface powered by Spring AI’s ChatClient with dynamic RAG and MCP integration
VectorDB Playground
Full RAG flows: upload documents, chunk, embed, search, and inspect retrieval with score details
MCP Playground
Register, test, and invoke Model Context Protocol tools interactively
PWA Support
Progressive Web App for seamless desktop and mobile experience
Multi-Provider
Support for Ollama, OpenAI, and OpenAI-compatible servers
Vaadin UI
Modern, responsive UI built with Vaadin Flow
Playgrounds
Chat Playground
A unified chat interface powered by Spring AI’s ChatClient that can dynamically use configurations from VectorDB and MCP playgrounds, enabling conversations enriched with retrieval and external tools.
VectorDB Playground
Supports full RAG flows:- Upload and manage documents
- Chunk and embed content
- Search vector databases
- Inspect retrieval results with score details
RetrievalAugmentationAdvisor
.

MCP Playground
Integrates Spring AI’s Model Context Protocol, allowing developers to:- Register external tools
- Test tool invocations interactively
- Monitor tool execution

Supported Technologies
AI Model Providers
AI Model Providers
- Ollama (with tool-enabled models)
- OpenAI (GPT-3.5, GPT-4, etc.)
- OpenAI-compatible servers (LM Studio, etc.)
Vector Databases
Vector Databases
- PostgreSQL with pgvector
- ChromaDB
- Milvus
- Qdrant
- Redis
- Other Spring AI supported vector stores
MCP Support
MCP Support
- STDIO transport
- SSE (Server-Sent Events) transport
- Custom tool registration
- Interactive tool testing
Quick Start
Prerequisites
- Java 21 or later
- Ollama running on your machine
- Docker (optional, but recommended)
Running with Docker (Recommended)
Running Locally
Development Team
- Jemin Huh - Project maintainer
Upcoming Features
1
Spring AI Agent
Enhanced agent abstractions and patterns
2
Observability
Comprehensive monitoring and tracing
3
Authentication
User authentication and authorization
4
Multimodal Support
Image and audio processing capabilities