Cursor's cursor-agent can be run interactively from the CLI or headless.