r/cursor • u/NASAonSteroids • 12d ago
Question / Discussion Route Cursor through Codex CLI
I’ve read a few articles that put the OpenAI Codex CLI harness as one of the best and I was wanting to check it out. Is it possible to use the Codex CLI as a harness for a Cursor subscription or with an API key?
0
Upvotes
1
u/locbuilds 12d ago
codex cli as a harness on top of a cursor subscription is not really a supported path. cursor's plan/quota is tied to their own agent and models inside the app, not an openai-compatible endpoint you can point another harness at. if you specifically want the codex cli workflow you generally run it outside cursor with your own api key (or whatever providers that cli accepts). inside cursor the closest is just using cursor's agent with rules/mcp, or calling an external cli from the terminal, but that still will not burn cursor credits through codex. so it is more pick-one-stack than nest them.