Skip to content

Conversation

@tconley1428
Copy link
Contributor

What does this PR do?

Notes to reviewers

@vercel
Copy link

vercel bot commented Dec 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Dec 22, 2025 7:53pm

@CLAassistant
Copy link

CLAassistant commented Dec 2, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ lennessyy
❌ tconley1428
You have signed the CLA already but the status is still pending? Let us recheck it.

@tconley1428 tconley1428 changed the title Adding rough draft docs for AI SDK Adding docs for AI SDK Dec 2, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2025

@lennessyy lennessyy self-assigned this Dec 11, 2025
- [Temporal TypeScript Community Slack](https://temporalio.slack.com/archives/C01DKSMU94L)
- [TypeScript SDK Forum](https://community.temporal.io/tag/typescript-sdk)
:::
- [TypeScript SDK Forum](https://community.temporal.io/tag/typescript-sdk) :::
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [TypeScript SDK Forum](https://community.temporal.io/tag/typescript-sdk) :::
- [TypeScript SDK Forum](https://community.temporal.io/tag/typescript-sdk)

developer experience that you are already familiar with while Temporal handles Durable Execution for you.

All code snippets in this guide are taken from the TypeScript SDK
[ai-sdk samples](https://github.com/temporalio/samples-typescript/tree/main/ai-sdk). Refer to the samples for the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link goes to a 404.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it's 404 right now because the samples are not published yet

lennessyy and others added 2 commits December 17, 2025 13:06
Co-authored-by: Milecia McG <47196133+flippedcoder@users.noreply.github.com>
@lennessyy lennessyy marked this pull request as ready for review December 17, 2025 21:07
@lennessyy lennessyy requested a review from a team as a code owner December 17, 2025 21:07
Co-authored-by: Milecia McG <47196133+flippedcoder@users.noreply.github.com>
export async function getWeather(input: {
location: string;
}): Promise<{ city: string; temperatureRange: string; conditions: string }> {
console.log('Activity execution');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably ditch this log, I know it came from me.

[Model Context Protocol (MCP)](https://modelcontextprotocol.io/) is an open standard that lets AI applications connect
to external tools and data sources. Calls to MCP servers, being calls to external APIs, are non-deterministic and would
usually need to be implemented as Activities. The Temporal AI SDK integration handles this for you and provides a
built-in implementation of a stateless MCP client that you can use inside Workflows.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may want to elaborate a bit on the drawbacks of stateless at some point, unsure.

Copy link
Contributor

@lennessyy lennessyy Dec 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I think that would be out of scope for us. We already mention that it is stateless -- it would take at least whole paragraph to explain all the benefits of drawbacks of a stateless client and it's not really related to temporal.

@lennessyy lennessyy enabled auto-merge (squash) December 22, 2025 19:52
@lennessyy lennessyy merged commit 478cda2 into main Dec 22, 2025
4 of 5 checks passed
@lennessyy lennessyy deleted the ai-sdk-docs branch December 22, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants