← Changelog

Red Team Your Agent Against the OWASP Top 10, and See Every Agent in One Trace

You can now red team an agent from the platform with OWASP attack packs, and follow one request through every agent it reaches, across A2A calls and across projects. Enterprise organizations also get a kill switch that stops an agent on the platform it runs on.

LangWatch Team · · 3.26.0

What You Can Do Now

Red team templates in Agent Testing

In Agent Testing, press + on the test suite rail and pick From template. The Red team tab has four attack packs: the OWASP Top 10 for LLM Applications 2025 (LLM01 to LLM10), the OWASP Top 10 for Agentic Applications (ASI01 to ASI10), PII and sensitive data (8 attacks) and prompt injection (6 attacks).

The New suite from a template dialog on its Red team tab, with the two OWASP packs, the PII and sensitive data pack and the prompt injection pack

Give the template your agent's name, the tools it can call and what it must never do, and LangWatch creates a test suite with one attack scenario per risk, written for your agent. Each scenario runs a multi-turn attacker against your agent, for up to 30 turns by default.

A finished run shows Held or Broke for each attack, the turn your agent broke on, and a score for every turn from 0 (a full refusal) to 10 (the attacker got what it wanted), so the turn where the score climbs is where to look for the fix.

A run of the LLM07 System Prompt Leakage attack: the agent broke on turn 5 of 6, with the attack goal, the score for each turn and the failed criteria

The Archetypes tab now has 13 everyday behaviour suites, such as retail support, IT helpdesk, KYC onboarding, claims intake and agentic RAG, with 4 or 5 scenarios each. The REST API lists and applies templates too. See Red Team Templates.

See which agent called which, in one trace

When a trace has calls between agents, the trace drawer shows a new Agents tab. Each agent is a node with its span count and the cost of its own LLM calls, and each line between two agents shows how many calls went between them, how many failed, and their average and maximum latency.

The Agents tab of a trace: the caller and ACME Support Agent, joined by one A2A call that took 1.1 seconds

Calls over the Agent2Agent (A2A) protocol get an A2A label, failing calls are listed first, and an agent with failed calls gets a red border. Click a call to open it in the span details.

LangWatch names agents from gen_ai.agent.name and finds A2A calls from their a2a.* attributes. Both sides end up in one trace when the caller sends the W3C traceparent header with its request and the agent it calls continues that trace. See Multi-agent traces across A2A.

Test any A2A agent from its Agent Card

Scenario can now test any A2A v1.0 agent from its Agent Card URL, with scenario.A2AAgent(card_url=...) in Python 1.7.0 and new A2AAgent({ cardUrl }) in TypeScript 1.8.0. Scenario sends each turn as an A2A SendMessage, keeps one A2A conversation per scenario thread, and sends the bearer token or headers you pass it.

Each call sends the scenario's traceparent, so when the remote agent exports its spans to LangWatch, they show up in the scenario run's trace and in its Agents tab. See A2A agents.

See other projects' spans in your traces with Braids

When your agents call agents in other projects, each project records only its own half of the trace. A braid shows another project's matching spans inside your traces, under the spans that made the calls. Nothing is copied: the spans stay in the project that recorded them, under its own privacy settings, and an admin of either project can remove a braid at any time.

Braids is an Enterprise feature, and it is now available to every Enterprise organization. An organization admin turns it on under Settings > Braids, then a project admin creates a braid from the project's Braids page and picks which of its spans the other project sees. See Braids.

Stop a misbehaving agent where it runs

On the Enterprise plan, the governance Agents page has a kill switch. Give an agent a stop plan, and Stop shuts down its Databricks model serving endpoint, sets its Amazon Bedrock agent alias to reject calls, and disables the LangWatch AI Gateway virtual keys it uses. Restore undoes only the changes the stop made.

The Stop support-bot dialog, listing the three targets it stops (a Databricks serving endpoint, a Bedrock agent alias and a virtual key) and a reason for the audit log

A person with governance:manage stops an agent at once. A stop asked for by an API key waits for a person to approve it, unless it is sent with severity: "critical", and the key that asked cannot approve it. Every step is in the audit log and goes to your webhooks as a governance.agent.* event.

