How AI Sees the World: The Agent-Environment Framework Explained | SnapBooks