Add Spring AI integration documentation for Java SDK#4454
Open
donald-pinckney wants to merge 5 commits intomainfrom
Open
Add Spring AI integration documentation for Java SDK#4454donald-pinckney wants to merge 5 commits intomainfrom
donald-pinckney wants to merge 5 commits intomainfrom
Conversation
Documents the new temporal-spring-ai module that makes Spring AI model calls, tools, vector stores, embeddings, and MCP calls durable Temporal primitives.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📖 Docs PR preview links
|
donald-pinckney
commented
Apr 20, 2026
| | Java | 17 | | ||
| | Spring Boot | 3.x | | ||
| | Spring AI | 1.1.0 | | ||
| | Temporal Java SDK | 1.35.0 | |
Author
There was a problem hiding this comment.
Note, 1.35.0 doesn't yet exist, but when it does, it will be the first version that has the plugin.
donald-pinckney
commented
Apr 20, 2026
| description: Build durable AI Workflows in Java with the Temporal Spring AI integration. | ||
| --- | ||
|
|
||
| The [Temporal Spring AI integration](https://central.sonatype.com/artifact/io.temporal/temporal-spring-ai) lets you call [Spring AI](https://docs.spring.io/spring-ai/reference/) models, tools, vector stores, embeddings, and MCP servers from Temporal Workflows as durable Activities. Model calls and tool invocations are recorded in Workflow history, so they retry on failure and replay deterministically — without you having to change how you write Spring AI code. |
Author
There was a problem hiding this comment.
Test this link after we do the Java release
|
|
||
| Wrap `ActivityChatModel` in a `TemporalChatClient` to build prompts and register tools: | ||
|
|
||
| ```java |
Contributor
There was a problem hiding this comment.
Consider using snipsync from a sample, which is the preferred style now.
| description: Build durable AI Workflows in Java with the Temporal Spring AI integration. | ||
| --- | ||
|
|
||
| The [Temporal Spring AI integration](https://central.sonatype.com/artifact/io.temporal/temporal-spring-ai) lets you call [Spring AI](https://docs.spring.io/spring-ai/reference/) models, tools, vector stores, embeddings, and MCP servers from Temporal Workflows as durable Activities. Model calls and tool invocations are recorded in Workflow history, so they retry on failure and replay deterministically — without you having to change how you write Spring AI code. |
Contributor
There was a problem hiding this comment.
Would you consider Spring AI an agent framework? If so, maybe headline that.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the new
temporal-spring-aimodule that landed in sdk-java#2829.docs/develop/java/integrations/spring-ai.mdxwith setup, chat model usage, tool types (Activity stubs, Nexus stubs,@SideEffectTool, plain tools), and optional vector store / embedding / MCP integrations.docs/develop/java/integrations/index.mdxto split framework integrations from AI integrations (matching the Python SDK integrations layout).docs/develop/integrations.mdx.sidebars.js.Why
The Spring AI integration just merged to master on
sdk-java. Java users following the Spring Boot path need a landing page that explains how to make Spring AI calls durable through Temporal, which tool annotations to use for determinism, and what optional features auto-configure.Checklist
┆Attachments: EDU-6226 Add Spring AI integration documentation for Java SDK