The LangWatch AI Gateway also refuses a disabled or revoked key from its cache right away now. Before, a key that was being checked at the moment you revoked it could keep working for up to 6 hours if the gateway then lost its connection to LangWatch. See Agent kill switch.

Send AI activity to your SIEM as OCSF 1.9

On the Enterprise plan, your security team can pull three OCSF 1.9.0 streams with an organization API key: governance events, project traces (one event per trace) and the audit log, each with a cursor to poll from. Or subscribe a webhook endpoint to ocsf.event and LangWatch pushes each event to it, signed and retried.

Events include the model, the agent, token counts and cost, and never the prompt or response text. You can also send OCSF events from your other tools into LangWatch with POST /api/governance/ocsf/ingest. See OCSF, SIEM export.

A scenario judge that reads long traces

The judge that decides whether a scenario passed now recomputes numbers and dates from the evidence before it grades, pages through long spans instead of stopping at its 16,000 character limit, and asks the model again once when a verdict leaves a criterion unanswered.

On 133 hand-labelled cases, the judge used to agree with the human label on long traces about half the time, no better than a coin flip. It now agrees on 89 to 100 percent of them, depending on the model.

Scenario runs on the platform have the new judge now, and scenarios in code get it with Scenario Python 1.7.0 and TypeScript 1.8.0. Scenarios and run plans also get Advanced judge settings, for how long the judge waits for your agent's traces to arrive before it grades.

Langy follows up when CI finishes

When CI finishes on a pull request Langy opened, Langy now picks the conversation back up and follows up on the result, up to three times in a row before a person writes again. This needs Langy's GitHub App to be allowed to read your checks.

When you ask Langy to improve an agent, it now measures a baseline first, measures each candidate the same way, and opens a pull request only for a change that measured better.

Coding agents

The Me area is now called Coding agents, at /coding-agents, and old /me links redirect there.

If you start Claude Code from your own platform or a CI job, you can name its sessions by adding langwatch.session.name to OTEL_RESOURCE_ATTRIBUTES, so they stop showing as "Untitled session" or the first line of a scripted prompt. Add langwatch.session.id too and every run of a long-lived agent goes into one session, with one row on the Sessions page and one replay. See Headless and CI.

Replays of Claude Code sessions in Code Mode now show what each script did, and opening a session no longer ends on "Trace not found".

Smaller changes

  • Settings opened from inside a project you can edit now opens that project's settings, and the project page shows the project slug under the Project ID, with a note that only the ID authenticates.
  • Add ?langy=open&langyPrompt=<your question> to any project page link to open Langy with the question typed in. Nothing is sent until you press send.
  • LangWatch AI Gateway day, week and month budgets now reset at midnight in the budget's own timezone. Before, every budget reset at 00:00 UTC.
  • A Custom PII rule with card numbers turned off no longer masks card numbers.
  • Instant Evals stop at a LangWatch AI Gateway budget set to block, and a run on your own decision model fails right away with a clear message when your provider refuses the key.
  • Signing up with a work email whose domain already has many organizations now shows the largest one as the main choice, the next three below it, the rest under Show all, and Create a new organization always in view.
  • When a card payment fails, organization admins see a banner and get emails from day 3. After 21 days unpaid the organization moves to the Free plan, and paying restores it.
  • Dashboard widgets created through the API or by an agent are now 5 rows tall, instead of 3 rows that squashed the graph.

Notes

  • LangWatch 3.25.0 (18 November) and 3.26.0 (22 November) are out for self-hosted installs. Red team templates, the Agents tab and OCSF export first shipped in 3.24.0 and Braids in 3.25.0, and 3.26.0 has every platform change in this entry. Braids on a self-hosted install needs an Enterprise licence.
  • Self-hosted installs whose object storage browsers cannot reach, such as a MinIO at a cluster address, can set STORED_OBJECTS_UPLOADS=through-langwatch (Helm app.dataplane.uploads) so dataset and SDK uploads go through LangWatch. Direct upload stays the default.
  • The LangWatch AI Gateway has a new opt-in setting, LW_GATEWAY_AUTH_CACHE_FAIL_CLOSED_AFTER_SECONDS: once set, the gateway refuses a cached key when it has not heard from LangWatch about that key's organization for that many seconds. It is off by default.
  • Scenario Python 1.7.1 and TypeScript 1.8.1 fix the judge's trace search on long lines with more than five matches.