Agentify Desktop is a local control center for AI web sessions. It lets MCP-capable tools such as Codex, Claude Code, and OpenCode use the AI subscriptions you are already signed into, while keeping browser state, files, and automation on your machine.
- Opens a local Agentify Control Center.
- Manages signed-in browser sessions for ChatGPT, Claude, Perplexity, Gemini, Google AI Studio, and Grok.
- Exposes MCP tools for querying a tab, reading a page, navigating, uploading files, saving artifacts, and reusing stable tab keys.
- Supports parallel tabs so different agents or tasks can use separate sessions.
- Packs local repo/file context into prompts when requested.
- Saves generated images/files locally so they can be reused in follow-up prompts.
- Node.js 20 or newer
- An MCP-capable CLI if you want tool integration: Codex, Claude Code, or OpenCode
chatgpt.comclaude.aiperplexity.aiaistudio.google.comgemini.google.comgrok.com
Start the desktop GUI without cloning this repo:
npx @agentify/desktopEquivalent explicit GUI command:
npx @agentify/desktop guiIf you prefer a global install:
npm install -g @agentify/desktop
agentify-desktopIf you want the older repo-clone and local source workflow, use DEVELOPMENT_FROM_SOURCE.md.
Run the MCP server over stdio:
npx @agentify/desktop mcpShow newly-created browser tabs while debugging:
npx @agentify/desktop mcp --show-tabsWith a global install:
agentify-desktop-mcp
agentify-desktop-mcp --show-tabsCodex:
codex mcp add agentify-desktop -- npx -y @agentify/desktop mcpClaude Code:
claude mcp add --transport stdio agentify-desktop -- npx -y @agentify/desktop mcpOpenCode config example:
{
"mcp": {
"agentify-desktop": {
"type": "local",
"command": ["npx", "-y", "@agentify/desktop", "mcp"],
"enabled": true
}
}
}Use --show-tabs at the end of the command while debugging:
codex mcp add agentify-desktop -- npx -y @agentify/desktop mcp --show-tabs- Start the app:
npx @agentify/desktop-
In the Control Center, create or show a ChatGPT tab.
-
Sign in to the target vendor in the browser window.
-
Register the MCP server with your CLI.
-
Ask your MCP client to use Agentify:
Use Agentify Desktop with tab key repo-triage.
Ask ChatGPT to summarize this repo in 8 bullets and list the top 3 risky areas to change first.
Return the answer and keep the tab key stable for follow-ups.
The core loop is:
- keep a real signed-in browser session open locally
- call it from an MCP client
- reuse a stable tab key across follow-up prompts
The MCP server registers agentify_* tools, including:
agentify_query: send a prompt to a stable tab and return the assistant response.agentify_read_page: read visible page text from a tab.agentify_navigate: navigate a tab to a URL.agentify_ensure_ready: wait for login, CAPTCHA, or UI readiness.agentify_show/agentify_hide: bring windows forward or minimize them.agentify_status: inspect tab and readiness state.agentify_tabs,agentify_tab_create,agentify_tab_close: manage tabs.agentify_save_artifacts,agentify_list_artifacts,agentify_open_artifacts_folder: manage generated files/images.agentify_save_bundle,agentify_list_bundles: save and reuse context bundles.agentify_add_watch_folder,agentify_list_watch_folders,agentify_remove_watch_folder: manage watched folders.
Generate an image or file in a stable tab:
{
"tool": "agentify_query",
"arguments": {
"key": "sprite-lab",
"prompt": "Generate 3 simple 2D pixel-art robot sprite variations on transparent backgrounds."
}
}Save the generated images locally:
{
"tool": "agentify_save_artifacts",
"arguments": {
"key": "sprite-lab",
"mode": "images",
"maxImages": 3
}
}Reattach one of the returned file paths in a follow-up:
{
"tool": "agentify_query",
"arguments": {
"key": "sprite-lab",
"prompt": "Use the attached sprite and make a damaged version with one broken eye.",
"attachments": ["/absolute/path/to/sprite.png"]
}
}Ask Agentify to pack local files or folders into a prompt:
{
"tool": "agentify_query",
"arguments": {
"key": "repo-review",
"prompt": "Summarize this codebase in 8 bullets and list the top 3 risky files to change first.",
"contextPaths": ["/absolute/path/to/repo"]
}
}Control context size:
{
"tool": "agentify_query",
"arguments": {
"key": "repo-review",
"prompt": "Focus only on rendering and state management.",
"contextPaths": ["/absolute/path/to/repo"],
"maxContextChars": 120000,
"maxContextFiles": 80,
"maxContextInlineFiles": 30
}
}The tool result includes packedContextSummary so you can see what was included, attached, or skipped.
Agentify Desktop supports two browser backends:
chrome-cdp: launches or attaches to a Chrome-family browser over Chrome DevTools Protocol. This is the default and recommended backend.electron: embedded windows managed by Agentify Desktop. Use this only as an explicit fallback.
Chrome CDP is the default because SSO providers commonly block embedded Electron login:
npx @agentify/desktopOptional Chrome CDP settings:
AGENTIFY_DESKTOP_CHROME_DEBUG_PORT=9333 npx @agentify/desktop
AGENTIFY_DESKTOP_CHROME_BIN="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" npx @agentify/desktopYou can also pass GUI flags:
npx @agentify/desktop gui --browser-backend chrome-cdp
npx @agentify/desktop gui --browser-backend electron
npx @agentify/desktop gui --chrome-debug-port 9333Chrome CDP profile modes:
Agentify isolated profile: safest default.Existing Chrome profile: reuses your normal Chrome session. Fully quit Chrome first so the profile is not already locked.
Agentify Desktop does not bypass CAPTCHAs or use third-party solvers. If a verification or login challenge appears, automation pauses, brings the relevant window forward, and waits for you to complete the step manually.
If your account uses Google, Microsoft, or Apple SSO, keep auth popups enabled in the Control Center. If embedded login remains unreliable, use Chrome CDP.
Agentify Desktop is local-first:
- The local API binds to
127.0.0.1. - The local API requires a bearer token stored under
~/.agentify-desktop/. - Electron browser data is stored under
~/.agentify-desktop/electron-user-data/. - Chrome CDP profile data is stored under
~/.agentify-desktop/chrome-user-data/unless you choose an existing profile. - Artifacts, bundles, logs, and state are stored under
~/.agentify-desktop/.
Anyone with access to your machine account may be able to access local session data. Treat the machine account as the security boundary.
AGENTIFY_DESKTOP_STATE_DIR: override the local state directory.AGENTIFY_DESKTOP_PORT: choose the local API port.AGENTIFY_DESKTOP_SHOW_TABS=true: show newly-created tabs by default.AGENTIFY_DESKTOP_MAX_TABS: cap parallel tabs.AGENTIFY_DESKTOP_BROWSER_BACKEND=electron|chrome-cdp: choose browser backend.AGENTIFY_DESKTOP_CHROME_BIN: choose Chrome/Chromium executable.AGENTIFY_DESKTOP_CHROME_DEBUG_PORT: choose Chrome debug port.AGENTIFY_DESKTOP_CHROME_PROFILE_MODE=isolated|existing: choose Chrome profile mode.AGENTIFY_DESKTOP_CHROME_PROFILE_NAME: choose an existing Chrome profile name.
Source checkout, quickstart script usage, local build commands, and source-only debugging notes live in DEVELOPMENT_FROM_SOURCE.md.
The npm package exposes these commands:
agentify-desktop: default GUI launcher, withmcpsubcommand support.agentify-desktop-gui: explicit GUI alias.agentify-desktop-mcp: explicit MCP alias.
Examples:
npx @agentify/desktop
npx @agentify/desktop mcp
npx -p @agentify/desktop agentify-desktop-mcpThe code is licensed under MPL-2.0. Agentify trademarks and branding are not included in that license. See TRADEMARKS.md.