Thank you Robert,
Actually all I needed to do to initially place the agents inside my raster was to use the "Editor Toolbar" in ArcMap, and modify the agents' (points') locations by selecting them all, dragging and dropping them into the boundaries of the raster surface and saving the changes. And about keeping them inside the boundaries, you were right. I did it using the number of columns and rows of the surface and by making sure that the agent's coordinates will not exceed these values.
🙂