GitHub - abtinf/homunctor

1 min read Original article ↗

Homunctor - The Simplest Agent

A minimal LLM agent. A single 72 line HTML file.

It is remarkably powerful. It can become anything you want.

Walkthrough video: Small Agents Are Remarkably Powerful

How to use it

  • Download index.html, double click it, open the dev console, and talk to it with chat("hi").
  • chat assumes you are using a tool-capable model.
  • Modify the file to point to your llm host (line 38), set your API key (line 40), and model (line 41).

Why

  • To obliterate the pervasive and irritating mystery surrounding agents, especially coding harnesses.
  • Browsers are the most advanced sandbox technology, blocking the agent from everything by default.
  • This makes the browser a safe playground, where it's okay to give the agent a tool that can do anything, eval.