OwnKey CLI
> AI-powered code analysis that works with or without a database


OwnKey is a local-first AI coding agent that analyzes your codebase and provides intelligent suggestions for bugs, security issues, performance improvements, and code quality.
š
Full Documentation
⨠Features
- š¤
Multi-Provider AI - Supports Google Gemini, OpenAI, Anthropic Claude, and Ollama
- š
Privacy-First - Works completely offline with local-only mode
- š¾
Optional Database - Supabase integration for persistent history (optional)
- š
Auto-Model Detection - Instantly supports new AI models without CLI updates
- šÆ
Smart Suggestions - Identifies bugs, security issues, performance problems, and more
- ā”
Apply & Undo - Safely apply suggestions with automatic backups
š Quick Start
$3
``
bash
npm install -g ownkey
`
$3
`
bash
Configure with your AI provider
ownkey config --provider gemini --api-key YOUR_API_KEY
Analyze your code
ownkey suggest .
Apply a suggestion
ownkey apply local-123456789-0
Undo if needed
ownkey undo
`
$3
No database required! OwnKey automatically stores suggestions in ~/.ownkey/storage/
:
`
bash
ownkey suggest . --local-only
`
$3
For persistent history across devices:
`
bash
ownkey config --supabase-url YOUR_URL --supabase-key YOUR_KEY
ownkey suggest .
``
š Documentation
Visit
ownkey.qzz.io for complete documentation:
-
Getting Started
-
AI Providers Setup
-
Commands Reference
-
Database Setup
š¤ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
š License
MIT Ā©
OwnKey
---
Website ā¢
Documentation ā¢
GitHub