What problem does it solve?
Running LangWatch scenario test suites against a real agent requires wiring the platform to the agent's actual process, and doing it wrong means testing a reimplementation instead of production code. This Skill adds a small connect function beside the service startup that registers the agent with LangWatch over an outbound SDK connection, so simulations exercise the real code, dependencies, and traces.
Core Features & Use Cases
- SDK-based agent registration: Adds a
connect_agent decorator (Python) or connectAgent function (TypeScript) on the existing startup path that opens an outbound connection and registers the agent with its environment and run parameters.
- Run parameter declaration: Exposes typed parameters (Literal/Enum in Python, zod schemas in TypeScript) that appear in the platform's run dialog for comparison runs across models or configurations.
- HTTP fallback registration: Registers agents over HTTP with body templates, bearer-token secrets, and traceparent middleware when the SDK cannot be imported.
- Use Case: A team wants to regression-test their support agent before each release. The Skill wires the agent into LangWatch, confirms it reads Online, and runs a smoke test suite against the live process with judge-verified traces.
Quick Start
Ask the assistant to connect my agent to LangWatch simulations and run the first test suite against it.