I honestly don't know if this is a super great solution but we set up birdhouses and a bird feeder. Now that some birds have moved in, they tend to hang out in the garden each afternoon and pick it clean of bugs.
I haven't found a reliable way to keep squirrels out though.