How to get started with AI agents (and do it right)

When should enterprises build custom in-house AI agents, adopt third-party models, or use open source tools?