Better Agents

Better Agents is a CLI tool and agent project harness developed by LangWatch. It acts as a standardized reliability layer for building, testing, and evaluating AI agents, serving as a framework-agnostic scaffold that works alongside libraries like Agno, Mastra, LangGraph, and the Vercel AI SDK. Day-to-day development revolves around a structured project layout containing agent runtime code (`app/` or `src/`), scenario-based conversational tests, component evaluations, and version-controlled YAML prompts. Better Agents integrates with coding assistants such as Claude Code, Cursor, and Kilocode via Model Context Protocol configurations (`.mcp.json`) and repository guidelines (`AGENTS.md`), providing the assistant with architectural context and testing standards. Unlike standalone coding agents or isolated agent SDKs, Better Agents functions as an orchestrating harness. It standardizes conversational regression testing using simulated user agents and evaluation judges, verifying multi-turn conversational flows, tool invocations, and state transitions through standard test runners like pytest and Vitest while syncing run metrics directly to the LangWatch platform. The CLI package is distributed freely via npm for local project scaffolding and execution, integrating with LangWatch's hosted and self-hosted tiers for simulation visualization and observability.

Tags: agent harness, ai agent, cli, developer tools, Generative AI

Visit Better Agents