Vibeleaderboard
← All Intel
Intel / article

Harness Engineering for Self-Improvement

Source
lilianweng.github.io
Author
Lilian Weng
Date

Context

An AI agent can improve its working method by changing the software around its model. Lilian Weng's review examines this surrounding : the machinery that selects , runs tools, preserves work and evaluates results. Weng identifies it as a practical target for improvement without requiring the model to rewrite its own learned parameters.

Persistent files illustrate the mechanism. Experiment logs and error histories can outgrow the amount of text a model can consider at once. Saving them separately lets the agent retrieve relevant evidence and inspect previous failures. That can inform changes to the workflow, whose usefulness must then be evaluated.

Terms in this piece · Glossary
  • Harness — The software that sends a model its context, recognizes tool calls, runs or refuses them, returns results and keeps the record.
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
  • Record — One unit of data in a file or table, such as one supplier's quote; distinct from a line of text.
  • Harness engineering — Designing the full environment and feedback system around an agent.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Key quotes

“an AI uses its current intelligence to improve the cognitive machinery that produces its intelligence”

Read the source lilianweng.github.io
More from Lilian Weng
Recommended reads