Skip to content

Conversation

@yaron2
Copy link
Member

@yaron2 yaron2 commented Dec 10, 2025

Adds the documentation for how to let Dapr manage the session data for OpenAI agents with a first class integration.

Signed-off-by: yaron2 <schneider.yaron@live.com>
Signed-off-by: yaron2 <schneider.yaron@live.com>
@yaron2 yaron2 requested review from a team as code owners December 10, 2025 00:42
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://kind-hill-063ba6c1e-4969.westus2.5.azurestaticapps.net

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-bush-04c343a1e-4969.westus2.4.azurestaticapps.net

Copy link
Member

@msfussell msfussell left a comment

Choose a reason for hiding this comment

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

Some comments after trying this out.

dapr run --app-id openaisessions --dapr-grpc-port 50001 --resources-path ./components -- python3 ./openai_agent.py
```

Open `http://localhost:9411` to view your the traces and dependency graph!
Copy link
Member

Choose a reason for hiding this comment

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

See [the session data stored in Redis]({{% ref "getting-started/get-started-api" %}}#step-4-see-how-the-state-is-stored-in-redis) with

hgetall "123:messages" 

Copy link
Member

Choose a reason for hiding this comment

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

You did not add this, which I really suggest

See [the session data stored in Redis]({{% ref "getting-started/get-started-api" %}}#step-4-see-how-the-state-is-stored-in-redis) with

hgetall "123:messages"

yaron2 and others added 6 commits December 11, 2025 19:32
…ex.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Yaron Schneider <schneider.yaron@live.com>
…ai-agents-sessions.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Yaron Schneider <schneider.yaron@live.com>
…ai-agents-sessions.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Yaron Schneider <schneider.yaron@live.com>
…ai-agents-sessions.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Yaron Schneider <schneider.yaron@live.com>
…ai-agents-sessions.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Yaron Schneider <schneider.yaron@live.com>
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-bush-04c343a1e-4969.westus2.4.azurestaticapps.net

2 similar comments
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-bush-04c343a1e-4969.westus2.4.azurestaticapps.net

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-bush-04c343a1e-4969.westus2.4.azurestaticapps.net

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://kind-hill-063ba6c1e-4969.westus2.5.azurestaticapps.net

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-bush-04c343a1e-4969.westus2.4.azurestaticapps.net

@CasperGN
Copy link
Contributor

Similar to the #4973 and #4972 I think we should aggregate docs around agents / agentic together. I got a suggestion in #4973 for a structure

@msfussell
Copy link
Member

Similar to the #4973 and #4972 I think we should aggregate docs around agents / agentic together. I got a suggestion in #4973 for a structure

Agreed. I replied.

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://kind-hill-063ba6c1e-4969.westus2.5.azurestaticapps.net

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-bush-04c343a1e-4969.westus2.4.azurestaticapps.net

Copy link
Member

@msfussell msfussell left a comment

Choose a reason for hiding this comment

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

You should add the redis state store session state view command IMO

```bash
dapr run --app-id openaisessions --dapr-grpc-port 50001 --resources-path ./components -- python3 ./openai_agent.py
```

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
You can see [the session data stored in Redis]({{% ref "getting-started/get-started-api" %}}#step-4-see-how-the-state-is-stored-in-redis) with the following command
```bash
hgetall "123:messages"

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