strands-teams¶
Community Contribution
This is a community-maintained package that is not owned or supported by the Strands team. Validate and review the package before using it in your project.
Have your own integration? We'd love to add it here too!
strands-teams is a production-ready Microsoft Teams notification tool with rich Adaptive Cards support and custom messaging capabilities.
Installation¶
pip install strands-teams
Usage¶
from strands import Agent
from strands_teams import teams
agent = Agent(tools=[teams])
# Simple notification
agent("send a Teams message: New lead from Acme Corp")
# Status update with formatting
agent("send a status update: Website redesign is 75% complete")
# Custom adaptive card
agent("create approval request for Q4 budget with amount $50000")
Key Features¶
- Adaptive Cards: Rich, interactive message cards with modern UI
- Pre-built Templates: Notifications, approvals, status updates, and alerts
- Custom Cards: Full adaptive card schema support for complex layouts
- Action Buttons: Add interactive elements and quick actions
- Rich Formatting: Markdown support, images, tables, and media
- Webhook Integration: Seamless Teams channel integration
Configuration¶
TEAMS_WEBHOOK_URL=your_teams_webhook_url # Optional (can be provided per call)
Setup webhook: Teams Channel → Connectors → Incoming Webhook