AI-powered code analysis CLI with error detection and chat
Project description
loki-cli
AI-powered code analysis CLI with error detection, RAG chat, and web UI.
Features
- 12 CLI commands for code analysis
- AI-powered error detection and fixes
- RAG chat with your codebase
- Web UI with real-time monitoring
- Secure - API keys in OS keychain, encrypted cache
Installation
pip install loki-cli
Quick Start
loki init # Scan codebase
loki errors # Show errors
loki ai # Chat with AI
loki show # Open web UI
loki report # Generate report
Commands
| Command | Description |
|---|---|
loki init |
Scan codebase, build cache |
loki errors |
Show detected errors |
loki show |
Open web UI |
loki describe |
Detailed error explanations |
loki ai |
Terminal chat with AI |
loki exit |
Clear cache |
loki fix |
AI-powered fix suggestions |
loki watch |
Live file monitoring |
loki report |
Generate markdown report |
loki models |
Switch AI providers |
loki capture |
Capture console errors from running processes |
loki inject |
Inject error capture hook into Python files |
Getting Help
Every command includes detailed help with examples:
loki --help # Show all commands
loki init --help # Show help for specific command
loki errors --help # Each command has OPTIONS, EXAMPLES, and NOTES
Security
- API keys stored in OS keychain (never in files)
- Cache encrypted with Fernet
- AI guardrails prevent prompt injection
- Secure deletion with 3-pass overwrite
License
MIT
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 lokk-0.1.6.tar.gz.
File metadata
- Download URL: lokk-0.1.6.tar.gz
- Upload date:
- Size: 94.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e712dac5aaca43e88e5061d1637dc60498a2a266135f33599d459ac263223edc
|
|
| MD5 |
52ebe786782ca8d1a08e79310e2b14e2
|
|
| BLAKE2b-256 |
d4855792ae34a95bd8cf9f6a95cc662fa29c0caa6d279a2903a5ae98d4b19de4
|
Provenance
The following attestation bundles were made for lokk-0.1.6.tar.gz:
Publisher:
publish.yml on chandureddy031/LOKI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lokk-0.1.6.tar.gz -
Subject digest:
e712dac5aaca43e88e5061d1637dc60498a2a266135f33599d459ac263223edc - Sigstore transparency entry: 1895013901
- Sigstore integration time:
-
Permalink:
chandureddy031/LOKI@0d99f02b1536ca01164c91215d1fafc247e7d00e -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/chandureddy031
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0d99f02b1536ca01164c91215d1fafc247e7d00e -
Trigger Event:
release
-
Statement type:
File details
Details for the file lokk-0.1.6-py3-none-any.whl.
File metadata
- Download URL: lokk-0.1.6-py3-none-any.whl
- Upload date:
- Size: 61.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea492c3098481220f708838f54304926a3846ee180ab20994567c5ddac043ab8
|
|
| MD5 |
88df03aa14b99b38c924ec567802d681
|
|
| BLAKE2b-256 |
027b02dacc33cbbebd3f6e72fc2e26e0e84a9d854a68fcde8795a0a20a20f4a7
|
Provenance
The following attestation bundles were made for lokk-0.1.6-py3-none-any.whl:
Publisher:
publish.yml on chandureddy031/LOKI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lokk-0.1.6-py3-none-any.whl -
Subject digest:
ea492c3098481220f708838f54304926a3846ee180ab20994567c5ddac043ab8 - Sigstore transparency entry: 1895013988
- Sigstore integration time:
-
Permalink:
chandureddy031/LOKI@0d99f02b1536ca01164c91215d1fafc247e7d00e -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/chandureddy031
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0d99f02b1536ca01164c91215d1fafc247e7d00e -
Trigger Event:
release
-
Statement type: