brainax

What is an agent harness

An agent harness is all the software around an AI model that lets it act: it runs tools, returns the results, keeps memory and instructions and asks for confirmation before important steps. The model only writes text; model plus harness is an AI agent.

Example: the model writes the request "calculator: 240 / 4", the harness runs the calculator and puts 60 back into the chat, and the model answers "$60 per person". This repeats as a loop: think, call a tool, look at the result. Engineering teams at Salesforce and Databricks describe a harness in 2026 as the software that wraps around a model and lets it act on tasks.

Covered in the lessonWhat Is an AI Agent? How It Differs from a ChatbotOpen the lesson →

More terms from this course