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

推荐订阅源

Last Week in AI
Last Week in AI
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
MongoDB | Blog
MongoDB | Blog
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
J
Java Code Geeks
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
V
Visual Studio Blog
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
IT之家
IT之家
Vercel News
Vercel News
C
Check Point Blog
Google DeepMind News
Google DeepMind News
月光博客
月光博客
D
DataBreaches.Net
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog

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
Agenv — A Full IDE for Building, Running, and Monitoring ...
adibenmati · 2026-05-03 · via DEV Community

If you're building with AI agents — Claude, Gemini, Vertex, or anything CLI-based — you've probably felt the pain: terminal tabs multiplying, no easy way to compare agent outputs side-by-side, losing scroll history when you close a window, and zero visibility into what things cost.

I built Agenv to fix that.

What is Agenv?

Agenv (The Agent Development Environment) is a full web-based IDE purpose-built for running and monitoring AI agents. Think of it as a workspace where you can:

  • Run multiple agents side-by-side in split terminal panes
  • Edit code with syntax highlighting for 30+ languages
  • Stage, diff, and commit with built-in git integration
  • Track token usage and costs in real-time per session
  • Persist sessions that survive browser crashes and reconnects

It runs as a desktop app (via Electron) or a web server you can access from any device — including your phone.

GitHub logo adibenmati / agenv

The agent development environment — build, run, and monitor AI agents from a full web IDE with split terminals, file editing, and session management

Agenv

The agent development environment. Build, run, and monitor AI agents from a full web-based IDE with split terminals, integrated file editing, git management, and persistent session control.

Agenv gives you a complete workspace for agent development — not just a terminal, but an environment where you can run multiple agents simultaneously, inspect their output in split panes, edit code with syntax highlighting, track costs, and manage everything from any browser or the desktop app.

Video.Project.mp4

Install

npm install -g @adibenmatdev/agenv

Enter fullscreen mode Exit fullscreen mode

Or run without installing:

npx @adibenmatdev/agenv

Enter fullscreen mode Exit fullscreen mode

For the desktop app experience, also install Electron (optional):

npm install -g electron

Enter fullscreen mode Exit fullscreen mode

Quick start

# Launch the environment (desktop app if Electron is installed, web mode otherwise)
agenv
# Force web mode (opens in browser, accessible from any device)
agenv --web

# Web mode on a custom port
agenv --web --port 8080

# Launch directly into an agent
agenv run claude --model

Enter fullscreen mode Exit fullscreen mode

Install in 10 seconds

npm install -g @adibenmatdev/agenv

Enter fullscreen mode Exit fullscreen mode

Or try it without installing:

npx @adibenmatdev/agenv

Enter fullscreen mode Exit fullscreen mode

Then just run:

agenv

Enter fullscreen mode Exit fullscreen mode

That's it. If Electron is installed globally, it opens as a native desktop app. Otherwise it starts a web server and opens your browser.

The Features That Matter

Split Terminal Panes

Run multiple agents simultaneously. Each gets its own persistent PTY session. Switch between them with Alt+1-9 or the tab bar. Drag-and-drop files directly into terminals.

Integrated Code Editor

Full file editor with syntax highlighting, file explorer with tree view, quick file search (Ctrl+P), and text search across your project (Ctrl+T). No more switching between your terminal and your editor.

Git — Without Leaving the IDE

Stage files, view diffs, write commits, and push — all from the sidebar. See changed files at a glance, discard or unstage selectively. It's not a replacement for the CLI, but it covers 90% of what you need mid-session.

Session Persistence

Close your browser tab. Shut your laptop. Come back later. Your sessions are still there — scrollback history, running processes, everything. Sessions are encrypted at rest with AES-256-GCM and stored locally.

Cost Tracking

Real-time token usage and cost monitoring per agent session. Status indicators show whether each agent is running, waiting, or errored. Know exactly what your experiments cost before the bill surprises you.

Desktop or Web — Your Choice

# Desktop app (default when Electron is available)
agenv

# Web mode — access from any device on your network
agenv --web --host 0.0.0.0

# Need remote access? Built-in ngrok support
agenv --web
# then use the ngrok integration from the UI

Enter fullscreen mode Exit fullscreen mode

Security by Default

  • Desktop mode: no open ports, no network exposure
  • Web mode: 128-bit random token auth, scrypt-hashed passwords, rate limiting, CSP headers
  • All persistent data encrypted with AES-256-GCM
  • Electron sandbox enforced

CLI at a Glance

agenv                     # Launch (desktop or web)
agenv --web               # Force web mode
agenv --web --port 3000   # Custom port
agenv run "claude"        # Start with a command running
agenv stop                # Stop the server
agenv set agent gemini    # Configure default agent

Enter fullscreen mode Exit fullscreen mode

Only 4 Runtime Dependencies

I deliberately kept Agenv lean:

  • express — HTTP server
  • ws — WebSocket
  • @lydell/node-pty — terminal emulation
  • qrcode-terminal — QR code for mobile access

The entire frontend is vanilla JavaScript modules — no React, no Vue, no build step. The UI is fast because there's nothing to get in the way.

Why I Built This

I was spending most of my time running AI agents in terminals — tweaking prompts, comparing outputs, iterating on code. But the tooling around it was terrible. I had 15 terminal tabs open, couldn't find anything, lost scroll history constantly, and had no idea what my API usage looked like.

Agenv is the environment I wanted. One place where I can run agents, read their output, edit code, and track costs — without juggling windows or losing context.

Try It

npx @adibenmatdev/agenv

Enter fullscreen mode Exit fullscreen mode

GitHub: github.com/adibenmati/agenv
npm: @adibenmatdev/agenv
License: Apache-2.0

If you're building with AI agents, give it a spin. Issues, PRs, and stars are all welcome.