Plugin Overview
Algomim plugins are lightweight extensions that run inside your design software. They create a secure connection between your running application and the Algomim web app, allowing the AI to execute commands directly in your model.How Plugins Work
Plugin loads inside your software
When you start your design application, the Algomim plugin loads automatically.
You initiate a connection
Using a 6-digit PIN from the web app, the plugin establishes a secure WebSocket connection to Algomim’s cloud service.
AI sends commands, plugin executes
When you chat with Algomim, the AI generates code (C# for Revit/AutoCAD, Python for Rhino) and sends it to the plugin. The plugin compiles and executes the code inside your application’s API.
Available Plugins
Key Concepts
PIN-Based Connection
Plugins connect using a temporary 6-digit PIN generated in the web app. This ensures:- Only you can connect to your session
- No permanent credentials stored on your machine
- PINs expire after 5 minutes for security
Script Execution
The AI writes and sends scripts to your software. Each plugin includes:- Script compiler/runner: Executes the AI-generated code in the application’s API context
- Pre-validation: Catches common errors before execution (e.g., syntax issues, deprecated API calls)
- Context variables: Provides the script with access to the current document, active view, and application objects
Available Tools
Each plugin exposes a set of tools to the AI:| Tool | Description |
|---|---|
execute_script | Run custom code in the application |
get_selection | Get currently selected elements |
capture_viewport | Take a screenshot of the current view |
search_revit_api | Search the Revit API via reflection (Revit only) |
The
execute_script tool is the primary way Algomim interacts with your software. The AI writes code tailored to your specific request, compiles it, and runs it in real time.Security & Safety
- All connections use encrypted WebSocket (WSS)
- Plugins only connect when you explicitly initiate a connection with a PIN
- You can disconnect at any time
- Always save your work before running AI-generated commands
- Use Undo (Ctrl+Z) to reverse any unwanted changes