exterm_ai runs a real PTY in Elixir and exposes it in the browser using xterm.js. Previously I shared exterm library without AI this one includes an AI assistant that can read terminal output, suggest commands, and run helper tools like web search or browse.
The goal is to make a terminal that can interact with its own session context.
AI access is through OpenRouter, and tools are defined as simple Elixir modules.
Still experimental, mainly for exploring AI-assisted shell workflows. I am planning to add MCP support and orchestration capabilities. Current version doesn’t have a security system to prevent AI to do crazy stuff it might be risky to run your machine if AI goes crazy and deletes your files etc…






















