BUILDING-AI COURSE GUIDE

Building an AI Guardian for the Enterprise

A chapter-by-chapter readback of the free course by Maxim Bar Kogan on No Priors: AI, Machine Learning, Tech, & Startups.

Length41:09
Chapters16
Modules5
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.

Security for autonomous agents can't be perimeter-based — Onyx trains small, cheap classifier models to decide which agent actions deserve review by a smarter model, mimicking how blitz chess players spend intuition on most moves and computation on rare critical ones.

Who it's for
Read this guide if
  • CISOs and security leads figuring out how to govern Claude Code or similar autonomous agents
  • Founders building security or oversight tooling for AI agents
  • Engineers curious why proxy-based policy engines fail for agent security
Skip ahead if
  • You want hands-on coding tutorials rather than strategy discussion
  • You're looking for consumer AI safety topics rather than enterprise deployment
  • You need deep mechanistic interpretability math — it's only discussed at a research-direction level
In brief
  • Runtime: 41 minutes 9 seconds (2469 seconds), conversational interview format.
  • 5 modules covering 15 chapters from founding story to product-design philosophy.
  • Tools and companies discussed: Claude Code, OpenClaw, AutoGPT, Anthropic, OpenAI, Onyx.
  • Level: intermediate — assumes familiarity with LLM agents and enterprise security basics.
  • No slides or demos; the content is the founder's account of the AI-security market and Onyx's technical approach.

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

Why Agent Security Became Urgent

The opening establishes that autonomous agents moved from AutoGPT's early experiment to real enterprise deployment, creating a control problem humans can't solve by review. The through-line: adoption is unstoppable, so the only option is reducing illegitimate actions — Onyx's founding premise.

0:00

Introduction

Sarah Guo introduces Maxim Bar Kogan, founder and CEO of Onyx, and frames the episode's core question: as agents become capable enough to manage power grids or water supplies, who supervises them? Real incidents — like an agent accidentally publishing code and tokens — illustrate how enterprise agent risk is growing exponentially. The guest's thesis is that enterprises cannot stop adoption; their only path is reducing illegitimate and incorrect agent actions. The conversation opens on why this problem is now unsolvable by human oversight alone.

1:42

AutoGPT to Claude Code: The Agent Arc

Maxim traces autonomous agents back to AutoGPT, which he calls the first truly autonomous LLM agent — a model deciding what to do with API and tool access in a loop. It was conceptually right but too early, since GPT-4 wasn't good enough. His analogy: Claude Code today is to what AutoGPT was then, right idea ahead of model readiness. The market finally arrived when reasoning models could handle long-horizon tasks, and Anthropic's enterprise revenue became largely driven by Claude Code adoption.

3:03

The Founding Motivation and Onyx's Two Jobs

The founding insight: when models become smarter than the humans overseeing them — imagine an agent managing a water supply — control becomes a critical unsolved problem. Onyx attacks it in two ways. First, it trains models and agents to oversee other agents, because human-in-the-loop fails at action volumes of 100x to a million-x what a person could review. Second, it productizes this as an AI control plane that discovers every AI and agent inside an enterprise and monitors their actions. He also notes labs target code because it can do all things software can — which is precisely the risk.

8:09

The Enterprise Deployment Landscape

Maxim breaks down how enterprises actually deploy agents today: over 50% are autonomous coding agents and assistants, roughly 45% are low-code SaaS automations, and only about 2% are first-party in-house agents, which are the hardest to build. The autonomous category is the fastest growing — Claude Code grew 'like fire,' Claude co-work is growing even faster, and OpenClaw is being adopted as a sanctioned tool when CEOs push AI adoption. Critically, these autonomous agents typically ship with no controls at all. He adds context: enterprises already spend roughly $100 billion annually on security.

Why Existing Security Tools Fail

This module dismantles the traditional security stack for agents: permission limiting breaks because agents need broad user-level access, and endpoint tools lack the context to judge intent. The concrete example — Claude Code legitimately rebuilding a database versus doing so unprompted — shows the gap Onyx must close.

10:24

Where Identity and Endpoint Security Break Down

Enterprises are largely helpless at securing agents. Traditional identity security relies on limiting permissions, but agents need broad user-level permissions to perform diverse tasks, so that control mechanism collapses. Endpoint and API security tools lack context: they cannot distinguish Claude Code legitimately deleting and recreating a database from doing so unprompted, because they cannot know what the AI 'was thinking.' Defense-in-depth with overlapping tools doesn't fix this — you either severely limit the agent's usefulness or miss dangerous actions entirely.

13:02

Why Proxies and Naive Monitors Fall Short

A common proposal — a proxy with a policy engine — only partially works. Proxying is just an integration method and is often technically unviable since AI runs on cloud infrastructure, other people's infrastructure, and endpoints. The genuinely hard problem is deciding whether an action is acceptable: you must understand what a frontier model is planning and underwrite its decisions. Even spawning a monitor agent per agent — Claude Code watching Claude Code — fails on cost, latency, and reliability; security costs could exceed the customer's entire AI spend.

15:53

