
Nielsen Norman Group · 6 min readAI & machine learning
Agent Harness: Definition
An agent harness is the software layer that orchestrates the execution loop between an LLM and its tools, handling permissions, context, and limits. Understanding its role lets UX and engineering teams design AI products that behave predictably, respect user preferences, and deliver smooth experiences.
- Harness controls tool access, permissions, and user approvals for AI actions
- It supplies context like preferences and prior messages to guide model decisions
- Limits on steps, cost, and time prevent runaway loops and improve UX