<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: adibenmati</title>
    <description>The latest articles on DEV Community by adibenmati (@adibenmati).</description>
    <link>https://dev.to/adibenmati</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F722730%2F8e520f05-a43e-4220-bd99-de4c8d574086.jpeg</url>
      <title>DEV Community: adibenmati</title>
      <link>https://dev.to/adibenmati</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adibenmati"/>
    <language>en</language>
    <item>
      <title>Agenv — A Full IDE for Building, Running, and Monitoring AI Agents</title>
      <dc:creator>adibenmati</dc:creator>
      <pubDate>Sun, 03 May 2026 10:56:36 +0000</pubDate>
      <link>https://dev.to/adibenmati/agenv-a-full-ide-for-building-running-and-monitoring-ai-agents-4dpa</link>
      <guid>https://dev.to/adibenmati/agenv-a-full-ide-for-building-running-and-monitoring-ai-agents-4dpa</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;Agenv&lt;/strong&gt; to fix that.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Agenv?
&lt;/h2&gt;

&lt;p&gt;Agenv (The &lt;strong&gt;Ag&lt;/strong&gt;ent Development &lt;strong&gt;Env&lt;/strong&gt;ironment) is a full web-based IDE purpose-built for running and monitoring AI agents. Think of it as a workspace where you can:&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5q834gtv0jn8hg7i1lc7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5q834gtv0jn8hg7i1lc7.png" alt=" " width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It runs as a &lt;strong&gt;desktop app&lt;/strong&gt; (via Electron) or a &lt;strong&gt;web server&lt;/strong&gt; you can access from any device — including your phone.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/adibenmati" rel="noopener noreferrer"&gt;
        adibenmati
      &lt;/a&gt; / &lt;a href="https://github.com/adibenmati/agenv" rel="noopener noreferrer"&gt;
        agenv
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      The agent development environment — build, run, and monitor AI agents from a full web IDE with split terminals, file editing, and session management
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Agenv&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;div&gt;

  
    

    &lt;span class="m-1"&gt;Video.Project.mp4&lt;/span&gt;
  

  

  


&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Install&lt;/h2&gt;

&lt;/div&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm install -g @adibenmatdev/agenv&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Or run without installing:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npx @adibenmatdev/agenv&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;For the desktop app experience, also install Electron (optional):&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm install -g electron&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Quick start&lt;/h2&gt;

&lt;/div&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Launch the environment (desktop app if Electron is installed, web mode otherwise)&lt;/span&gt;
agenv
&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Force web mode (opens in browser, accessible from any device)&lt;/span&gt;
agenv --web

&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Web mode on a custom port&lt;/span&gt;
agenv --web --port 8080

&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Launch directly into an agent&lt;/span&gt;
agenv run claude --model&lt;/pre&gt;…
&lt;/div&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/adibenmati/agenv" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  Install in 10 seconds
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; @adibenmatdev/agenv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or try it without installing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @adibenmatdev/agenv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then just run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;agenv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Features That Matter
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Split Terminal Panes
&lt;/h3&gt;

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

&lt;h3&gt;
  
  
  Integrated Code Editor
&lt;/h3&gt;

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

&lt;h3&gt;
  
  
  Git — Without Leaving the IDE
&lt;/h3&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h3&gt;
  
  
  Session Persistence
&lt;/h3&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cost Tracking
&lt;/h3&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h3&gt;
  
  
  Desktop or Web — Your Choice
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Desktop app (default when Electron is available)&lt;/span&gt;
agenv

&lt;span class="c"&gt;# Web mode — access from any device on your network&lt;/span&gt;
agenv &lt;span class="nt"&gt;--web&lt;/span&gt; &lt;span class="nt"&gt;--host&lt;/span&gt; 0.0.0.0

&lt;span class="c"&gt;# Need remote access? Built-in ngrok support&lt;/span&gt;
agenv &lt;span class="nt"&gt;--web&lt;/span&gt;
&lt;span class="c"&gt;# then use the ngrok integration from the UI&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Security by Default
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Desktop mode&lt;/strong&gt;: no open ports, no network exposure&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Web mode&lt;/strong&gt;: 128-bit random token auth, scrypt-hashed passwords, rate limiting, CSP headers&lt;/li&gt;
&lt;li&gt;All persistent data encrypted with AES-256-GCM&lt;/li&gt;
&lt;li&gt;Electron sandbox enforced&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  CLI at a Glance
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;agenv                     &lt;span class="c"&gt;# Launch (desktop or web)&lt;/span&gt;
agenv &lt;span class="nt"&gt;--web&lt;/span&gt;               &lt;span class="c"&gt;# Force web mode&lt;/span&gt;
agenv &lt;span class="nt"&gt;--web&lt;/span&gt; &lt;span class="nt"&gt;--port&lt;/span&gt; 3000   &lt;span class="c"&gt;# Custom port&lt;/span&gt;
agenv run &lt;span class="s2"&gt;"claude"&lt;/span&gt;        &lt;span class="c"&gt;# Start with a command running&lt;/span&gt;
agenv stop                &lt;span class="c"&gt;# Stop the server&lt;/span&gt;
agenv &lt;span class="nb"&gt;set &lt;/span&gt;agent gemini    &lt;span class="c"&gt;# Configure default agent&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Only 4 Runtime Dependencies
&lt;/h2&gt;

&lt;p&gt;I deliberately kept Agenv lean:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;express&lt;/code&gt; — HTTP server&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ws&lt;/code&gt; — WebSocket&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;@lydell/node-pty&lt;/code&gt; — terminal emulation&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;qrcode-terminal&lt;/code&gt; — QR code for mobile access&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I Built This
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @adibenmatdev/agenv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/adibenmati/agenv" rel="noopener noreferrer"&gt;github.com/adibenmati/agenv&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;npm&lt;/strong&gt;: &lt;a href="https://www.npmjs.com/package/@adibenmatdev/agenv" rel="noopener noreferrer"&gt;@adibenmatdev/agenv&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;License&lt;/strong&gt;: Apache-2.0&lt;/p&gt;

&lt;p&gt;If you're building with AI agents, give it a spin. Issues, PRs, and stars are all welcome.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>claude</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