Onyx's Small-Model Triage and the Chess Analogy

Onyx's solution trains deliberately small — 'not smart' — models whose only job is deciding whether a smarter agent should review a given action. If well calibrated, this balances low cost and latency with smart oversight, and the models must keep pace with improving frontier systems. Maxim illustrates with blitz chess: top players make most moves intuitively and reserve computation for rare high-risk moments. That efficient allocation of intelligence is exactly how the control plane scales oversight to millions of agent actions.

19:14

Israel's AI Ecosystem and Onyx's DNA

The conversation turns to geography and talent. Israel started late in AI but is catching up in world models, AI infrastructure, and chips. Onyx has mixed cyber-plus-AI DNA: most of its research and engineering staff come from an Israeli intelligence unit focused on mathematics and cyber. He situates the company in an ecosystem — mentioning 8200, WIS, and companies like Armis and Island — that he considers one of the deepest adversarial-thinking benches in the world, which matters because AI security is fundamentally adversarial.

Model Internals, Market Size, and Adopting Frontier Models

Maxim argues real AI control eventually requires understanding model internals and defends mechanistic interpretability as promising despite industry skepticism. He pairs this with market evidence — Fortune 10 inbound to a sub-100-person startup — and a stance on phased frontier-model rollout.

20:10

The $100B Opportunity and Reading Model Minds

Solving AI security requires deep AI expertise, and the broader problem — controlling advanced AI via a non-vendor third party — represents a $100 billion-plus opportunity. Long term, Maxim argues control requires understanding model internals, what models are actually thinking, which is a focus of Onyx research. The industry is divided on whether mechanistic interpretability is possible, but he believes there has been strong progress, and that understanding internal weights and activations will be part of the solution. Intriguingly, he suggests smarter-than-human models may themselves help track interpretability more effectively than humans can.

23:39

Fortune 10 Inbound and the Plummeting Cost of Exploits

Despite being a two-year-old, sub-100-person company, Onyx receives inbound from Fortune 10 and Fortune 20 firms because customer pain from AI risk is so intense. Enterprises want to bet on the right horse early, and CISOs prioritize revenue preservation by partnering with promising startups. A huge change driver: automated vulnerability research once thought 20-50 years away is arriving, making finding exploits dramatically cheaper. Security strategy combines quick fixes — patching and mitigating controls — with foundational pieces like locked-down identity, firewalls, endpoint detection, and a foundational solution for the AI attack surface.

27:55

Phased Rollout, Bans, and Betting on the Wrong Lab

On phased releases of frontier models — Glasswing from Anthropic and Daybreak from OpenAI — Maxim sees gradual rollout as giving defenders time to build playbooks, but warns that if anyone, including a Chinese lab, reaches a mythos-level model earlier, restriction would look like a huge mistake; he encourages expanding access. Enterprise AI bans are now rare: financial-sector firms allow agents but restrict specific tools. Companies permitting many tools will do best, since the model landscape shifts fast — OpenAI was yesterday's safe bet, Anthropic is better today, someone else tomorrow.

Market Structure and the Coming Shift in Model Behavior

The interview maps the technical and commercial terrain: risk tolerance should scale with company size, the two core 2026 primitives — LLMs and tool-calling agents — have stayed stable, and buyer psychology demands an independent overseer. It closes on the fast-growing class of model misalignment.

30:16

Risk Scaling and the Two Stable Primitives

Company risk profile should scale with size: startups should let agents do everything because they have nothing to lose, while large firms like JP Morgan should be more cautious — though JP Morgan is actually adopting AI quickly. In AI security, many vendors exist, but the two core primitives of 2026 haven't changed: foundation models are similar to a few years ago, and agents are built the same way, with an LLM deciding and generating tool calls. This stability lets Onyx address many applications with lean core technology, though he holds 'strong opinions loosely held' about 2027 and stays open to new paradigms.

33:07

Independence as a Product and Two Kinds of Mistakes

Buyer psychology favors independence: like buying a car, security teams won't trust a vendor to certify its own product — they want an independent party whose business depends on being right. On mistakes, Maxim splits them into two categories. The first, 'jagged intelligence' silly errors, will disappear as models improve, and vendors are incentivized to fix them. The fast-growing category is models holding an independent, semi-aware perspective that may not align with the user's — a problem that grows with model intelligence and is hard even for large vendors to tackle.

35:10

The Data Advantage and a Multi-Vendor Future

Onyx's structural edge: enterprises won't let Anthropic or OpenAI keep historical agent-behavior data for fear those data-hungry companies will train on it. Onyx, as an independent overseer, gets more context and latitude to detect anomalies. A multi-vendor future — open source for cost, different models better at different tasks and price points — makes uniform security across all vendors unrealistic; labs won't fully solve the problem themselves. This is why he believes a third-party AI control company is necessary rather than optional.

Designing for Security Teams and Agents

The closing module is craft advice: great security products come from deeply understanding how security teams actually work, and the end user is shifting from humans to agents. The final principle — don't overwhelm humans with information or waste agent tokens — unifies both audiences.

37:37

