Researchers have discovered that a molecule produced by the immune system acts on the brain to change the behavior of mice.