Prerequisites
- Python 3.11 or higher
- A Nogic account at nogic.dev
Step 1: Install the CLI
Step 2: Get Your API Key
- Go to nogic.dev/dashboard (or sign in at nogic.dev and open the Dashboard)
- Click Create API Key
- Copy the key (starts with
sk_)
Step 3: Login
Step 4: Initialize Your Project
Navigate to your codebase and initialize:Step 5: Index Your Code
Start watching for changes to index your codebase:Ctrl+C to stop.
For a one-time sync instead:
Step 6: Connect Your AI Agent
Follow the setup guide for your AI agent:Claude Code
Connect Nogic to Claude Code CLI
Cursor
Connect Nogic to Cursor IDE
Windsurf
Connect Nogic to Windsurf
Other Editors
VS Code, Antigravity, and more
Step 7: Test It
In your AI agent, try:“Use nogic to find functions similar to user authentication”Or:
“Use nogic to check for existing code before writing a new validation function”
Next Steps
CLI Commands
Full CLI reference
MCP Tools
Available MCP tools