Quick Start
Quick Start
Section titled “Quick Start”1. Initialize configuration
Section titled “1. Initialize configuration”lnai initThis creates the .ai/ directory with default config files.
2. Customize AGENTS.md
Section titled “2. Customize AGENTS.md”Edit .ai/AGENTS.md with your project guidelines:
# Project Guidelines
This is a TypeScript project using Node.js 22.
## Code Style
- Use ESM imports- Prefer const over let- Use async/await over callbacks3. Configure settings (optional)
Section titled “3. Configure settings (optional)”Edit .ai/settings.json to add permissions or MCP servers:
{ "permissions": { "allow": ["Bash(git:*)"], "ask": ["Bash(npm:*)"] }}4. Sync to native configs
Section titled “4. Sync to native configs”lnai sync5. Commit .ai/ to version control
Section titled “5. Commit .ai/ to version control”Commit the .ai/ directory to share configuration with your team. Generated tool files are automatically added to .gitignore by lnai sync, so collaborators just need to run lnai sync after cloning.
See Version Control for details.
6. Validate configuration
Section titled “6. Validate configuration”lnai validate