sanbuphy/nanoAgent
A minimal AI agent (~100 lines of Python) that uses OpenAI function calling to execute bash commands, read files, and write files.

Velocity · 7d
+6.5
★ / day
Trend
→steady
star history
This repository provides a simple, educational implementation of an AI agent using OpenAI’s function calling feature. The agent operates in a loop where it receives a task, decides which tools to use among bash commands, file reading, and file writing, executes them, and repeats until the task completes. It demonstrates core agent concepts including tool use, iterative execution, and decision-making based on LLM responses.