NPL with Cursor
The AI-first code editor that understands NPL. Write protocols, permissions, and business logic with intelligent autocomplete and conversational AI assistance.
Why Cursor Works Great with NPL
Compiler-Verified Security
Cursor can generate NPL code freely. If it compiles, the permission model is correct. No security vulnerabilities can slip through.
Intelligent Autocomplete
Cursor's AI understands NPL syntax and suggests protocols, permissions, and state machines as you type.
Chat-Based Development
Describe what you want in plain English. Cursor generates the NPL code, and the compiler ensures it's secure.
Faster Iteration
NPL's clear, deterministic syntax means AI suggestions are more accurate. Less back-and-forth, more building.
Getting Started
Install Cursor
Download and install Cursor from cursor.com
Set up your NPL project
Install the NPL CLI and create a new project.
brew install NoumenaDigital/tools/npl npl init --project-dir my-project cd my-project
Open in Cursor
Open your project folder in Cursor and start building with AI assistance.
Use AI to write NPL
Press Cmd+K to open the AI prompt. Describe what you want:
Example prompt:
Create me a simple todo app i can share with my team mates.Pro Tips
Add NPL docs to your context. Drag the NPL documentation into Cursor's context window to improve AI suggestions.
Trust the compiler. If Cursor generates code that doesn't compile, the AI made a security mistake. Ask it to fix the compilation error.
Be specific about parties. When prompting, clearly describe who the parties are and what permissions each should have.
Ready to build?
Download Cursor and start writing secure NPL applications with AI assistance.
