惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
小众软件
小众软件
Last Week in AI
Last Week in AI
月光博客
月光博客
博客园 - 聂微东
Recent Announcements
Recent Announcements
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
博客园 - Franky
云风的 BLOG
云风的 BLOG
量子位
N
Netflix TechBlog - Medium
Hugging Face - Blog
Hugging Face - Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
博客园 - 司徒正美
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队
Google DeepMind News
Google DeepMind News
宝玉的分享
宝玉的分享

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I built a local web dashboard to run Claude Code and Code...
Hiroshi Ishi · 2026-05-24 · via DEV Community

Hiroshi Ishizaka

I run Claude Code and Codex CLI side by side a lot. The coding part is great — the annoying part is everything around it. Which terminal is waiting for an approval? Which session is still working, and which one quietly finished ten minutes ago? Tabbing between terminal windows just to hit "yes" got old fast.

So I built any-ai-cli: a single local web dashboard that wraps these CLIs and lets me manage every session from one screen.

any-ai-cli dashboard

What it does

It wraps your AI coding CLIs in a PTY and mirrors their terminal output into a browser dashboard in real time. When a session hits an approval prompt, it surfaces in the UI so you can answer it from the browser — or from the terminal. Both stay in sync.

Beyond approvals, it grew into a small cockpit for parallel agent work:

  • Unified approval panel — approve/reject Claude Code and Codex prompts from the browser, including batch answers for multiple numbered questions
  • Real-time PTY output via xterm.js over WebSocket
  • Chat history + split view — read a bubble-style transcript, search it, or keep it next to the live terminal
  • Multi-pane tab — watch several live sessions at once in a grid
  • Files tab — browse project files, preview Markdown/code, rename and move files
  • Git view — branch history, commit details, and diffs without checking out refs; plus "Commit all" after an explicit review step
  • Image & file attach — paste or drag-and-drop straight into a session
  • Voice input (Chrome / Edge)
  • Model picker with Ollama routing — pick Anthropic / OpenAI / Ollama models from the spawn form; the Hub injects the right env vars per session
  • WSL launcher on Windows

How it's built

The whole thing is a single Go binary. No Electron, no separate frontend server.

  • The browser UI is static HTML/CSS/vanilla JS, embedded into the binary with go:embed
  • It talks to the Hub over a WebSocket
  • Terminal rendering is xterm.js; approval detection works by scanning the terminal buffer for known prompt patterns
  • PTY handling uses creack/pty on Unix and ConPTY (via aymanbagabas/go-pty) on Windows, so the same binary behaves consistently across platforms

On privacy: the Hub binds to 127.0.0.1 only, puts a random token in the URL, and any-ai-cli sends no telemetry. It's a local-first tool — the point is to make the agents already running on your machine easier to watch, not to add another cloud console.

Trying it

Grab a binary from the GitHub Releases page (Windows / macOS / Linux), unzip, and:

  1. Double-click any-ai-cli (or run it with no arguments)
  2. Your browser opens at http://127.0.0.1:47777/?token=<token> and the Hub is running
  3. Click "+ New Session" to launch a Claude Code / Codex CLI session
  4. When an approval prompt shows up, an action bar appears under the input — click or use the keyboard to respond

You don't have to keep a separate terminal open; sessions are created, monitored, and approved from the Hub UI.

Heads up: v0.2.x is verified mainly on Windows (WSL supported via a separate launcher). Linux/macOS builds are expected to work but aren't fully validated yet — feedback from those platforms is especially welcome.

Where it's at

This is v0.2.2 and still early. If you run more than one coding agent at a time, I'd love to hear how this fits (or doesn't fit) your workflow.

Repo: https://github.com/ishizakahiroshi/any-ai-cli