Stop maintaining separate config files for every AI coding tool. Define once in .ai/, sync everywhere.
- One source of truth — Write your project rules, MCP servers, and permissions once
- Works with your tools — Syncs to native formats each tool actually reads
- Stay in sync — Update
.ai/and runlnai syncto propagate changes instantly - Automatic cleanup — Orphaned files are removed when configs change
| Tool | Config Generated |
|---|---|
| Claude Code | .claude/ |
| Codex | .codex/ |
| Cursor | .cursor/ |
| Gemini CLI | .gemini/ |
| GitHub Copilot | .github/copilot-instructions.md |
| OpenCode | .opencode/ |
| Windsurf | .windsurf/ |
npm install -g lnai
lnai init # Create .ai/ configuration
lnai validate # Check for errors
lnai sync # Export to native tool configsFull guides and configuration reference at lnai.sh
MIT
If you find LNAI helpful, please star us on GitHub!
