Skip to content

AI-141: Add LangSmith integration guide#4475

Draft
xumaple wants to merge 8 commits intomainfrom
maplexu/AI-141-langsmith-docs
Draft

AI-141: Add LangSmith integration guide#4475
xumaple wants to merge 8 commits intomainfrom
maplexu/AI-141-langsmith-docs

Conversation

@xumaple
Copy link
Copy Markdown

@xumaple xumaple commented Apr 22, 2026

Summary

  • New guide at /develop/python/integrations/langsmith covering the temporalio.contrib.langsmith.LangSmithPlugin (shipped in temporalio 1.26.0).
  • Modeled after the existing Braintrust guide. Single page covering plugin setup on Worker and Client, @traceable usage, wrap_openai for richer LLM runs, the add_temporal_runs toggle, and trace hierarchy examples for both modes.
  • Marked as Pre-release (the plugin is experimental).
  • Adds LangSmith to the Python integrations index and the sidebar.

- Add `docs/develop/python/integrations/langsmith.mdx` covering the
  LangSmithPlugin, @Traceable usage, wrap_openai, and the add_temporal_runs
  toggle. Modeled after the Braintrust guide.
- Add LangSmith row to the Python integrations index.
- Add the new page to the Python integrations sidebar.

Jira: AI-141
Samples PR: temporalio/samples-python#292
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 2026

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

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Apr 23, 2026 8:11pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2026

📖 Docs PR preview links

@xumaple xumaple marked this pull request as ready for review April 22, 2026 21:46
@xumaple xumaple requested a review from a team as a code owner April 22, 2026 21:46
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 22, 2026

CLA assistant check
All committers have signed the CLA.

Comment thread docs/develop/python/integrations/langsmith.mdx Outdated
Comment thread docs/develop/python/integrations/langsmith.mdx Outdated
Comment thread docs/develop/python/integrations/langsmith.mdx Outdated
Comment thread docs/develop/python/integrations/langsmith.mdx Outdated
xumaple and others added 3 commits April 23, 2026 11:15
Co-authored-by: Brian Strauch <brian@brianstrauch.com>
Co-authored-by: Brian Strauch <brian@brianstrauch.com>
Co-authored-by: Brian Strauch <brian@brianstrauch.com>
- Rewrite intro and section leads in a more conversational voice
- Remove em-dashes in prose (replaced with colons, parentheticals, or rewrites)
- Drop AI-buzzword phrases: "end-to-end", "minimal code changes",
  "no extra code beyond the wrapping call", "This enables trace context propagation"
- Tighten the client-side @Traceable note about project_name
- Use `uv add` instead of `pip install` for dependency install
- Fix Option 2 code comment placement and phrasing
* Edits to langsmith.mdx

Some wordsmithing changes; nothing major.

* Update docs/develop/python/integrations/langsmith.mdx

---------

Co-authored-by: xumaple <45406854+xumaple@users.noreply.github.com>
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.

4 participants