I built a shipment agent that texts customers when package status changes

Reddit r/ArtificialInteligence Tools

Summary

A Python/Flask code example demonstrating a shipment agent that proactively sends SMS updates when package status changes, using an event-driven architecture with durable objects.

​ I put together a Python/Flask example for a “shipment agent” pattern. Instead of treating package tracking as a static tracking page, the app gives each shipment its own agent. Carrier updates wake the agent, update package state, and send proactive SMS updates through Telnyx Messaging. If the customer replies, the inbound SMS webhook is verified and routed back to the right shipment context. The useful bit is the architecture: the package behaves like a durable object that can communicate across events, SMS, and voice instead of being just a tracking number. Code: https://github.com/team-telnyx/telnyx-code-examples/tree/main/shipment-agent Would love feedback on the pattern, especially from anyone building logistics/customer support workflows.
Original Article

Similar Articles

Product feedback routing agent

YouTube AI Channels

Nick Hill shows how to build a ChatGPT-powered agent that ingests product feedback from Slack, forums and support, clusters issues, and auto-files prioritized Linear tickets for the right teams.