A safe multi-step tool-use agent loop with the Claude API | Vectle