- Posted on
- Featured Image
Learn to build a lightweight AI agent in pure Bash using curl and jq that talks to a cloud or local LLM (OpenAI/Ollama), outputs strict JSON, and safely uses four tools (HTTP GET, save/read text, list files) in a sandbox. The guide covers install, the agent.sh loop, realistic tasks (weather, logs, research), safety choices (bounded context, no shell exec), and extensions to automate real work from any terminal.