Skip to content

Add multi-modal example #93

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 3 commits into
base: main
Choose a base branch
from

Conversation

bellkev
Copy link

@bellkev bellkev commented Jun 17, 2025

Description

This adds a new example for using multi-modal tools, specifically generate_image and image_reader, as there aren't any examples for these yet.

Type of Change

  • New content addition

  • Content update/revision

  • Structure/organization improvement

  • Typo/formatting fix

  • Bug fix

  • Other (please describe):

  • New content addition

Motivation and Context

While Strands handles image input/output well, and provides default tools for e.g. image generation and reading, there are no examples yet for this functionality in the docs.

Areas Affected

Screenshots

Checklist

  • I have read the CONTRIBUTING document
  • My changes follow the project's documentation style
  • I have tested the documentation locally using mkdocs serve
  • Links in the documentation are valid and working
  • Images/diagrams are properly sized and formatted
  • All new and existing tests pass

Additional Notes

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bellkev
Copy link
Author

bellkev commented Jun 17, 2025

Note that this example requires strands-agents/tools#89 currently but otherwise works with the release version.

Copy link
Member

@zastrowm zastrowm left a comment

Choose a reason for hiding this comment

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

Sorry for the delay, looks pretty good. Would you be able to confirm that it still works with the latest SDK + tools? If so, I think we're good to merge

@bellkev
Copy link
Author

bellkev commented Jul 12, 2025

I confirmed the example works as-is now with the release versions:

strands-agents==0.3.0
strands-agents-tools==0.1.9

And I moved the images as suggested.

@zastrowm zastrowm enabled auto-merge (squash) July 12, 2025 00:42
@zastrowm zastrowm disabled auto-merge July 12, 2025 00:42
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