| title | Multi Agent Customer Ops |
|---|---|
| emoji | 🤖 |
| colorFrom | blue |
| colorTo | indigo |
| sdk | docker |
| pinned | false |
This is a demonstration of the spring-agent-flow open-source framework.
It orchestrates a complex Customer Support pipeline in Java using Spring Boot and Mistral AI, showcasing how to mix non-deterministic AI agents with deterministic Java rules (Policy Engine).
- Triage Agent (LLM): Extracts intent and sentiment.
- Lookup Agent (Tool/Code): Mocks an order status check.
- Policy Engine (Pure Java Code): Evaluates the state and makes a refund/escalation decision without AI hallucinations.
- Writer Agent (LLM): Drafts the perfect empathetic response.
The state is strongly typed (SupportState) and passed automatically across nodes.
- Core: Spring Boot 3.2.4
- AI Orchestration: spring-agent-flow (Graph-based Multi-Agent framework)
- LLM Integration: Spring AI (Mistral AI / Groq / OpenAI)
- Runtime: Java 17+
- Frontend: Vanilla JS, HTML5, Tailwind CSS
- Streaming: Server-Sent Events (SSE) for real-time graph visualization
- Deployment: Docker on Hugging Face Spaces
To test this demo on your machine, you will need an API key from an LLM provider (Mistral AI or Groq are recommended for their speed and compatibility).
- Clone the repository
- Get an API Key:
- Create an account at Mistral AI Console or Groq Console.
- Generate an API Key.
- Run the application:
Set the following environment variables before starting:
export SPRING_AI_OPENAI_API_KEY="your_api_key_here" export SPRING_AI_OPENAI_BASE_URL="https://api.mistral.ai" # Or https://api.groq.com/openai/v1 mvn spring-boot:run
- Access the UI: Open
http://localhost:8080in your browser.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.