An integrated development environment for running AI workloads on the Lilypad Network directly within Visual Studio Code.
The Lilypad VS Code Extension allows developers to interact with the Lilypad Anura API within Visual Studio Code. By highlighting code blocks, users can query the available LLMs on Lilypad for explanations, improvements, or suggestions, receiving responses in a formatted webview panel.
AI-Powered Code Assistance – Select any code in your editor, choose an AI model, and ask Lilypad questions about it
Formatted Responses – View AI-generated insights in a structured webview panel
Secure API Configuration – Store your Lilypad API token securely
Context Menu Integration – Quickly access the extension’s features via the right-click menu
From the Repository
Get Anura API key.
Clone the repo: git clone git@github.com:PBillingsby/lilypad-vscode-extension.git
Install the extension in VS Code: code --install-extension lilypad-vscode-extension.vsix
Add Anura API key to .env
: LILYPAD_API_TOKEN=<ANURA_API_KEY>
If you make changes to the extension and need to recompile it:
Recompile the code: npm run compile
Repackage the extension: vsce package
Reinstall the updated .vsix
file: code --install-extension lilypad-vscode-extension.vsix
Select a block of code in your editor.
Right-click and select "Ask Lilypad about this code", or:
Open the Command Palette (Ctrl+Shift+P
) and select "Ask Lilypad about this code".
Choose an AI model to process the query.
Enter your question related to the selected code.
Wait for Lilypad AI to process your query.
View the AI’s response in the webview panel that opens.