Skip to content

Add sample for agentchat-streamlit integration #6664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tezansahu
Copy link

Why are these changes needed?

  • Currently, there are hardly any tutorials to integrate agentchat with streamlit UI in an extensible manner (that includes processing to different Message types, including Tool invocation details
  • This sample bridges the above gap & adds a link to a fairly holistic example that I've created, integrating agentchat with streamlit.

Related issue number

#4465

Checks

Copy link

codecov bot commented Jun 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.67%. Comparing base (67ebeed) to head (9eb1197).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6664   +/-   ##
=======================================
  Coverage   79.67%   79.67%           
=======================================
  Files         231      231           
  Lines       17172    17172           
=======================================
  Hits        13682    13682           
  Misses       3490     3490           
Flag Coverage Δ
unittests 79.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tezansahu
Copy link
Author

@microsoft-github-policy-service agree

@victordibia
Copy link
Collaborator

The linked PR is already addressed with a sample.
https://github.com/microsoft/autogen/tree/main/python/samples/agentchat_streamlit

@tezansahu
Copy link
Author

The sample added in the to close the issue #4465 contains an example without any tools, or agent teams. This is a much more comprehensive example.
I spoke to @ekzhu , who suggested to raise this PR.
Requesting you to consider

@victordibia
Copy link
Collaborator

victordibia commented Jun 11, 2025

Hi @tezansahu ,

Thanks again for the contribution. I agree with you that adding tool invocation details improves the quality of the current repo. Would you be willing to consider scoping the PR to extending the current sample to add tool call to the existing streamlit sample?

https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/quickstart.html . We can replicate the weather example in the docs

image

@victordibia victordibia reopened this Jun 11, 2025
@tezansahu
Copy link
Author

Okay, sure. I'll do that.

@victordibia victordibia self-assigned this Jun 13, 2025
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.

2 participants