Scan to connect
With AirCodum mobile 2.4.2 or later, choose Local Wi-Fi / Ethernet for devices on the same network, or Tailscale for remote access and open Connection → QR code → Show QR code. Tap Scan QR to connect on Android or iOS. The scan fills host, port, transport and pairing key and connects. Use Enter manually for host, port, connection method, and Copy pairing key.
Keep Mac awake prevents idle sleep while the server is running. It does not override macOS lid-close sleep. For supported closed-display use, connect power, an external display, and a keyboard and mouse. The mobile app retries when the desktop becomes reachable again.
Connect your phone
Open AirCodum Webview. The Connection tab shows the server address and connection status, with QR code and Enter manually pairing options. Expand Server settings & troubleshooting to change the connection address, start or stop the server, set Keep Mac awake, or open the connection log. The Files & AI tab holds received content and the optional AI assistant.
AirCodum: Smartphone powered Remote Control for VS Code
Table of Contents
- Introduction
- Installation
- Configuration
- Getting Started
- Features
- Using AirCodum
- Command Reference
- Security Considerations
- Troubleshooting
- Contributing
Introduction
AirCodum is your intelligent smartphone companion for Visual Studio Code! AirCodum bridges the gap between your devices and your development environment, offering seamless file transfer, AI-powered coding assistance, and intuitive commanding over your VS Code instance, right from your smartphone!
Installation
VS Code Extension
- Open Visual Studio Code
- Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X)
- Search for "AirCodum"
- Click "Install"
- Reload VS Code when prompted
Android App (free)
Download the "AirCodum" app from the Android Play Store: Google Play Store link
iOS App (paid)
Download the "AirCodum" app from the App Store: iOS App Store link
Demo
Check out this demo to understand how to use AirCodum: AirCodum YouTube Demo
Configuration
Setting up the OpenAI API Key
- Obtain an API key from OpenAI (https://openai.com/)
- In VS Code, open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P)
- Type "AirCodum: Open Webview" and select it
- Open Files & AI → AI assistant → Set up AI, then enter your API key.
- Click Save key. An API key is optional and is not needed for phone pairing.
Multiple computers and workspaces
In mobile 2.5.0, open Your computers (or tap Switch above the current session) to add and name each computer or VS Code workspace. Scan its QR code or enter its displayed host, port, and pairing key. Switch to a saved connection without typing those details again. Local Wi-Fi, Tailscale, and custom TLS connections can be saved together.
Each extension window shows its workspace name above the pairing controls. Use Server settings → Workspace name → Rename to make it recognizable on your phone. Ports are automatic by default, including several windows on one computer; the QR code always contains the actual listening port. An exact port can be set under Connection port → Change. Changing the port requires updating or pairing that saved phone connection again.
VS Code API actions and file transfers target the connected workspace. VNC, native typing, and desktop shortcuts act on the computer’s shared desktop and foreground application. This includes the type, keytap, search, and replace text commands. Multiple VS Code windows do not create separate desktop sessions. For independent desktops, connect to separate computers or desktop sessions.
Pairing credentials are isolated per workspace and additional listening port. The first upgraded workspace retains the previous pairing key on port 11040; pair other workspaces separately. Workspace identities and names survive reloads. Save an empty VS Code window as a workspace before relying on a durable saved connection.
Pairing and transport
This release requires a pairing-capable build of the original AirCodum app (com.codeair). Agentum is a separate product. Install the updated mobile app before switching to this extension release. Old mobile builds can continue using the previous extension; they cannot authenticate to this secured listener.
Each VS Code window uses one port for commands, files and VNC. AirCodum starts at 11040, automatically chooses another available port when necessary, and remembers it for that workspace. Always use the port shown in the extension. It defaults to localhost. Choose a detected private LAN address for same-network use, a Tailscale address for remote use, or leave localhost behind a TLS reverse proxy. Public and wildcard binds are rejected. Local Wi-Fi requires mobile 2.4.2 and uses unencrypted traffic; use a network you trust. Pairing remains required.
Getting Started
- Open a trusted VS Code workspace and run Start AirCodum Server from the Command Palette.
- Run AirCodum: Copy Pairing Token and paste the token into the mobile app's connection settings. Keep it private: it authorizes desktop control.
- Choose Local Wi-Fi / Ethernet in the extension for same-network access. Enter the displayed private IP and port in the phone; Local Wi-Fi selects automatically. On iOS, allow Local Network access. Alternatively, choose Tailscale on both devices for remote access, or Custom TLS server for your configured TLS proxy.
- Connect. The app selects supported features automatically; no rollout flags are needed.
- Open VNC to stream the desktop. Compose text locally, then press Send to insert it. Enter is a separate remote key. On macOS, grant screen-recording and accessibility permissions to the VS Code host.
Features
- Seamless File Transfer: Send files from your phone or tablet directly to VS Code
- AI-Powered Chat: Get coding help, explanations, and suggestions
- Image Analysis: Send images from your smartphone to the VS Code instance and use AI for text extraction or analysis
- Smart Commands: Control VS Code using natural language. 800+ commands supported.
- Screen Capture: Take screenshots of your development environment and get them sent to your AirCodum app.
- VNC Mode: View and control the computer’s shared desktop from your phone.
VNC Mode
VNC Mode shows the computer’s shared desktop. Native keyboard and mouse input goes to the foreground application:
Enabling VNC Mode:
- In your AirCodum mobile app, tap the "VNC Mode" button in the bottom navigation
- Your computer’s desktop will start streaming to your phone
Interacting with VS Code:
- Tap anywhere on the screen to move the cursor
- Use the custom keyboard integarted in the app to type
- Use voice on your phone to code!
Performance Tips:
- Ensure both devices are on the same network for best performance
- Use landscape mode on your phone for a better view
- Consider disabling VNC Mode when not needed to save resources
Using AirCodum
Opening the AirCodum Interface
- Open the Command Palette
- Type "AirCodum: Open AirCodum Webview" and select it
Transferring Files
- Connect to the AirCodum server from your device
- Send any file through the WebSocket connection
- The file will appear in your VS Code workspace under the "AirCodum" folder
Using AI Chat
- In the AirCodum interface, open Files & AI → AI assistant
- Type your question or request related to the recently sent files.
- Click "Send" or press Enter
- View the AI's response in the interface
Using Smart Commands
Type commands in the chat input to control VS Code. For example:
type Hello, World!: Types the text in your editor
go to line 42: Moves the cursor to line 42
search TODO: Searches for "TODO" in the current file
- 800+ commands supported (list available at aircodum.com ).
- Request new commands by raising an Issue right here.
Capturing Screenshots
- Type "get screenshot" in the chat input
- AirCodum will capture and display your current screen
- You can then ask the AI to analyze the screenshot
Working with Images
- Upload an image file using the file transfer method
- AirCodum will automatically transcribe any text found in the image
- The transcribed text will appear in the "Transcription" section of the interface
- You can copy the transcription to the clipboard or add it to the current file
Remote Access using Tailscale
Tailscale enables secure remote access to your AirCodum server from anywhere:
Install Tailscale on both your computer and mobile device:
Set up Tailscale:
- Create a Tailscale account if you don't have one
- Sign in on both devices
- They will automatically connect to your Tailscale network
Set aircodum.bindAddress to your desktop's Tailscale IP and restart the AirCodum server.
Enter that IP, the displayed port and the pairing token in the app, then select Tailscale. Plaintext hostnames are not accepted; use the actual Tailscale IP or TLS.
Command Reference
Extension Commands:
AirCodum: Start AirCodum Server: Starts the AirCodum server
AirCodum: Stop AirCodum Server: Stops the AirCodum server
AirCodum: Open AirCodum Webview: Opens the AirCodum interface
Chat-based Commands:
type [text]: Types the specified text
type [text] and enter: Types the text and presses Enter
keytap [key]: Simulates pressing a key (e.g., enter, tab, escape)
go to line [number]: Moves to a specific line
open file [filename]: Opens a file
search [text]: Searches in the current file
replace [old] with [new]: Replaces text
VS Code Commands (examples):
Toggle Zen Mode: Enters or exits Zen Mode
Format Document: Formats the current document
Toggle Line Comment: Comments or uncomments the selected lines
Rename Symbol: Initiates renaming of a symbol
Go to Definition: Navigates to the definition of a symbol
Find All References: Finds all references of a symbol
Security Considerations
- Pairing is required before commands, uploads or native input are accepted. Tokens and OpenAI keys are stored in VS Code SecretStorage.
- Local Wi-Fi is unencrypted and intended for trusted networks. For encrypted access, use an actual Tailscale connection or a TLS proxy. A pairing token authenticates a device; it does not encrypt plain WebSocket traffic by itself.
- Paired devices can control your desktop. Review received files before opening or executing them.
- VNC capture runs only for subscribers, with bounded messages and newest-frame backpressure. Leaving VNC stops that subscription.
- API keys previously placed in workspace
.env files are no longer read. Re-enter the key in the webview. Existing files are untouched.
Troubleshooting
- Can't start the server: Automatic port selection leaves other running windows alone. If you set a custom port, choose another available port or enter 0 to restore automatic selection in Server settings → Connection port → Change.
- Can't connect from other devices: Check the pairing token, selected address and firewall. Local Wi-Fi requires both devices on the same network, mobile 2.4.2, iOS Local Network permission, and a router that allows devices to communicate. Guest Wi-Fi may isolate clients.
- AI features not working: Verify that you've entered a valid OpenAI API key in the settings.
- File transfer issues: Check if your WebSocket client is correctly configured to connect to the AirCodum server address.
- Extension not loading: Try uninstalling and reinstalling the extension. Ensure your VS Code is up to date.
If you encounter persistent issues, please check our GitHub repository for known issues or to report a new one.
Contributing
We welcome contributions to AirCodum Documentation! Here's how you can help:
- Fork this repository on GitHub
- Create a new branch for your changes
- Commit your changes with clear, descriptive messages
- Push the branch and open a pull request
- Maintainers will test the .vsix package created from your branch and merge your PR.
Ideas for Contributions
Following is not an exhaustive list:
- Unit test infrastructure.
- GitHub actions support for CI/CD.
- Add more commands and help clean up existing ones.
Support
- Please raise issues on the associated GitHub repo for triaging.
- For urgent requests, you may email the developer at priyankar.kumar98@gmail.com
Note:
This project was earlier called "CodeAir" and is now being renamed to "AirCodum."
As seen on:
Thank you for using AirCodum - happy coding!