Skip to content

Conversation

@CasperGN
Copy link
Contributor

@CasperGN CasperGN commented Nov 25, 2025

Thank you for helping make the Dapr documentation better!

Please follow this checklist before submitting:

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Read the contribution guide
  • Commands include options for Linux, MacOS, and Windows within tabpane
  • New file and folder names are globally unique
  • Page references use shortcodes instead of markdown or URL links
  • Images use HTML style and have alternative text
  • Places where multiple code/command options are given have tabpane

In addition, please fill out the following to help reviewers understand this pull request:

Description

Adding documentation to accompany dapr/python-sdk#868

Issue reference

N/A

Signed-off-by: Casper Nielsen <casper@diagrid.io>
Signed-off-by: Casper Nielsen <casper@diagrid.io>
Signed-off-by: Casper Nielsen <casper@diagrid.io>
@CasperGN CasperGN marked this pull request as ready for review December 16, 2025 09:51
@CasperGN CasperGN requested review from a team as code owners December 16, 2025 09:51
Signed-off-by: Casper Nielsen <casper@diagrid.io>
Copy link
Contributor

@bibryam bibryam left a comment

Choose a reason for hiding this comment

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

Docs look good, but I'm not able to run the linked example

I get

dapr run --app-id langgraph-checkpointer --app-port 5001 --resources-path ./components -- python3 agent.py

ℹ️  Starting Dapr with id langgraph-checkpointer. HTTP Port: 53043. gRPC Port: 53044
== APP == Traceback (most recent call last):
== APP ==   File "/Users/bibryam/Projects/dapr/python-sdk/examples/langgraph-checkpointer/agent.py", line 1, in <module>
== APP ==     from dapr.ext.langgraph import DaprCheckpointer
== APP == ModuleNotFoundError: No module named 'dapr'

@CasperGN
Copy link
Contributor Author

Docs look good, but I'm not able to run the linked example

I get

dapr run --app-id langgraph-checkpointer --app-port 5001 --resources-path ./components -- python3 agent.py

ℹ️  Starting Dapr with id langgraph-checkpointer. HTTP Port: 53043. gRPC Port: 53044
== APP == Traceback (most recent call last):
== APP ==   File "/Users/bibryam/Projects/dapr/python-sdk/examples/langgraph-checkpointer/agent.py", line 1, in <module>
== APP ==     from dapr.ext.langgraph import DaprCheckpointer
== APP == ModuleNotFoundError: No module named 'dapr'

You need to install the python sdk + the ext package. The examples are part of the tests in CI where the mechanical markdown runs it and installs the dependencies.
I can perhaps link directly into the agent.py file instead?

Copy link
Contributor

@marcduiker marcduiker left a comment

Choose a reason for hiding this comment

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

Some text suggestoins

CasperGN and others added 4 commits December 16, 2025 14:43
…s/python-langgraph.md

Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com>
Signed-off-by: Casper Nielsen <whopsec@protonmail.com>
…s/python-langgraph.md

Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com>
Signed-off-by: Casper Nielsen <whopsec@protonmail.com>
…s/python-langgraph.md

Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com>
Signed-off-by: Casper Nielsen <whopsec@protonmail.com>
…s/python-langgraph.md

Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com>
Signed-off-by: Casper Nielsen <whopsec@protonmail.com>
@CasperGN
Copy link
Contributor Author

Thank you @marcduiker 🚀

@msfussell
Copy link
Member

@CasperGN - Given the other Dapr integrations it may be best not to move this python under the new integrations section. See OpenAI docs PR

@CasperGN
Copy link
Contributor Author

@CasperGN - Given the other Dapr integrations it may be best not to move this python under the new integrations section. See OpenAI docs PR

I concur. Let's wait with this one and when Yaron's setup has been merged I'll fit this to the new structure.

@msfussell
Copy link
Member

@CasperGN - This can now be updated

Signed-off-by: Casper Nielsen <casper@diagrid.io>
@CasperGN
Copy link
Contributor Author

@msfussell the documentation has now been moved into the new structure. The page has also been updated to reflect the same setup as the others.

I took the liberty to remove "agents" from title for OpenAI as it wasn't present for crewAI and the document is anyway nested under the Agent session rendering it redundant in the header.

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.

5 participants