LangSmith Engine v2 Brings Red Teaming and Automated Testing to AI Agents
LangChain's release signals a shift in agentic AI — from impressive demos to governed production systems — and Malaysian teams deploying agents should take note.

LangChain has released Engine v2 of LangSmith, adding two capabilities aimed at the weakest link in agentic AI: quality control. The first is Red Teaming, which proactively attacks your own AI agents to find failures before customers or bad actors do. The second is automated agent testing, which runs repeatable checks so every change to an agent can be validated before release. The release reflects where the AI industry is heading — agent development is adopting the same testing discipline that mainstream software adopted two decades ago. For Malaysian businesses building or buying AI agents, the practical message is simple: "we tested it" is becoming a baseline expectation, not a bonus.
AI Summary
LangChain has released Engine v2 of LangSmith, adding two capabilities aimed at the weakest link in agentic AI: quality control. The first is Red Teaming, which proactively attacks your own AI agents to find failures before customers or bad actors do. The second is automated agent testing, which runs repeatable checks so every change to an agent can be validated before release. The release reflects where the AI industry is heading — agent development is adopting the same testing discipline that mainstream software adopted two decades ago. For Malaysian businesses building or buying AI agents, the practical message is simple: "we tested it" is becoming a baseline expectation, not a bonus.
Key Takeaways
- LangSmith Engine v2 adds Red Teaming to proactively detect agent issues, plus automated agent testing — the two capabilities most agent projects currently lack entirely.
- Agents don't just talk; they take actions. A flawed agent can send the wrong email, quote the wrong price, or expose data — so untested agents are operational risk, not cosmetic risk.
- The release confirms a trend: agentic AI tooling is consolidating around build-observe-test-attack workflows, the same arc software engineering followed with CI/CD pipelines.
- LangChain is one of the most widely used frameworks among developers building LLM applications, including teams in Malaysia's Klang Valley and Penang tech corridors — meaning local projects can adopt these practices quickly.
- Even if you never use LangSmith, copy the discipline: maintain an adversarial test set of tricky, hostile, and edge-case inputs for every customer-facing AI system you run.
What Happened
LangChain, the company behind the popular open-source LangChain framework for building LLM applications, has announced Engine v2 of LangSmith — its platform for developing, observing, and operating AI agents. According to the announcement, the release centres on two additions: Red Teaming, which proactively detects agent issues before they reach production, and automated agent testing for agents throughout the development lifecycle.
Red teaming is a practice borrowed from cybersecurity. The idea: before an outsider attacks your system, you hire (or simulate) an attacker yourself. Applied to AI agents, this means deliberately probing an agent with hostile or tricky inputs — attempts to make it ignore its instructions, reveal information it should keep private, hallucinate facts, or misuse the tools connected to it. The goal is to find these failures in a controlled setting rather than discovering them through a customer complaint or, worse, a data incident.
Automated agent testing applies a familiar software concept to an unfamiliar problem. Traditional software is deterministic — the same input gives the same output, so you write unit tests once and trust them. LLM-based agents are probabilistic — outputs vary, and behaviour depends on context, retrieved documents, and tool results. Automated agent testing means codifying a suite of checks (does the agent refuse properly? does it stay on topic? does it call the right tool?) and running that suite every time the agent changes, so regressions get caught before deployment rather than after.
Why It Matters
This release matters because of what it says about the stage agentic AI has reached. Two years ago, the hard part was getting an agent to work at all. Now the hard part is knowing whether it will keep working — after a model upgrade, a prompt tweak, a new tool, or a creatively worded user request. When a major tooling vendor ships red teaming and automated testing as headline features, it is telling you where its customers' pain is: production reliability, not prototype capability. That is a useful signal for anyone planning AI budgets.
Consider the failure economics. A chatbot that gives a wrong answer is embarrassing. An agent that gives a wrong answer and then acts on it — issuing a refund, updating a CRM record, sending an email to a customer — creates real financial and reputational damage. Agentic systems chain steps together, so a single early mistake compounds: the agent misreads a request, retrieves the wrong document, and confidently executes the wrong transaction. Testing is the only economical way to catch these chains before they cost money.
There is also a governance dimension. As AI adoption spreads through banking, government services, and large enterprises, the question in procurement and audit rooms is shifting from "what can it do?" to "how do you know it behaves?" Automated test results and red team findings are exactly the kind of evidence that answers that question. Tooling that generates this evidence by default will make tested agents easier to sell, deploy, and defend in front of risk committees.
What This Means for Malaysia
Malaysian developers already build heavily on open-source LLM tooling, and LangChain is a common starting point for teams in the Klang Valley, Penang, and the growing local AI startup scene. That means the barrier to adopting these practices is low. A local fintech or e-commerce team running agents on LangSmith can fold red teaming and regression testing into their existing workflow rather than assembling a bespoke quality stack. For AI vendors selling into Malaysian enterprises, that is a capability upgrade available this quarter.
For buyers, the bar is rising. If you are a bank, GLC, or government-linked agency procuring an AI agent from a local vendor, "red teaming" and "automated testing" should now appear in your evaluation checklist and contracts. Malaysia's regulatory direction — from PDPA enforcement on personal data to growing scrutiny of AI in regulated sectors — means untested autonomous systems will increasingly be a compliance exposure, not just a technical one. An agent that leaks a customer's personal data in a response because nobody probed it adversarially is both a service failure and a data protection incident.
There is also a talent signal. "AI QA" — people who can design adversarial test suites, interpret evaluation results, and gate deployments — is emerging as a distinct role. Malaysian firms upskilling staff for AI automation should note that testing skills may be more durable and more employable than prompt-writing skills, because testing is where production trust is earned.
How Your Business Can Use This
If your team already uses LangSmith, evaluate the Engine
Sources & References
AIBlog summarises and analyses published information. We do not reproduce full source text. Analysis is editorial and not financial or legal advice.


