I embedded an AI agent in my shell. It can now run interactive programs.

Reddit r/LocalLLaMA Tools

Summary

The author introduces 'agent-sh', an open-source project that embeds an AI agent directly into the shell to manage interactive programs and terminal commands without manual copy-pasting.

I want to share a fun side project of mine over the past month or so where I tried to build a shell with an AI agent embedded. The embedded agent knows everything happening in the shell so I don't have to keep copy-and-pasting error messages to another coding agent while working in a terminal. Now it has grown into a useful tool in my daily workflow and a fun playground for agent experiments. Here I'm showing a new extension I'm building that launches an agent on a floating overlay that can read my terminal and type out commands for me, which I thought was really cool. I can already see lots of application of this idea such as helping me with interactive installation or helping me over an ssh session without remote installation. The project is fully [open source](https://github.com/guanyilun/agent-sh) with mit license, feel free to try it out and build on it. It should support local models as well as cloud models. This overlay feature is an experimental extension that only exists in the example folder. You can point your coding agent to the docs to help you set it up should you want to try it out (be sure to grab both the overlay-agent extension for the floating display and the terminal-buffer extension for sending keys to the terminal). Be warned that this is still in development, so things may break! Happy to hear your thoughts and suggestions on this project.
Original Article

Similar Articles

agents-cli

Product Hunt

Agents-cli is a command-line interface tool that enables coding agents to ship AI agents.

AMD introduces an AI-powered Bash coding agent

Reddit r/artificial

AMD has released GAIA 0.21.2, introducing gaia-bash, an AI-powered bash scripting assistant for writing, reviewing, testing, and debugging shell scripts on AMD hardware. It supports multiple interfaces including TUI, CLI, pipe mode, REST API, and MCP stdio server.

@akshay_pachaar: https://x.com/akshay_pachaar/status/2070860837448040832

X AI KOLs Timeline

Google's Agents CLI provides a unified tool for scaffolding, evaluating, and deploying AI agents, addressing the fragmented workflow in agentic engineering. The article walks through building a RAG agent using the CLI, showcasing its integration with coding agents and ADK patterns.

@daweifs: The Essential Tool for AI Agents: CLI-Anything Hub. In a nutshell: Turn any GUI/SaaS/desktop software into an AI-native CLI with one click! Agents no longer need to 'click buttons'; just one command gets it done! Key highlights: • 76+ ready-made CLI covering...

X AI KOLs Timeline

CLI-Anything Hub is an open-source tool that can convert any GUI or SaaS software into an AI-native CLI with one click, allowing AI agents to operate directly via command line without manual clicks. It currently offers 76+ ready-made CLIs covering 31 categories of software, and is compatible with mainstream Agent frameworks such as Claude Code and Cursor.

How Autonomous AI Agents Become Secure by Design With NVIDIA OpenShell

NVIDIA Blog

NVIDIA launches OpenShell, a secure-by-design runtime for autonomous AI agents that isolates agent operations in sandboxes and enforces security policies at the system level rather than relying on behavioral prompts. The toolkit, part of NVIDIA Agent Toolkit, enables enterprises to run coding agents and agentic workflows with unified policy management and compliance oversight.