Sign out and clear stored credentials

getting started

// what it does

cursor-agent logout removes the credentials stored locally by the browser login flow. The in-session /logout slash command does the same thing without leaving the TUI. API-key auth is unaffected — it comes from the environment, not stored credentials.

// shell

$ cursor-agent logout

// resources