Commit a532fff
[AI-73] Add LangGraph integration documentation (#4442)
* Add LangGraph integration documentation
Add a full integration guide for the new LangGraph plugin
(temporalio/sdk-python#1448) covering both Graph API and Functional API
usage, Activity options, checkpointer setup, human-in-the-loop,
continue-as-new with caching, and links to samples.
Also adds LangGraph to the Python integrations index, sidebar,
plugins guide, and encyclopedia.
* Add Activity vs Workflow execution guidance for LangGraph
Add decision tree, primitive reference table, and detailed guidance
on when to use execute_in workflow vs the default Activity execution,
including constraints on conditional edge functions and interrupt().
* Fix broken link to workflow logic requirements
* Update LangGraph docs for required execute_in and removed features
The plugin now requires execute_in on every node/task with no Activity
default. Streaming via stream_writer and continue-as-new caching aren't
currently supported, so remove those sections. Add Runtime context and
Stores-not-supported sections from the plugin README, plus a warning
that LangGraph retry_policy raises an error.
* Point sample links to open PR branch and drop linter section
The samples-python langgraph_plugin samples are still on PR #289, not
main, so update the in-doc links to the PR branch. Drop the static
analysis section since the linter script was never committed.
* Point sample links to merged samples-python main branch
* Fix broken continue-as-new link
* Use bare domain for LangGraph SDK docs link text
* Tighten intro, drop decision tree and samples table
* Update docs/develop/python/integrations/langgraph.mdx
Co-authored-by: Brian Strauch <brian@brianstrauch.com>
* Address review: 3.11 streaming requirement, Functional API wording
- Add streaming from Workflow nodes to the Python 3.11 requirements list
- Reframe the Functional API blurb around orchestration rather than implying
Graph API nodes can't use native Python control flow
---------
Co-authored-by: Brian Strauch <brian@brianstrauch.com>1 parent b4c4e44 commit a532fff
5 files changed
Lines changed: 469 additions & 1 deletion
File tree
- docs
- develop
- python/integrations
- encyclopedia
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments