Metadata-Version: 2.4
Name: LOKK
Version: 0.1.5
Summary: AI-powered code analysis CLI with error detection and chat
Project-URL: Homepage, https://github.com/loki-cli/loki
Project-URL: Repository, https://github.com/loki-cli/loki
Author: Loki Team
License-Expression: MIT
License-File: LICENSE
Keywords: ai,cli,code-analysis,errors,linting
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.10
Requires-Dist: astroid>=2.0
Requires-Dist: click>=8.0
Requires-Dist: cryptography>=41.0
Requires-Dist: faiss-cpu>=1.7
Requires-Dist: fastapi>=0.100
Requires-Dist: groq>=0.10
Requires-Dist: httpx>=0.24
Requires-Dist: keyring>=24.0
Requires-Dist: pylint>=2.0
Requires-Dist: rich>=13.0
Requires-Dist: sentence-transformers>=2.0
Requires-Dist: uvicorn>=0.20
Requires-Dist: watchdog>=3.0
Requires-Dist: websockets>=12.0
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.20; extra == 'anthropic'
Provides-Extra: dev
Requires-Dist: pytest-cov>=4.0; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Provides-Extra: openai
Requires-Dist: openai>=1.0; extra == 'openai'
Description-Content-Type: text/markdown

# loki-cli

AI-powered code analysis CLI with error detection, RAG chat, and web UI.

## Features

- **10 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

```bash
pip install loki-cli
```

## Quick Start

```bash
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 |

## 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
