CLI
Overview

CLI

Entelligence in your terminal

The entelligence command brings the platform to where you're already working: review code before you push, scan for security issues, triage recurring production incidents, and see your own coding-agent usage — all without leaving the terminal.


🎥 Video demo — coming soon

A full terminal session: review, security scan, and incident fix


Install

pip install entelligence-cli
# or
uv tool install entelligence-cli

The CLI checks for updates once a day and upgrades itself in place — you're always on the latest version without thinking about it.

Get started

Authenticate

entelligence auth login

Paste in the API key from app.entelligence.ai/settings?tab=api (opens in a new tab).

Review your first diff

entelligence review

That's it — the CLI analyzes your uncommitted (or committed) changes and prints back findings, the same way Code Review does on a PR.

What else is in here

  • entelligence reviewAI code review for your local diff: --priority, --base-branch, --committed-only, and output modes (--plain, --prompt-only) tuned for either humans or downstream agents.
  • entelligence security — vulnerability scanning for a repo: kick off a scan, list findings by severity/type/rule, and get a suggested fix for a specific issue.
  • entelligence incident — list recurring production error patterns ranked by severity, see root cause and raw logs for one, and trigger an automated fix that opens a PR and gets monitored post-merge.
  • entelligence insightscoding-agent usage analytics: index and analyze your local Claude Code/Codex sessions, sync computed metrics to your org's Agent Insights dashboard, or run a fully local digest/dashboard for yourself.
  • entelligence wrapped — a personal, shareable year-in-review of your coding-agent usage, with prompt content redacted client-side before anything is analyzed.
  • entelligence diff / entelligence status — quick single-file diffs and repo/auth status checks.

See the full Command Reference for every command, flag, and default.

Configuration

Config lives at ~/.entelligence/config.json (owner-only file permissions). Resolution order for any credential is CLI flag → environment variable → config file — see the Command Reference for the full list of environment variables (ENTELLIGENCE_API_KEY, ENTELLIGENCE_ORG_UUID, ENTELLIGENCE_BASE_URL, and others), useful for CI or non-interactive use where logging in interactively isn't an option.

Code is analyzed transiently to generate results — it is not permanently stored.