TaskPilot — Browser ↔ Desktop AI Command Bridge
Running
Problem
An open-source Windows tool that passes prompts between AI chats in the browser (Gemini, ChatGPT, Claude) and desktop coding apps — automatically, in both directions, with no API keys.
Solution
TaskPilot removes the copy-paste step between AI tools. A common AI workflow uses one model in the browser to plan (Gemini, ChatGPT, Claude or Google AI Studio) and a coding agent on the desktop to implement (ZCode, Cursor, VS Code). Moving every plan, result and review between them by hand is slow and error-prone. TaskPilot automates that hand-off. How it works: • Browser side — a Chrome extension types the command into the right AI tab, waits until the answer has finished streaming, and captures it as clean Markdown. It has dedicated adapters for Gemini, ChatGPT, Claude, Google AI Studio and Z.ai, plus a generic adapter that works on any website with a text box. • Desktop side — a small Python driver focuses the target app, glides the cursor to a calibrated input box, types the command like a human, and can read the app's answer back with copy-all. • Routes — "when A replies, send the reply to B" rules build automatic chains such as Gemini plans → ZCode codes → Gemini reviews. Every chain stops on a stop word, a hop limit or an echo guard, so it can never loop forever. It is built to be safe on a real machine: it runs only on 127.0.0.1, API keys stay in a local .env file, and moving the mouse or pressing Esc stops desktop typing instantly. If the Remote Desktop window is minimized, it detects that Windows is dropping input and waits instead of failing. The control center is a single-file dashboard with a sidebar layout, glass design, light/dark/system themes and live busy/lock states, and it works on phone screens. It also includes a task-by-task coding relay between an architect model and a coding agent, provider presets for eight AI APIs, a CLI, a global hotkey, an in-app bug-report flow that redacts secrets, a GitHub-based update check, and an opt-in anonymous install counter running on Cloudflare Workers + D1. The project has zero npm dependencies, 72 automated tests, and step-by-step guides in English and Bangla.
Full written case study text is added for real, delivered work. Nothing is invented.
Result
Replaced the manual copy-paste loop between a planning AI in the browser and a coding agent on the desktop. In a live run on Windows, Gemini planned, ZCode implemented and Gemini reviewed across six automatic hops with no copy-paste — Gemini's 6,327-character plan and ZCode's replies were captured and forwarded on their own, and the chain stopped cleanly when the operator pressed Esc. The tool is published as open source with 72 passing automated tests, zero npm dependencies, a privacy-first design (no tracking by default) and guides in English and Bangla.