EntelligenceAI CLI - AI-powered code review from your terminal
Project description
EntelligenceAI CLI
AI-powered code review from your terminal.
Quick Start
# Setup (this will install uv if not already there)
make setup
# Authenticate
entelligence auth login
# Run review
entelligence review
Installation
# Development (recommended)
make setup
# or
uv sync --dev
# Production
uv pip install entelligence-cli
Authentication
Get your API key from app.entelligence.ai/settings?tab=api
entelligence auth login
entelligence auth status
entelligence auth logout
Usage
# Review changes
entelligence review
# Options
entelligence review --base-branch main --priority high --mode concise
entelligence review --include-uncommitted # Include uncommitted changes
entelligence review --plain # Plain text output
entelligence review --debug # Debug mode
Configuration
Config file: ~/.entelligence/config.json (permissions: 0o600)
Stored locally:
api_key- Saved duringentelligence auth login
Fetched from backend:
OrgUUID- Fetched from/getUserInfo/endpoint at session start (required)GitHubToken- Fetched from/getUserInfo/endpoint at session start (optional)
Environment variables:
ENTELLIGENCE_API_KEY- API key (auto-saved to config file on login)ENTELLIGENCE_ENDPOINT- API endpoint (default:http://127.0.0.1:8000/generateReviewForPR/)
Development
make setup # Initial setup
make test # Run tests
make format # Format code
make lint # Lint code
make type-check # Type check
make check # Run all checks
make clean # Clean build artifacts
make help # Show all commands
Publishing
The package is automatically published to PyPI when a new GitHub release is created.
Before publishing:
- Update version in
pyproject.toml - Commit and push changes
- Create a new GitHub release (tagged with version, e.g.,
v0.1.0)
Manual publishing:
# Build package
uv build
# Publish to PyPI (requires PyPI credentials)
uv publish
Setup PyPI Trusted Publisher (one-time):
- Go to PyPI project settings → "Publishing" → "Add a new trusted publisher"
- Select "GitHub" as publisher
- Specify repository:
Entelligence-AI/cli - Workflow file:
.github/workflows/publish.yml - Environment name:
(Any)orpypi
Uninstall
# Uninstall the CLI tool
uv pip uninstall entelligence-cli
# Remove configuration files (API keys, tokens, etc.)
rm -rf ~/.entelligence/
Troubleshooting
401 Unauthorized: Verify API key with entelligence auth status
Connection errors: Ensure backend is running at the configured endpoint
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file entelligence_cli-0.1.0.tar.gz.
File metadata
- Download URL: entelligence_cli-0.1.0.tar.gz
- Upload date:
- Size: 30.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10bfe4082fda885a2aa1b785df71cc782d5c2ab42efe572d885af6eb5ac60cb2
|
|
| MD5 |
0b39367fb91f60b1c265af3ad88f4efa
|
|
| BLAKE2b-256 |
97d489d67e6ebe063514d4e774be3505be933441ef9b948103e4e7daa2eeb9ba
|
Provenance
The following attestation bundles were made for entelligence_cli-0.1.0.tar.gz:
Publisher:
publish.yml on Entelligence-AI/cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
entelligence_cli-0.1.0.tar.gz -
Subject digest:
10bfe4082fda885a2aa1b785df71cc782d5c2ab42efe572d885af6eb5ac60cb2 - Sigstore transparency entry: 788418213
- Sigstore integration time:
-
Permalink:
Entelligence-AI/cli@8cf21313f6e2f4c041984f3f1b84746ce5887d15 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Entelligence-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8cf21313f6e2f4c041984f3f1b84746ce5887d15 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file entelligence_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: entelligence_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 31.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af48a72ad71370a9b9e007952685ba27b6dfff1328230f328f2400e99eace43d
|
|
| MD5 |
9f8938a40e8737e3be47694d36505008
|
|
| BLAKE2b-256 |
1e90dc9d0a40352b950f70b17f83ef25fdf3c4e1d6c3438b3b9597add8c4936a
|
Provenance
The following attestation bundles were made for entelligence_cli-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Entelligence-AI/cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
entelligence_cli-0.1.0-py3-none-any.whl -
Subject digest:
af48a72ad71370a9b9e007952685ba27b6dfff1328230f328f2400e99eace43d - Sigstore transparency entry: 788418215
- Sigstore integration time:
-
Permalink:
Entelligence-AI/cli@8cf21313f6e2f4c041984f3f1b84746ce5887d15 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Entelligence-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8cf21313f6e2f4c041984f3f1b84746ce5887d15 -
Trigger Event:
workflow_dispatch
-
Statement type: