Brex assumes its AI agents could do anything — so it watches the network, not the code
Summary
<p>Brex CEO Pedro Franceschi offered a blueprint for one of the pressing challenges facing the enterprise today at <a href="https://venturebeat.com/vbtransform2026">VB Transform 2026</a>: securely deploying AI agents, like the open-source OpenClaw, into production environments.</p><p>Unlocking this enterprise value requires a mindset shift. The industry needs to move past vague terminology and focus on concrete enterprise roles. </p><p>“People talk a lot about agents, but I think 'agents' is a terrible name. It's this Silicon Valley concept that doesn't really mean much,” Franceschi said. </p><p>Instead, the goal should be creating entities that can genuinely collaborate with human workers. "The concept we always had in mind was the idea of a virtual employee — someone on Slack, an entity, it has an email address, it can join meetings, you can email it, and that you can work with," Franceschi said.</p><p>Realizing this vision demands a new security paradigm. Franceschi’s presentation detailed how Brex pointed OpenClaw at internal roles, realized traditional security models failed, and built a novel network-level security layer called CrabTrap.</p><div></div><h2>The OpenClaw security dilemma</h2><p>The journey began following a breakthrough in December, when coding models reached a level of maturity that enabled the January release of <a href="https://venturebeat.com/security/openclaw-agentic-ai-security-risk-ciso-guide">OpenClaw</a>. This marked the moment agents could finally self-bootstrap and maintain their own codebases instead of relying on hard-coded, static tools. </p><p>However, when Franceschi proposed deploying this to automate internal functions, the Brex security team firmly rejected the idea. <!-- -->“They said, 'Hell no. How could we trust an agent doing these things? This thing has code execution capabilities. There's no way to control it,'” Franceschi said. <!-- -->That caution isn't unique to Brex — enterprises broadly have been <a href="https://venturebeat.com/security/openclaw-can-bypass-your-edr-dlp-and-iam-without-triggering-a-single-alert">wary of granting agents uncontrolled code execution</a> on corporate networks.</p><p>To solve this, Brex had to shift the security perimeter. Franceschi contrasted this with approaches like <a href="https://venturebeat.com/technology/nvidia-lets-its-claws-out-nemoclaw-brings-security-scale-to-the-agent">Nvidia's NemoClaw</a>, which he said secure agents by limiting their tool usage — a model he believes neutralizes the coding capabilities that give agents their value.</p><p>“… the premise we had was that the coding capabilities were critical to the model having the ability to do a variety of tasks,” he said. </p><p>Brex's fix was to shift the security boundary to the network layer instead. Instead of policing the ever-changing code inside the container, the focus must shift to monitoring what the code actually attempts to send or receive from the outside world.</p><h2>CrabTrap and the LLM-as-a-judge solution</h2><p>This network-centric approach led to the creation of <a href="https://venturebeat.com/orchestration/brex-built-its-ai-agent-policy-by-watching-what-agents-actually-do-not-by-writing-rules-first">CrabTrap</a>, an open-source HTTP proxy built by Brex. The mechanism operates on the assumption that OpenClaw can do anything and might already be compromised. Therefore, CrabTrap monitors all outbound network traffic between the container and the internet, using an LLM to judge whether that traffic aligns with the agent's approved policy.</p><p>“Instead of trying to control the code running in the container, assume the thing can do anything and monitor the network traffic between that container and the internet,” Franceschi said. </p><p>Using a large language model (LLM) to judge every single network request introduces unacceptable latency, often adding thousands of milliseconds to response times. Brex solved this by passing traffic through a bifurcated system. </p><p>Routine, low-risk actions pass through static, pre-approved rules instantly. If a recruiting agent tries to view a LinkedIn profile, the static rule allows it. However, high-risk actions such as sending emails are flagged and routed to the LLM judge for evaluation. Franceschi said that architecture ensures only about 2% of complex requests actually face LLM latency. </p><p>A surprising finding from the project was how effectively the LLM judge performs this role. Franceschi attributed this to the models' training: LLMs are exposed to billions of web pages and HTTP requests, giving them what he described as an inherent semantic understanding of network traffic patterns.</p><p>“[Models] are very good at discerning what is within the policy and what is not,” Franceschi said, adding that this capability emerges naturally through pre-training without needing heavy prompting.</p><p>Brex put this infrastructure to the test with “Jim,” a virtual recruiter built on OpenClaw. Jim handles various tasks, including sourcing candidates, scoring inbound applicants, and sending emails. </p><p>When Jim attempts an action that falls outside the established policy, CrabTrap relies on a human-in-the-loop workflow. If the LLM judge flags an unapproved outbound email, CrabTrap pings a human manager on Slack. </p><p>The Slack notification explains the agent's underlying intent and suggests a policy change that would allow the action. The human manager can then review the context and click "yes" or "no" to update the rules dynamically. </p><p>"I like the virtual employee analogy because a lot of these things were solved already in a company, in the context of humans," Franceschi said. "When an employee hits a wall, they escalate to their manager."</p><h2>The cost of the frontier</h2><p>Brex is a fintech company, not a cybersecurity vendor. The decision to build CrabTrap in-house was driven by a lack of mature commercial solutions that could satisfy their security team. </p><p>Franceschi acknowledged the inherent cost of operating at the bleeding edge, admitting that commercial vendor solutions will likely catch up. </p><p>“When we built this, it was clear to me there was a 70% chance we would throw it away in six months... But what we learned by being six months ahead was worth it in shaping our AI adoption strategy,” he said. </p><p>The investment in building internal tools provided Brex with the experience needed to safely deploy agents months ahead of the broader market. For enterprise leaders navigating the AI landscape, the core takeaway is the necessity of building the cultural and technical muscle to operate in an agentic world today. </p><p>“We don't have all the answers, but the answer is not to do nothing,” Franceschi said.</p>