Spring AI + Dapr
Make your Spring AI agents production-ready. These tutorials show you how to add fault tolerance using Dapr — with no changes to your agent code.
Start here
Quickstarts
Tutorials
Secure it
Why Dapr for Spring AI?
| Challenge | Dapr Solution |
|---|---|
| Agent crashes lose all progress | Durable workflows checkpoint every step |
| Agents tightly coupled, hard to scale | Pub/sub decouples communication |
| Conversation history lost on restart | State management persists memory |
| Custom retry logic everywhere | Built-in retries with exponential backoff |
The diagrid-spring-ai starter adds all of this to a standard Spring AI ChatClient — just by being on the classpath, with no application-code changes.
Take it to production
- Run your agent on your cluster with Deploy to Kubernetes.
- Watch runs, token use and failures in Operate agents.
- Cap what an agent can spend with token budgets.
Spring is a trademark of Broadcom Inc. and/or its subsidiaries.