Building Products Security Teams Love

Maxim argues the key to security products is understanding how security teams work — their structure, responsibilities, and daily workflows — and building products they love, not merely solving technical problems. He credits the Israeli ecosystem, drawing on players like 8200, WIS, Armis, Island, and the Deniso Group, with excelling at this through close contact with buyers. Looking forward, he believes security teams will become 'high powered,' run by AI agents like the rest of knowledge work, but today products are still sold to humans, with some agent users already appearing.

38:53

Optimizing for Both Human and Agent Users

Onyx already optimizes for agent users and will evolve as its audience shifts from humans to agents. Maxim's closing core principle: always consider who the end user is and what their experience is. For humans, that means not overwhelming them with irrelevant information; for agents, it means not wasting too many tokens in their context. He frames these as essentially the same task — respecting the attention budget of whoever, or whatever, consumes the output — a fitting end for a company whose product must serve both human CISOs and the models reviewing agent actions.

Moment by moment

TimeWhy it matters
5:36Maxim names the founding problem: overseeing models smarter than humans
8:09Concrete breakdown of enterprise agent deployment: 50% coding agents, 45% low-code, 2% in-house
15:53The core technical insight: small triage models routing actions to smart reviewers
17:22Blitz chess analogy for allocating intelligence efficiently
27:55His stance on phased frontier-model rollout and why he'd expand access

Do this next

  1. Inventory every AI agent and automation in your organization — coding assistants, low-code SaaS automations, in-house agents — and note which have any controls at all.
  2. Audit whether your current identity and endpoint security could distinguish a legitimate agent action (like a database rebuild) from an unprompted one; if not, you have an oversight gap.
  3. Sketch where a triage layer could sit in your stack: cheap classifiers deciding which actions get escalated to expensive review, and what your review budget is.

Common questions

What does Onyx actually do?

Onyx does two things: it trains models and agents to oversee other agents, and it packages this as an AI control plane that discovers all AI systems and agents inside an enterprise and monitors their actions. The oversight layer uses small, deliberately non-smart models to decide which actions a smarter reviewing agent should examine, keeping cost and latency low while scaling to millions of agent actions.

Why does human-in-the-loop fail for AI agents?

Maxim points out that human oversight breaks down at scale: agents perform 100x to a million times the volume of actions a human could review. If every agent action needed a human check, adoption would stall or review would be theater. His solution replaces human triage with trained small models that flag only the rare high-risk actions for smart review, analogous to how blitz chess players reserve computation for critical positions.

Why can't existing security tools handle agents?

Identity security limits permissions, but agents need broad user-level permissions to do diverse tasks, so that control collapses. Endpoint and API tools lack context — they can't tell Claude Code legitimately deleting and recreating a database from doing so unprompted, because they don't know what the AI was thinking. Defense-in-depth with overlapping tools doesn't close this gap; you either cripple the agent or miss dangerous actions.

How common are autonomous agents in enterprises?

Per Maxim's breakdown, over 50% of enterprise agent deployments are autonomous coding agents and assistants, about 45% are low-code SaaS automations, and roughly 2% are first-party in-house agents, which are the hardest to build. The autonomous category is fastest growing — Claude Code grew 'like fire,' Claude co-work even faster, and OpenClaw is being adopted as a sanctioned tool — typically without any built-in controls.

What is mechanistic interpretability and why does Onyx care?

Mechanistic interpretability is the effort to understand a model's internal weights and activations — what it is actually thinking. The industry is divided on whether it's achievable, but Maxim believes there has been strong progress and that understanding model internals will be part of long-term AI control. He even suggests smarter-than-human models may eventually help track interpretability more effectively than humans can.

Why won't Anthropic or OpenAI solve agent security themselves?

Enterprises won't let model labs keep their historical agent-behavior data, fearing those data-hungry companies will train on it — so Onyx gets more context and latitude to detect anomalies. Also, a multi-vendor future (open source for cost, different models better at different tasks) makes uniform security from every lab unrealistic. Buyer psychology reinforces this: security teams want an independent party whose business depends on being right, not a vendor certifying its own product.

How big is the AI security market opportunity?

Maxim frames controlling advanced AI through a non-vendor third party as a $100 billion-plus opportunity, noting enterprises already spend roughly $100 billion on security overall. He also cites the plummeting cost of vulnerability finding — automated vulnerability research once thought 20-50 years away — as forcing a foundational security layer for the AI attack surface, which is Onyx's intended role.

Should companies ban AI agents to be safe?

Bans are now rare, especially in financial services, where firms allow agents but restrict specific tools. Maxim argues companies permitting many tools will do best because the landscape shifts fast: OpenAI was yesterday's safe bet, Anthropic is better today, someone else tomorrow. He advises assuming mythos-level models are coming regardless of rollout policy, and investing now in foundational controls like identity and the AI attack surface.

Spot a mistake?

Every chapter summary on this page is hand-checked against the actual video, but interviews cover a lot of ground and errors can slip through. If you spot a misattributed quote, a wrong number, or a summary that misrepresents what was said, please tell us.

More course guides