The CLI for developers and agents

No more flags. No more guessing. Just type what you mean and let the CLI figure out the rest. Built by humans and agents, for humans and agents.

$ sentry auth login

Opening browser for authentication...

Authenticated as john@example.com

$ sentry issue list

Issues from 3 projects:

╭─────────┬───────┬───────────────┬────────┬──────┬────────────┬──────────────────────────────────────────╮
                                                         
├─────────┼───────┼───────────────┼────────┼──────┼────────────┼──────────────────────────────────────────┤
 ERROR    f-79   FRONTEND-79      2.4k    2h         92%  TypeError: Cannot read property 'map'... 
 WARN     a-2f   API-2F            891    1d         67%  ReferenceError: user is not defined      
 ERROR    m-4d   MOBILE-4D         456    5d         23%  NetworkError: Failed to fetch            
╰─────────┴───────┴───────────────┴────────┴──────┴────────────┴──────────────────────────────────────────╯

$ sentry issue explain f-79

Cause: The userData response from /api/users returns

null when user session expires, but the component

assumes it's always an array and calls .map() directly.

Add null check before mapping: userData?.map()

It Knows Your Project

No config files. No flags. The CLI reads your .env, detects your project from the codebase, and just works. Monorepos, multiple orgs, complex setups — all handled automatically.

Stop memorizing project slugs and DSNs. Start typing commands that make sense.

$ sentry issue list

Detected project: my-app (from .env)

╭─────────┬────────────┬──────────────────────────────────────────┬───────╮
                                               
├─────────┼────────────┼──────────────────────────────────────────┼───────┤
 ERROR    MYAPP-WQ    TypeError: Cannot read property 'map'...    142 
 WARN     MYAPP-X3    Failed to fetch user data from API           89 
 ERROR    MYAPP-R7    Connection timeout after 30s                 34 
╰─────────┴────────────┴──────────────────────────────────────────┴───────╯

Ask Seer Why

Get AI-powered root cause analysis right in your terminal. Seer analyzes stack traces, related events, and your codebase to explain exactly what went wrong and why.

Then run sentry issue plan to get a step-by-step fix you can apply immediately.

$ sentry issue explain WQ

Analyzing MYAPP-WQ...

Root Cause: The user object is undefined when

accessed before the auth check completes in useEffect.

Affected: src/hooks/useUser.ts:42

Run sentry issue plan for a fix.

Works With Everything

Structured JSON output for scripts and pipelines. Open issues directly in your browser. Pipe to jq, fzf, or your favorite tools.

Built for humans and AI agents alike — every command is predictable, composable, and automation-ready.

$ sentry org list --json | jq '.[0]'

{

"slug": "my-org",

"name": "My Organization",

"projects": 12,

"members": 8

}