Building Ai Agents with Shell Scripts
summary
Builds a working AI agent entirely in shell scripts using Nushell and a Couchbase-backed vector store, calling the OpenAI chat API (temperature 0) and handling tool-call messages, JSON and streaming via curl. Implements function definitions, a looped reasoning cycle that executes returned tool calls, recursive parameter resolution and a stop condition; demo runs on Windows, executes local CLI tools (even plays a sound) and returns correct numeric results.
AI-written summary · about
chapters (8)
- 0:00Introduction and setup
- 2:59What is an AI agent
- 9:34Tool-using models
- 11:21Introducing Nushell
- 16:46Live agent demo
- 25:08Building an agent in Nushell
- 31:22Loop and execution flow
- 33:10Conclusion and Q&A
related talks
26mAI Agents: How Do They Work and How to Build Them
17mHow to Make Useful AI Agents
24mLightning Talk: Building the AIverse: Standardizing Autonomous AI Agents for a Decent...
40mAgents in Action: Advancing Open Source AI Missions
01h 30mCreating Intuitive AI Agents for PowerShell..
47mAI Shell
01h 23mBuild your own AI Agent
30mAI Agents Unchained
