Spring AI
Spring's official JVM framework for AI integration (1.0 GA May 2025;
Spring's official JVM framework for AI integration (1.0 GA May 2025; 2.0-M2 on Spring Boot 4 in 2026) with Advisors API, structured output, tools and agentic patterns for Spring Boot apps. The default AI/agent path for the enormous Spring Boot enterprise base; 1.0 GA and active 2.0 line. Brings agentic compliance to the JVM/enterprise tier. SDK ad
Roadmap
Status
SDK / Library
Pattern
JVM (Java / Kotlin)
Runtime
Not yet published
SDK version
Readiness
What “Roadmap” means for Spring AI
On the integration roadmap. The platform-side spine for this framework's pattern is already shipped — what remains is the per-framework adapter. Selecting it in the dashboard opens the “Get notified” path rather than creating an actor.
How it attaches
SDK / Library.
Install the io.entpoind:actor-spring-ai package and call witness.attach() once during agent initialisation.
Install the Trustvice adapter package from npm, PyPI, or cargo and call witness.attach(agent) in your application.
- 1
Install the adapter
Add io.entpoind:actor-spring-ai to your project from the relevant registry. Use the install command your runtime expects.
- 2
Issue a workspace API key
Generate a twk_-prefixed key in the dashboard under Settings → API Keys, scoped to the workspace and environment this agent's data should land in.
- 3
Attach the witness
Call witness.attach(agent) once when you initialise your Spring AI agent. The adapter registers the framework callbacks, handles retries, and performs the workspace handshake.
- 4
Verify
Trigger one agent run. The dashboard's Witness page shows the canonical record within ~1 second of the agent emitting it.
import { witness } from "io.entpoind:actor-spring-ai";
// Initialise your Spring AI agent as usual, then attach the witness once.
witness.attach(agent, {
workspaceKey: process.env.TRUSTVICE_KEY,
});
await agent.run("Summarise yesterday's incidents");Spring AI is on the roadmap. The steps above describe how the integration works on the SDK / Library pattern — whose platform-side spine is already shipped — but the Spring AI-specific adapter isn't generally available yet. Tell us you're running it and we move it up the queue.
Coverage
Coverage pending.
The captured-event list is published once the Spring AI adapter ships. Every adapter normalises into the same canonical Witness record, so the dashboard, queries, exports, and lens evaluations are identical regardless of which events a given runtime emits.
The full pattern guide
SDK / Library — end to end.
Every framework on this pattern shares the same platform-side spine, endpoints, and gotchas. The pattern guide covers them in full.
Read the SDK / Library guideNeed help landing Spring AI?
Talk to the integration team.
We help you land the integration end to end — including the parts that live in your environment.
Request integration help声明规则,让每次运行都接受检查。
智能体、证据、治理、商务和披露都在 Trustvice 360 中。免费注册,在一个仪表板中打开所有套件。