{"slug": "termai-created-a-simple-ai-agent-in-bash", "title": "Termai - Created a Simple AI agent in Bash", "summary": "A developer built Termai, a terminal-based AI assistant written entirely in Bash and jq, with no Python or Node dependencies. The agent chats with an LLM and can search the web, check the weather, fetch URLs and run commands, implementing tool calling as a simple case statement where the model selects a tool, Bash executes it, and the result is returned to the model.", "body_md": "No Python. No Node. Just Bash and jq.\n\nan AI assistant that runs in your terminal, chats with an LLM, and can search the web, check the weather, fetch URLs and run commands.\n\nTool calling turned out to be just a case statement: the model picks a tool, Bash runs it, the result goes back to the model.", "url": "https://wpnews.pro/news/termai-created-a-simple-ai-agent-in-bash", "canonical_source": "https://dev.to/atif1402/termai-create-a-simple-ai-agent-in-bash-51oc", "published_at": "2026-09-24 04:06:40+00:00", "updated_at": "2026-09-24 04:32:21.429490+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "large-language-models"], "entities": ["Termai", "Bash", "jq"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/termai-created-a-simple-ai-agent-in-bash", "markdown": "https://wpnews.pro/news/termai-created-a-simple-ai-agent-in-bash.md", "text": "https://wpnews.pro/news/termai-created-a-simple-ai-agent-in-bash.txt", "jsonld": "https://wpnews.pro/news/termai-created-a-simple-ai-agent-in-bash.jsonld"}}