The Agent works with any Gnus back end, including nnimap. However, since there are some conceptual differences between NNTP and IMAP, this section (should) provide you with some information to make Gnus Agent work smoother as a IMAP Disconnected Mode client.
Some things are currently not implemented in the Agent that you’d might expect from a disconnected IMAP client, including: