Key Lessons From Developing an Effective AI Agent