How leaders at four big US agencies are using technology to help deal with legacy issues and future challenges.