Improving Language Agents through BREW