PYTHON-5838Investigating
Agents consistently choose Motor over ASyncClient
h3. *Context* h3. The following is part of a conversation with Claude Code about the Code Agent Developer Experience. h3. A. LLMs consistently choose MotorClient over pymongo.AsyncMongoClient. How do we change this? This is a pure training-data problem with a known shape. Motor has been the async answer in Python MongoDB code on the public internet since ~2015. AsyncMongoClient shipped in PyMongo 4.9 (late 2024). Every model whose training cutoff predates that — which is most of them, inclu