Skip to main content

EntelligenceAI CLI

AI-powered code review assistant that helps you catch bugs, improve code quality, and follow best practices - all from your terminal.

PyPI version Python 3.8+

🚀 Installation

From PyPI

pip install entelligence-cli

From Source (this repo)

# Clone the repo and install in editable mode
git clone https://github.com/Entelligence-AI/cli.git
cd cli
uv tool install --editable .

If uv is not installed:

curl -LsSf https://astral.sh/uv/install.sh | sh

Uninstall

uv tool uninstall entelligence-cli

Auto-update

The CLI keeps itself up to date automatically. On any command it checks PyPI (at most once per day) and, when a newer version exists, upgrades in place using your install method (uv tool / pipx / pip) and re-runs your command on the new version. Auto-update is skipped for non-interactive/piped output, CI, and editable/dev installs, where it instead prints a one-line "update available" notice.

To opt out (e.g. pinned or centrally managed installs), set the env var or config flag:

export ENTELLIGENCE_NO_AUTO_UPDATE=1
# or, in ~/.entelligence/config.json:  { "auto_update": false }

Enterprise / managed installs

Releases are published from CI via PyPI Trusted Publishing (OIDC — no long-lived API token) with PEP 740 provenance attestations, so every version on PyPI is verifiable back to this repository's publish workflow.

For a centrally-managed fleet, install a pinned version and turn off unattended self-update, so a new release rolls out only when you choose:

# Pin the version the installer lays down (a known-good release). The assignment goes on the
# piped `sh` so the installer shell inherits it — `VAR=x curl ... | sh` would scope VAR to
# curl only, and the installer would still float to the latest release:
curl -fsSL https://app.entelligence.ai/install.sh | ENTELLIGENCE_CLI_VERSION=0.1.246 sh

# (equivalent: export it first, then run the installer)
export ENTELLIGENCE_CLI_VERSION=0.1.246
curl -fsSL https://app.entelligence.ai/install.sh | sh

# Disable unattended auto-update — the fleet controls the upgrade cadence:
export ENTELLIGENCE_NO_AUTO_UPDATE=1

📝 Quick Start

1. Get Your API Key

Sign up and get your API key: app.entelligence.ai/settings?tab=api

2. Authenticate

entelligence auth login

Paste your API key when prompted.

3. Review Your Code

entelligence review

That's it! The CLI will analyze your uncommitted changes (or committed changes if none) and provide intelligent feedback.

📖 Usage

Authentication Commands

# Log in with your API key
entelligence auth login

# Check authentication status
entelligence auth status

# Log out
entelligence auth logout

Review Commands

# Review current changes (default: uncommitted, falls back to committed)
entelligence review

# Review only committed changes vs base branch
entelligence review --committed-only

# Review against a specific branch
entelligence review --base-branch develop

# Set review priority
entelligence review --priority high

# Verbose output mode
entelligence review --mode verbose

# Plain text output
entelligence review --plain

# Debug mode
entelligence review --debug

Insights Commands

Coding-agent analytics powered by cinsights. Every cinsights <cmd> is available as entelligence insights <cmd>. It reads your local Claude Code / Codex session files, scores them, and (optionally) runs LLM analysis to surface friction patterns, per-project digests, and per-developer profiles.

Onboarding is two commands. sync sets up both lanes: it processes your sessions locally and pushes the computed session + task metrics (the breadth lane, which every dashboard number is built from), and it installs the background activity monitor so collection continues even when a session stays open for days. The monitor checks and delivers pending session changes on startup and then hourly, including sessions that remain continuously active. Failed or busy monitor deliveries retry on the next hourly attempt without needing new turns. The independent metrics job checks every 15 minutes. Its 15-minute completion throttle can skip one tick after a run, leaving processing headroom compared with the previous hourly trigger and one-hour throttle. Existing jobs adopt the new interval when a successful sync re-arms them; fixed-time schedules stay fixed. Upload and backend processing time are additional. Existing delivery checkpoints remain authoritative across restarts. Sessions that parse but have no analyzable turns remain incomplete. The analysis worker defers unchanged versions of these sessions before applying its run limit, so they cannot repeatedly displace healthy work. They retry when their local input changes, the CLI version changes, a new replay directive arrives, or analysis is forced. This local hint never acknowledges a replay or supplies missing billing.

On a supporting backend, the inventory cycle also starts an independent daily billing worker, even when no sessions need processing. It collects exact completed UTC days of Cursor account usage and Claude reference usage from local transcript requests. Claude amounts are rate-card references, not Anthropic invoices, and cloud-only history absent from local homes is not covered. Billing errors or hung collectors never hold up regular session sync; incomplete days remain retryable. Large days use acknowledged chunks before publication. See daily billing behavior, coverage, and limits.

