Lepto-hadronic inhomogeneous models for AGNs