AI Setup
Deskless brings AI-powered coding assistance directly to your mobile device. Bring your own API key, and your code stays private—requests go straight from your device to the provider.
Supported Providers
Choose from leading AI providers. Each supports multiple models:
| Provider | What You Get |
|---|---|
| OpenAI | GPT-4o, GPT-4o-mini, GPT-4 Turbo, and more |
| Anthropic | Claude 3.5 Sonnet, Claude 3.5 Haiku, Claude 3 Opus |
| Google Gemini | Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.0 Flash |
| xAI | Grok models |
Tip: Google offers a generous free tier, making Gemini a great starting point for trying AI features.
Adding Your API Key
- Open Settings → AI
- Select your provider
- Paste your API key
- Tap Save
That’s it—AI features activate immediately.
Where to Get API Keys
| Provider | Sign up at | Notes |
|---|---|---|
| OpenAI | platform.openai.com/api-keys | Pay-as-you-go pricing |
| Anthropic | console.anthropic.com | Pay-as-you-go pricing |
| aistudio.google.com/apikey | Free tier available | |
| xAI | console.x.ai | Check availability |
AI Actions
Deskless offers four AI-powered actions:
| Action | What It Does | Edits Your Code? |
|---|---|---|
| Explain | Breaks down what selected code does | No |
| Improve | Suggests cleaner, optimized alternatives | Yes (with approval) |
| Add Comments | Generates documentation comments | Yes (with approval) |
| Find Bugs | Analyzes for bugs and security issues | No |
How to Use
- Select code in the editor (or leave empty to analyze the whole file)
- Tap the ✨ sparkles button in the toolbar
- Pick an action from the menu
- Review the response in the popup sheet
- For Improve or Add Comments, tap Replace Selection or Insert Below
You can also tap Copy to grab the response for use elsewhere.
Keyboard Shortcuts
If you’re using an external keyboard:
| Shortcut | Action |
|---|---|
⌘ + K | Open AI command palette |
⌘ + ⇧ + E | Explain selection |
⌘ + ⇧ + I | Improve selection |
Privacy & Security
- Your API key is stored in the iOS Keychain (Apple’s secure storage)
- All requests go directly from your device to the AI provider
- Deskless never sees your code, prompts, or API key
- Nothing is logged or sent to our servers
You’re in complete control.