Sudo Droid
A Codex-style chat experience for the Factory Droid inside VS Code, with multiple parallel sessions and project collections.
This is an independent community extension. It is not affiliated with, endorsed by, or sponsored by Factory AI. "Droid" and "Factory" are trademarks of their respective owners.

Features
- Multiple sessions: run several Droid conversations at once. Each session has its own process, status (idle / running / waiting for approval) and persisted transcript. Switch with the session tabs, or browse and resume history.
- Project collections: group several folders into a named collection (for example a monorepo's services, or related repos), and pick which project a session works in. Collections are stored in the
droid.collections setting and can be synced.
- Cross-project collaboration: a session started in a collection with several projects can read, search and edit every project in it (the one you pick is the main working directory). Turn off with
droid.linkCollectionProjects.
- Codex-style interaction: streaming answers, collapsible reasoning, tool call cards, inline diffs for edits, todo progress, inline approval cards and question cards.
- Steer or queue: while Droid is working, Enter steers it with a new message right away, Ctrl+Enter queues the message for after the current turn.
- Autonomy modes: Plan (spec), Ask, Low, Medium, High.
- Editor context: send the current selection or file, mention files with
@, drag files in, paste images.
- Slash commands:
/new, /plan, /compact, /rename, /history, /stop.
- Codex-style layout: collections and sessions as a tree in the sidebar, the chat in the editor area next to it.
- English and Simplified Chinese.

Requirements
- The Droid CLI installed and logged in (
droid once in a terminal), or a Factory API key set via the command Droid: Set API Key (stored in VS Code SecretStorage).
- On Windows the extension resolves the npm
droid.cmd shim to the real droid.exe automatically. You can override with droid.executablePath.
Settings
| Setting |
Description |
droid.executablePath |
Path to the Droid executable (auto-detected when empty). |
droid.defaultModel |
Default model for new sessions. |
droid.defaultReasoningEffort |
Default reasoning effort. |
droid.defaultApproval |
Default approval mode. |
droid.includeEditorContext |
Attach the active file / selection to every prompt (shows a context chip). Off by default. |
droid.maxLiveSessions |
Max simultaneously running Droid processes. |
droid.notifyOnApproval |
Notify when a background session needs approval. |
droid.showThinking |
Show reasoning blocks. |
droid.collections |
Project collections. |
droid.linkCollectionProjects |
Let a session work across all projects of its collection. |
Privacy
The extension talks only to the local Droid process. Prompts and files are handled by Droid according to your Factory account settings. The extension itself collects no telemetry.
Known limitations
- Sessions created in the Droid CLI can be resumed, but their earlier messages are not replayed in the transcript.
- Requires a trusted workspace; Droid runs commands and edits files.
Development
npm install
npm run build # or: npm run watch
# press F5 to launch the Extension Development Host
npm run package # produces a .vsix
| |