Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SkogBackup/adhdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

136 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🦦 ADHDev β€” Agent Dashboard Hub for Dev

npm CI License: AGPL-3.0

Your AI sidekick otter 🦦 β€” control your IDE's AI agents from anywhere.

ADHDev is an open-source local dashboard for managing AI coding agents across multiple IDEs. Run it on your machine β€” no cloud account required.

✨ What Does It Do?

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Your Local Machine                  β”‚      β”‚  Web Dashboard   β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚      β”‚  (React SPA)     β”‚
β”‚  β”‚ IDE      β”‚    β”‚ ADHDev Daemon  │──┼──────┼▢ Chat, Commands, β”‚
β”‚  β”‚ + AI Ext β”‚CDP β”‚ localhost:3847 β”‚  β”‚ HTTP β”‚  Screenshots,    β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚  /WS β”‚  Remote Control  β”‚
β”‚                                      β”‚      β”‚                  β”‚
β”‚  CLI Agents  ◄─PTY─►  Daemon         β”‚      β”‚                  β”‚
β”‚  ACP Agents  ◄─stdio─► Daemon        β”‚      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       Everything runs locally β€” no cloud required
  • Read & send messages to AI agents (Cursor, Cline, Roo Code, Claude Code, Gemini CLI, etc.)
  • See IDE screenshots in real-time via Chrome DevTools Protocol
  • Remote desktop β€” click, type, scroll in your IDE from the browser
  • Manage CLI agents β€” interactive terminal view with xterm.js
  • Multi-IDE support β€” manage 9 different IDEs simultaneously
  • Provider system β€” extensible via provider.json & scripts.js files (no TypeScript changes needed)

πŸš€ Quick Start

# One-line installer (recommended β€” handles Node.js check + install + setup)
curl -fsSL https://adhf.dev/install | sh

# Or install via npm directly
npm install -g @adhdev/daemon-standalone

# One-liner β€” starts dashboard at http://localhost:3847
adhdev-standalone

# With options
adhdev-standalone --port 8080 --host  # LAN access
adhdev-standalone --token mysecret     # Token auth

That's it! Open http://localhost:3847 and your connected IDEs will appear automatically.

CLI Options

Flag Description
--port, -p <port> Port to listen on (default: 3847)
--host, -H Listen on all interfaces β€” enables LAN access (0.0.0.0)
--no-open Don't open browser automatically on start
--token <secret> Enable token authentication for API and WebSocket
--dev Enable DevServer on port 19280 (provider debugging, CDP tools)

πŸ“¦ Packages

Package Description
packages/daemon-core Core engine β€” CDP, IDE detection, providers, CLI/ACP adapters, command handler, lifecycle
packages/daemon-standalone Self-hosted local server β€” HTTP REST + WebSocket + bundled dashboard
packages/web-core Shared UI β€” Dashboard, Chat, System views, CSS design system
packages/web-standalone Self-hosted React dashboard β€” localhost-first, no auth
packages/web-devconsole DevConsole β€” provider debugging and testing tools

πŸ’‘ Cloud version with remote access and team features available at adhf.dev

πŸ”Œ Supported IDEs & Agents

IDE Support Status

We are actively building out providers. Here is the current capability tracking:

  • 🟒 Antigravity β€” Stable (CDP)
  • 🟒 Cursor β€” Stable (CDP, including Composer)
  • 🟒 Windsurf β€” Stable (CDP)
  • 🟒 Kiro β€” Stable (webview CDP)
  • 🟑 PearAI β€” Beta (webview CDP)
  • 🟑 Trae β€” Beta (webview CDP)
  • 🟒 VS Code / VSCodium β€” Stable (CDP)

AI Extensions (via Agent Stream CDP scraping)

  • 🟒 Cline β€” Independent Stream
  • 🟒 Roo Code (3.x, 4.x) β€” Independent Stream
  • 🟒 Codex Extension β€” Independent Stream

Standalone CLI Agents (via Daemon CLI Adapters)

All CLI agents support interactive Terminal mode. Chat mode (UI abstraction) availability is listed below:

  • 🟒 Claude Code β€” Terminal + Chat Mode
  • 🟒 Codex CLI β€” Terminal + Chat Mode
  • 🟑 Aider β€” Terminal only (Chat Mode WIP)
  • 🟑 Cursor CLI β€” Terminal only (Chat Mode WIP)
  • 🟑 Gemini CLI β€” Terminal only (Chat Mode WIP)
  • 🟑 GitHub Copilot CLI β€” Terminal only (Chat Mode WIP)
  • 🟑 Goose CLI β€” Terminal only (Chat Mode WIP)
  • 🟑 OpenCode CLI β€” Terminal only (Chat Mode WIP)

ACP Agents (Agent Client Protocol β€” 35 agents)

  • βœ… 35 ACP agents supported (Gemini, Codex, Claude Agent, Cursor, Cline, GitHub Copilot, Goose, Kimi, Kiro, Mistral Vibe, OpenCode, Qwen Code, and 21 more)

πŸ› οΈ Development

# Clone and install
git clone https://github.com/vilmire/adhdev.git
cd adhdev
npm install

# Build all packages (order matters)
npm run build

# Run standalone (daemon + dashboard)
npm run dev

# Individual services
npm run dev:daemon    # daemon-standalone only
npm run dev:web       # web-standalone only (Vite dev server)