The raw (redacted) transcript upload — the depth lane for decisions, replay and byte-derived pricing — runs alongside metrics syncs only for orgs whose backend posture permits it. Unchanged transcripts are skipped. The 15-minute metrics and daily raw jobs remain recovery backstops; an hourly supervisor restarts the activity monitor if it exits. --no-schedule keeps a manual sync one-off. entelligence reset --schedule stops the monitor and removes its supervisor.

entelligence auth login
entelligence insights sync

Narrowing flags if you need them: --transcripts runs the transcript upload on its own (this is what the scheduled depth-lane job invokes); --metrics-only is the explicit spelling of what a plain sync already does, kept for scripts that state it. Everything is redacted client-side before upload.

# One-time: configure the LLM provider (saved to ~/.cinsights/config.json)
entelligence insights setup

# Index local sessions (free, no LLM calls)
entelligence insights index --source local --hours 8760

# Analyze sessions (shows a cost estimate and asks for confirmation)
entelligence insights analyze --source local

# Generate a project or developer digest
entelligence insights digest project <my-project> --days 30
entelligence insights digest user <user-id> --days 30

# Launch the local web dashboard (http://localhost:8100)
entelligence insights serve

# Full subcommand list and flags
entelligence insights --help

Common Workflows

Before Committing:

git add .
entelligence review
git commit -m "Your message"

Before Creating PR:

git checkout -b feature/my-feature
# ... make changes ...
entelligence review --priority high
git push origin feature/my-feature

🔧 Configuration

Config File

Configuration is stored at ~/.entelligence/config.json with secure permissions (read/write for owner only).

Environment Variables

For non-interactive use, you can set:

  • ENTELLIGENCE_API_KEY - Your API key (alternative to entelligence auth login)

💡 Benefits

For Individual Developers

  • Catch bugs before they reach code review
  • Learn best practices through AI suggestions
  • Save time on code reviews
  • Improve code quality consistently

For Teams

  • Maintain consistent code standards
  • Reduce code review time
  • Improve code quality across the team

🆘 Troubleshooting

Authentication Failed

# Check your authentication status
entelligence auth status

# If invalid, re-authenticate
entelligence auth logout
entelligence auth login

Ensure your API key is valid at app.entelligence.ai/settings?tab=api

Connection Timeout

  • Check your internet connection
  • Try again with --debug flag for more information

No Changes Detected

# Check what changes are available
git status

# Review only committed changes if you have commits on your branch
entelligence review --committed-only

# Or review against a different base branch
entelligence review --base-branch develop

📚 Resources

📄 License

Proprietary - Copyright © 2026 EntelligenceAI. All rights reserved.

❓ FAQ

Q: Is my code stored on your servers? A: No, code is only analyzed transiently and not permanently stored.

Q: Does this work with private repositories? A: Yes, all code remains private and secure.

Q: What languages are supported? A: Python, JavaScript, TypeScript, Java, Go, Rust, C++, Ruby, PHP, Swift, Kotlin, and more.

Q: Can I review specific files only? A: Currently reviews are based on Git changes. File-specific reviews coming soon.


Made with ❤️ by EntelligenceAI

Release files for entelligence-cli 0.1.344

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entelligence-cli 0.1.344
File Size Uploaded
entelligence_cli-0.1.344.tar.gz 1.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for entelligence-cli 0.1.344
File Interpreter ABI Platform
entelligence_cli-0.1.344-py3-none-any.whl Python 3 none any Details

Total release size: 2.5 MB

Release files / entelligence_cli-0.1.344.tar.gz

Download URL entelligence_cli-0.1.344.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
e760bd35f2d4d1dbff8719f5fd79ec04ba2ebfe82217ba30dc4482fd97f3d8cc
BLAKE2b-256 checksum
How to use checksums
98591231231ea09034ad5553d50d97dada227156c6f721d1b25b1564bb384ec8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / entelligence_cli-0.1.344-py3-none-any.whl

Download URL entelligence_cli-0.1.344-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6d73315e3981c595cfc54a254db4591498aadf09d8e3836bc12c6c9b6619f656
BLAKE2b-256 checksum
How to use checksums
0e4ced13e8dff3af3d0dd813112ecf7ae282548331a98a1b91906cbfadc523a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.344 This release

2 release files

0.1.99

2 release files

0.1.98

2 release files

0.1.97

2 release files

0.1.96

2 release files

0.1.95

2 release files

0.1.94

2 release files

0.1.93

2 release files

0.1.92

2 release files

0.1.91

2 release files

0.1.73

2 release files

0.1.72

2 release files

0.1.71

2 release files

0.1.70

2 release files

0.1.69

2 release files

0.1.68

2 release files

0.1.67

2 release files

0.1.66

2 release files

0.1.65

2 release files

0.1.64

2 release files

0.1.63

2 release files

0.1.62

2 release files

0.1.61

2 release files

0.1.60

2 release files

0.1.59

2 release files

0.1.24

2 release files

0.1.23

2 release files

0.1.22

2 release files

0.1.21

2 release files

0.1.20

2 release files

0.1.19

2 release files

0.1.16

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page