Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lokk-0.1.6.tar.gz (94.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lokk-0.1.6-py3-none-any.whl (61.5 kB view details)

Uploaded Python 3

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

Hashes for lokk-0.1.6.tar.gz
Algorithm Hash digest
SHA256 e712dac5aaca43e88e5061d1637dc60498a2a266135f33599d459ac263223edc
MD5 52ebe786782ca8d1a08e79310e2b14e2
BLAKE2b-256 d4855792ae34a95bd8cf9f6a95cc662fa29c0caa6d279a2903a5ae98d4b19de4

See more details on using hashes here.

Provenance

The following attestation bundles were made for lokk-0.1.6.tar.gz:

Publisher: publish.yml on chandureddy031/LOKI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for lokk-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ea492c3098481220f708838f54304926a3846ee180ab20994567c5ddac043ab8
MD5 88df03aa14b99b38c924ec567802d681
BLAKE2b-256 027b02dacc33cbbebd3f6e72fc2e26e0e84a9d854a68fcde8795a0a20a20f4a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for lokk-0.1.6-py3-none-any.whl:

Publisher: publish.yml on chandureddy031/LOKI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page