Project Structure

packages/
β”œβ”€β”€ daemon-core/        # Core engine (CDP, providers, CLI/ACP adapters, lifecycle)
β”œβ”€β”€ daemon-standalone/  # HTTP/WS server (localhost:3847)
β”œβ”€β”€ web-core/           # Shared React components, pages, CSS design system
β”œβ”€β”€ web-standalone/     # Standalone React dashboard (Vite)
└── web-devconsole/     # DevConsole β€” provider debugging tools

πŸ”— Local API

The standalone daemon exposes a REST API at http://localhost:3847:

# Get daemon status (connected IDEs, system info)
curl http://localhost:3847/api/v1/status

# Send a chat message to an IDE agent
curl -X POST http://localhost:3847/api/v1/command \
  -H 'Content-Type: application/json' \
  -d '{"type": "send_chat", "payload": {"message": "Fix the login bug"}, "target": "ide:cursor_12345"}'

# Read current chat
curl -X POST http://localhost:3847/api/v1/command \
  -H 'Content-Type: application/json' \
  -d '{"type": "read_chat", "target": "ide:cursor_12345"}'

# Take a screenshot
curl -X POST http://localhost:3847/api/v1/command \
  -H 'Content-Type: application/json' \
  -d '{"type": "screenshot", "target": "ide:cursor_12345"}'

# List connected IDEs
curl http://localhost:3847/api/v1/ides

# List CLI sessions
curl http://localhost:3847/api/v1/clis

Full API spec: docs/openapi.yml (OpenAPI 3.0)

🧩 Web Dashboard Features

Feature Description
Dashboard Real-time agent chat, CLI terminal, agent management
IDE Detail Full IDE control β€” chat, remote desktop, view modes
Machine View IDE/CLI instance listing & management
CLI Terminal Interactive terminal with xterm.js (Catppuccin Mocha theme)
Mobile UI Responsive design β€” works on phones and tablets
Provider Settings Per-provider configurable settings with runtime hot-reload

πŸ”Œ Provider Development & DevConsole

Providers are dynamically loaded from the vilmire/adhdev-providers repository. Your local daemon automatically downloads the latest providers on startup.

πŸ› οΈ Using the DevConsole to Fix Providers

If an IDE updates its UI and ADHDev's chat integration breaks, you can easily fix the provider scripts live using the built-in DevConsole:

  1. Stop your background daemon and run it in dev mode:
    adhdev-standalone --dev
  2. Open http://127.0.0.1:19280 in your browser to access the DevConsole UI.
  3. The DevConsole allows you to:
    • Inspect CDP Sessions: View running IDEs and attach directly to their DOM.
    • Test Scripts Real-time: Edit Javascript functions (like sendMessage or readChat) inside the browser and execute them instantly in the target IDE without reloading.
    • Inspect Errors: Validate DOM selector changes seamlessly through the interactive tools.

Adding Custom Local Providers

Providers are loaded dynamically. The legacy builtin directory has been deprecated in favor of a dynamic workspace model. If you want to create a custom provider locally or test your fixes before submitting a PR to the providers repository, place your edited files in ~/.adhdev/providers/<category>/<type>/. Local user providers will always overwrite upstream auto-updated ones, allowing for rapid reloading and local testing without rebuilding the daemon.

~/.adhdev/providers/ide/my-ide/
  provider.json
  scripts/
    1.0/
      scripts.js

πŸ—ΊοΈ Roadmap

  • IDE detection (8 IDEs β€” Cursor, Antigravity, Kiro, PearAI, Trae, Windsurf, VS Code, VSCodium)
  • CDP integration (Chrome DevTools Protocol)
  • Agent Independent Chat Streams (Cline, Roo Code β€” real-time CDP scraping)
  • CLI Agent Adapters (Gemini CLI, Claude Code, Codex CLI β€” PTY-based)
  • ACP 35 agents (Agent Client Protocol β€” MCP stdio)
  • Interactive Terminal View (xterm.js β€” full TUI rendering)
  • Provider architecture (4-category provider.json & scripts.js system)
  • Model/Mode selection (CDP-based switching for all IDEs)
  • Mobile responsive UI
  • Provider Settings System (per-provider configurable settings)

πŸ“š Documentation

🌐 docs.adhf.dev β€” User guides, feature docs, troubleshooting

☁️ Cloud Version β€” adhf.dev

Need remote access, team collaboration, or API integration?

Feature OSS (this repo) Cloud
IDE/CLI agent chat & control βœ… βœ…
9 IDE + 35 ACP support βœ… βœ…
Remote access (outside LAN) ❌ βœ…
Multi-machine management ❌ βœ…
Session Sharing (live link) ❌ βœ…
Team / Organization ❌ βœ…
REST API + Webhooks Local only βœ… Cloud API
OAuth (GitHub/Google) ❌ βœ…
Push notifications ❌ βœ…

β†’ Get started with ADHDev Cloud

πŸ“œ License

AGPL-3.0 β€” See LICENSE for details.

About

🦦 ADHDev β€” Agent Dashboard Hub. Monitor & control AI coding agents from a single dashboard. Self-hosted, open-source.

Resources

License

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 94.2%
  • CSS 3.1%
  • JavaScript 2.1%
  • C++ 0.2%
  • C 0.2%
  • Shell 0.1%
  • Other 0.1%