Nature, Published online: 08 January 2025; doi:10.1038/s41586-024-08397-7

Using high-density electrophysiological recordings, how internally generated cell assemblies are updated by action plans to meet external goals is explored.