Migration
Migration Guide
Guide for migrating to the SignalWire Agents SDK and common migration patterns.
Current Version
Before Upgrading
- Review changelog for breaking changes
- Backup your code before upgrading
- Test in development before production
- Check dependency compatibility
Upgrading
Migration from Raw SWML
If migrating from hand-written SWML to the SDK:
Before (Raw SWML)
After (SDK)
Common Migration Tasks
Class-Based Migration
If migrating from functional to class-based agents:
Before (Functional)
After (Class-Based)
Multi-Agent Migration
If migrating multiple agents to use AgentServer:
Before (Separate Processes)
After (AgentServer)
Testing After Migration
Getting Help
For migration assistance:
- Check the changelog for breaking changes
- Review updated examples in
/examples - Use
swaig-testto validate changes - Test thoroughly in development