lizTheDeveloper

Minimal Agent 10 23 26 — AI skill for Claude Code

AI community

This is about the simplest agent there is, in three small files.

How to install Minimal Agent 10 23 26

This entry records only its repository, not the path inside it, so there is no exact command to give. Open lizTheDeveloper/minimal-agent-10-23-26 and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Minimal Agent 10 23 26 does

This is about the simplest agent there is, in three small files. It reads what you type, sends it to a model, runs any tools the model asks for, and repeats until the model gives an answer.

Alternatives in AI

  • Omniget — Udemy & Hotmart course downloader, YouTube downloader (yt-dlp GUI, 1,800+ sites) + desktop app for AI agents 13.9k ★
  • Ralph For Claude Code — by Frank Bria - An autonomous AI development framework that enables Claude Code to work iteratively on project 8k ★
  • Maestro Companion — Quick execution for small tasks — minimal run lifecycle (start + done) with evidence recording 530 ★

README

Minimal Agent

This is about the simplest agent there is, in three small files. It reads what you type, sends it to a model, runs any tools the model asks for, and repeats until the model gives an answer.

Today you'll give it **memory**. The code has four places marked `MEMORY HOOK`, and those are where your work goes.

Setup

You need two things:

  1. uv, the Python tool we use to run the script. If uv --version doesn't work, install it:
    # macOS / Linux
    curl -LsSf https://astral.sh/uv/install.sh | sh
    # Windows (PowerShell)
    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  2. An OpenRouter API key. Sign in at openrouter.ai, then go to openrouter.ai/keys and create a key. It starts with sk-or-.

Get the code:

git clone https://github.com/lizTheDeveloper/minimal-agent-10-23-26.git
cd minimal-agent-10-23-26

Running it

Put your key in an environment variable, then run the agent:

# macOS / Linux
export OPENROUTER_API_KEY=sk-or-...
uv run agent.py
# Windows (PowerShell)
$env:OPENROUTER_API_KEY = "sk-or-..."
uv run agent.py

uv installs the `openai` package the first time you run it, so you don't need `pip install` or a virtual environment.

You'll see a `you>` prompt. Try these:

you> hi, my name is Sam
you> what's my name?
you> what time is it?

To quit, press Enter on an empty line or type `quit`.

Asking for the time makes the model call the `get_time` tool. If you ask what your name is, it remembers, but only until you quit. Restart the agent and ask again: it has forgotten. You'll fix that today.

Using a different model

The default model is `anthropic/claude-sonnet-5.5`. To try another one, pick any model ID from [openrouter.ai/models](https://openrouter.ai/models) and set `MODEL`:

MODEL=openai/gpt-4o-mini uv run agent.py

The model has to support tool callin