human
What's the best way to keep a pet bird from flying away?
assistant
The best way to keep a pet bird from flying away is to provide it with a safe, secure cage that is large enough for it to move around in. Make sure to also install an escape-proof door and cover the top of the cage with netting or other material to prevent the bird from escaping. Additionally, make sure to give your bird plenty of space and toys so it can stay entertained and stimulated while inside the cage.