Building Agent Harnesses, Proving the Riemann Hypothesis, GPT-6.2 Astra, Java Security Holes, Video Model Physics
The Batch News & Insights: We just launched “Agent Harness Engineering” on DeepLearning.AI, a short course that teaches the basics of building an agent harness in about an hour.
Dear friends,
We just launched “Agent Harness Engineering” on DeepLearning.AI, a short course that teaches the basics of building an agent harness in about an hour. One new feature: This comes with a Practice Build environment (shown in the image below) in which you can prompt a coding agent to build an agent harness. As you build, a separate AI guide (the green area) watches over your shoulder, gives suggestions, and cheers your progress. I hope you will check it out!
An agent harness is code that wraps around an LLM to provide context, tools and guardrails to create an application. This important design pattern started working well about a year ago, when LLMs like Opus 4.5 became powerful enough to build applications by repeatedly asking an LLM what to do next. If you have not yet built your own agent harness, this is a skill worth learning!
The running example I use in this course is building an agent harness to create an application that organizes messy folders (like a Downloads/ folder). You give the harness tools to list the files in a directory, read files, create a subdirectory, move files, etc.. Then you simply prompt the LLM and leave it to figure out how to use these tools to organize a directory. In the course, I also discuss how to add guardrails and how to build a basic memory system for the harness, and how this design pattern can be used to build a coding agent, a customer service agent, or a deep research agent.

This course also launches the Practice Build environment. Coding has shifted away from coding by hand to using coding agents. In the Practice Build environment, I invite you to build an agent harness yourself for the file organizer app, add guardrails, and add memory. You’ll have access to a coding agent, powered by gpt-6-luna, and can use it to create an agent harness on top of the open source OpenWorker Harness SDK.
Further, an “AI Andrew” avatar lives alongside the coding agent to help you through the process. If you’re stuck, you can ask AI Andrew for a hint or a suggestion, and when you complete one step of the exercise, it will give you instructions for the next step. This way, you’re not building alone — my avatar is there to help and to celebrate your progress! After you complete building the application in our environment, you’ll be more than ready to build similar software on your own computer, using your own coding agent.
The first four videos of the course (5-8min each) cover agent harnesses, what they can do, guardrails, and agent memory. I hope you’ll watch them and learn the basic concepts. After that, you can deepen your understanding of these concepts using the new Practice Build environment. I hope you enjoy it!
A MESSAGE FROM DEEPLEARNING.AI

Build an agent by wrapping an LLM with a harness. In “Agent Harness Engineering,” taught by Andrew Ng and Rohit Prsad, you’ll use a coding agent to build a file organizer, add guardrails that keep API keys away from the LLM, and give it memory of your preferences. Enroll for free
News

Astra Returns After Safety Concerns
In September, OpenAI canceled an update to its top model after safety tests showed that the model misreported its own actions. The company’s next attempt at an Astra model trails Anthropic’s Claude Fable 5.2 on most independent tests but costs far less than Fable to run.
What’s new: OpenAI introduced GPT-6.2 Astra, which it calls its frontier model, along with GPT-6.2 Sol, a less-expensive model for everyday work. GPT-6.2 Astra costs 20 percent less than GPT-6 Astra per input or output token and 60 percent less per cached input token. GPT-6.2 Sol maintains GPT-6.1 Sol’s prices.
- Input/output: Text and images in (up to 922,000 tokens), text out (up to 128,000 tokens, 49 tokens per second)
- Knowledge cutoff: May 18, 2026, for Astra; June 1, 2026, for GPT-6.2 Sol
- Features: Reasoning is always on, with five levels (low, medium, high, xhigh, and max); Ultrafast output mode; and tool use
- Performance: GPT-6.2 is second on Artificial Analysis’ Intelligence Index v5.0.1 (62), first on Vals AI’s Vals Science Index (68.44 percent); and GPT-6.2 Sol is sixth on the Intelligence Index (57)
- Availability: ChatGPT works on Plus, Pro, Business, Enterprise, and Edu plans; Codex; and the OpenAI API. Ultrafast mode with either model for Pro is $500/month for subscribers and eligible Enterprise and Edu workspaces. GPT-6.2 Sol Ultrafast for Pro is $200/month for subscribers
- Price: GPT-6.2 Astra via API, 8/0.40/$40 per million input/cached/output tokens and 50 percent off for batched requests; beyond 272,000 input tokens, input and cached input rates double and the output rate rises 50 percent; Ultrafast costs three times the standard rates through February 28, 2027 and six times thereafter; GPT-6.2 Sol via API, 2/0.10/$10 per million input/cached/output tokens
- Weights/license: Proprietary
- Undisclosed: Parameter count, architecture, training data and methods
How it works: OpenAI says it trained GPT-6.2 Astra via reinforcement learning to reason at length before it responds. Most of what OpenAI described in its training recipe concerns safeguards for a model that meets its “critical” threshold for cybersecurity capabilities and “high” thresholds for biology, chemistry, and AI self-improvement capabilities.
- A two-stage filter screens conversations for cybersecurity misuse. Classifiers flag risky content, including ones that read the model’s internal activations as it writes, and a separate model trained to reason about safety flags responses it deems high risk. Automated reviewers, and sometimes human reviewers, examine flagged activity, which can lead to warnings, additional monitoring, reduced capabilities, or bans.
- OpenAI restricts model use related to large-scale automated searches for software vulnerabilities and chaining exploits into multistep attacks. Only organizations approved for Daybreak Red, a tier that requires stronger verification and allows the model to refuse fewer requests for legitimate cybersecurity work, can use GPT-6.2 Astra for this work.
- For AI self-improvement inside its own research systems, OpenAI says it confines agents with containers, virtual machines, and network controls; monitors all of its employees’ use of Codex; provides cached web pages for reinforcement learning training instead of live internet access; and tracks workloads across its research infrastructure so it can stop them quickly. A version of the same monitoring watches customers’ use.
- To prevent distillation (training a model on another model’s outputs), OpenAI keeps the model’s reasoning private, uses classifiers to screen inputs and outputs for attempts to extract it, and can withhold streamed output that might reveal reasoning.
Performance: On Artificial Analysis’ Intelligence Index, GPT-6.2 Astra comes within 3 points of Claude Fable 5.2 at 15 percent of its cost per task. It leads Vals AI’s tests of scientific research, while Claude Fable 5.2 leads Vals AI’s tests of business work and ARC-AGI-3 when models carry forward only their own notes.
Behind the news: GPT-6.2 Astra is the first update to OpenAI’s top model since the company canceled GPT-6.1 Astra. OpenAI announced GPT-6 Astra on September 3, calling it the first model to meet the “critical” cybersecurity level of its Preparedness Framework. In late September, it canceled GPT-6.1 Astra’s planned October launch after the model performed worse than GPT-6 Astra on safety evaluations, including tests of whether the model accurately reported what it had done and stayed within limits users set. On September 29, it introduced GPT-6.1 Sol, which came close to GPT-6 Astra’s performance at a lower cost. On November 5, the company offered GPT-6 Cyber, a version of GPT-6 Astra fine-tuned to find software vulnerabilities, to Open AI-approved security organizations.
Why it matters: OpenAI and Anthropic approach models that can accelerate AI development in different ways. Anthropic trained Claude Fable 5.2 to perform at about Claude Opus 5.5’s level in optimizing chip kernels and improving language model architectures. OpenAI rated GPT-6.2 Astra as meeting its “high” threshold for AI self-improvement yet still offers it, relying on the monitoring of customers’ use and tighter controls on its own research systems. So, developers who use frontier proprietary models to optimize GPU code choose between a model rated as capable of that work but monitored by OpenAIs and one held back on it.
We’re thinking: We’d approve if model makers offered adjustable agency levels, much as they offer adjustable reasoning levels. When OpenAI canceled GPT-6.1 Astra, its head of safety systems described the difficulty of training a model to stay within scope yet persist on tough tasks. The right balance depends on the job: An agent working overnight should push through on its own, but one with access to production systems should pause and check in often.
![A line chart titled "Riemann Hypothesis" with the label "Re[s] = ½." Red and blue curves sweep across the plane and converge on black dots aligned along a dashed vertical line at Re[s] = 0.5. The x-axis is Re[s] (0 to 1.5) and the y-axis is Im[s] (roughly 15 to 50).](https://charonhub.deeplearning.ai/content/images/2026/12/RIEMANN.webp)
Mathematical Hurdle Falls to Claude
An Anthropic researcher using AI tools formally proved the Riemann Hypothesis, a major result in number theory that eluded human mathematicians for 167 years.
What’s new: On November 20, Levent Alpöge, a mathematician who is part of the technical staff at Anthropic, claimed to prove the Riemann Hypothesis using an unreleased model of Claude. Researchers working in Lean, a formal mathematical language, verified the proof as legitimate. As independent researchers continue to test the arguments that make up the proof, the mathematics community grapples with what this development could mean for the future of the discipline.
How it works: Bernhard Riemann’s original hypothesis from 1859 predicts that there is a hidden pattern to the distribution of prime numbers. Primes grow more scarce as numbers get larger, and the occurrence of them appears erratic. Alpöge claims to have proven the Generalized Riemann Hypothesis, or GRH, expanding Riemann’s initial conjecture to a broader set of numbers across arithmetic progressions.
- As John Derbyshire explained in his 2003 book Prime Obsession, the hypothesis has been the “great white whale of mathematical research” for more than a hundred years. It’s been nicknamed the “Holy Grail” of math problems. In October, leading mathematician Terence Tao speculated that it might take until 2050 for generative AI-enhanced methods to crack the puzzle.
- Alpöge’s proof is already formalized (with assistance from Claude) and passed a check by Lean and Mathlib. However, it isn’t yet in a human-readable form. In a footnote to his announcement, Alpöge said a pdf or print-out of the proof could be over 250,000 pages. In an apology a few days later, he said that the large figure was meant as a “joke.”
- A joke or not, Alpöge’s proof began as 17 million lines of code. Five days after the initial proof was published, Anthropic researcher Luke Sernau published an edited version reducing it to 300,000 lines of code on GitHub.
- Review is the slow process under which a proposed proof becomes an accepted proof. Claimed proofs for the toughest challenges in the field often fail to hold up against verification methods and peer review. In 2018, mathematician Michael Atiyah claimed to have solved the Riemann Hypothesis but his work, delivered to an already skeptical audience at the Heidelberg Laureate Forum, was rapidly invalidated by other mathematicians.
Behind the news: Alpöge waited until after Anthropic completed its IPO to make his announcement. If the breakthrough had been widely known, it could have influenced investors’ decisions to buy, sell, or hold the stock. Alternatively, if the proof had been quickly invalidated, a premature announcement could have embarrassed the company. This is not the first scientific breakthrough made with assistance by AI, and after meeting with controversy, companies have learned to be cautious about how they advertise the success of their products.
- In September, Alpöge, working with mathematician Tristan Buckmaster and using OpenAI models, produced a proof that showed the Navier-Stokes equations break down. That proof is still under review. OpenAI, having heard that mathematicians were close to a breakthrough, directed its agents to construct a similar proof. This led to a controversy where OpenAI had to attest that its models weren’t trained on Alpöge’s and Buckmaster’s data.
- Both the Riemann Hypothesis and the Navier-Stokes equations are among the seven challenges known as Millennium Prize Problems. Launched in 2000, the Clay Mathematics Institute awards a grant of $1 million to those who solve one of seven problems identified by a team of mathematics experts as among the most elusive challenges in the discipline. As of yet, only one problem, the Poincaré Conjecture, has been solved.
- On November 20, prompted by Alpöge’s announcement, Stanford-trained mathematician Alessandro Maria Masullo announced an “all-human with no AI” draft proof of the generalized Riemann Hypothesis. Fellow mathematicians have discovered problems in Masullo’s proof, which he is currently polishing with colleagues in number theory at Stanford. “It’s undergoing major revision,” Stanford mathematician Brian Conrad told Scientific American. Its theorems are currently being formalized for machine review in programs such as Lean.
Why it matters: If Alpöge’s proof is confirmed and widely accepted by mathematicians, the development will arguably be the most significant scientific breakthrough for AI yet. It could usher in a new era of mathematics as a practice with AI assistance as part of mainstream methodology.
- Most other AI-assisted proofs in mathematics and science, at least for major theorems, are actually cleverly designed counterexamples. Alpöge and Buckmaster’s Navier-Stokes proof is a good example: It invalidates a hypothesis (and proves the contrary hypothesis by contradiction), which resolves an uncertainty. The Riemann Hypothesis proof is a more comprehensive, unexpected kind of proof. It proves a widely accepted, yet until now an unproven, mathematical fact, largely through direct derivation from axioms.
- Because the Riemann Hypothesis is widely believed to be true, many mathematical arguments assume that it holds. These conditional propositions (if the Riemann Hypothesis is true, then Y is true) can now be treated as unconditional theorems.
- Some mathematicians and researchers worry that Alpöge’s proof bypasses the traditional methods of discovery and explanation that guide their practices. The announcement of Alpöge’s proof “should have been cause for celebration,” says Scientific American contributor Peter Hall. “Instead, math’s most famous problem was resolved in a way that, so far, no one can figure out. And figuring it out is meant to be the fun part.”
We’re thinking: This is a major event in the histories of mathematics and artificial intelligence. Even if Alpöge’s AI-assisted proof is quickly accepted, number theorists will likely take years to fully understand Claude’s unexpected methods and derive their implications for other areas of mathematics. The mathematician submitting this proof himself doesn’t fully understand his arguments, which raises unexpected questions about authorship and attribution. The rapid pace of AI-assisted discovery continues to present new breakthroughs and dilemmas for the discipline.

Learn More About AI With Data Points!
AI is moving faster than ever. Data Points helps you make sense of it just as fast. Data Points arrives in your inbox twice a week with six brief news stories. This week, we covered Amazon’s launch of its open MoE model Ergo and Anthropic’s fascinating but impractical cryptographic breakthrough. Subscribe today!

Major Flaw in Java Found Using Codex
A security researcher used an AI cybersecurity model in a coding agent and found a serious flaw in the software that runs most Java applications. On servers with recent Intel or AMD processors, the flaw allows attackers to execute code in widely used business applications without logging in.
What’s new: Calif, a security startup, disclosed Java4Shell, a memory-corruption bug in the Base64 decoder of OpenJDK. OpenJDK is the open-source code behind most Java runtimes, including Oracle’s, Amazon’s, and Microsoft’s. Oracle and OpenJDK released fixes on November 17. The same day, the U.S. Cybersecurity and Infrastructure Security Agency urged organizations to patch their software immediately.
How it works: Generally, Java checks memory access in programs written in the Java language so bugs can’t corrupt memory. However, parts of the Java runtime are composed of modules in the lower-level assembly language, where those checks don’t exist. The flaw is in the assembly module Java uses to decode Base64, a common way of sending binary data as text.
- Base64 writes every 3 bytes of binary data as 4 text characters and pads the end with “=” signs. Online servers decode it constantly in login headers, tokens, and file uploads.
- When a program decodes a large amount of Base64 text, the runtime’s just-in-time compiler replaces Java’s decoder with a hand-tuned assembly routine. On chips with AVX-512 VBMI, this routine decodes 64 characters at a time.
- The decoder ends with one instruction that writes 64 bytes at once, using a mask to keep only the bytes that belong in the result. To set the mask, the decoder counts how many bytes the leftover characters hold and subtracts 1 for each equal sign. A single “=” represents no bytes, so the count comes out to -1 when evaluated, which the chip treats as “keep all 64 bytes.” Given 64 “A”s and an “=”, the decoder writes 62 bytes past the end of the space Java set aside. Java rejects the input afterward, but the neighboring memory is already overwritten.
- Calif used the overwrite to make nearby blocks of memory look bigger than they were, letting Calif read data it shouldn’t see and eventually execute its own code remotely on the server.
Who’s affected: The flaw reaches most current versions of Java, but only on certain processors.
- Unpatched Java 17 from update 17.0.6 onward is affected, as are Java 21, 25, and 27. Standard builds of Java 8 and 11 don’t contain the vulnerable code.
- Calif demonstrated the exploit on test servers running widely used business software, including Jira, Confluence, Jenkins, and Keycloak, with default settings without logging in. Calif also said that logins and file uploads in other applications can expose the flaw.
- Only x86-64 processors that support AVX-512 VBMI, instructions that work on 64 bytes at once, run the vulnerable code. These include Intel Xeon chips from Ice Lake to the present and AMD chips from Zen 4 to the present. ARM servers are not vulnerable to the hack.
- It’s unclear exactly how many servers are exposed, but one company’s check suggests the share may be small. Elastic, which sells a hosted cloud version of its Elasticsearch software, found that fewer than 5 percent of its customers’ deployments ran on vulnerable chips. All of those were on Microsoft Azure. None of its deployments on Amazon Web Services or Google Cloud were affected.
How the team used AI: In Calif’s account, researcher Quang Luong told OpenAI’s coding agent Codex to audit the just-in-time compiler, hand-tuned assembly routines, widely used APIs, and cryptography “like any serious security researcher in 2026.” Calif said the agent’s transcripts show that Codex didn’t look up existing bug reports.
- Calif used GPT-6 Cyber in Codex to find the flaw, according to The New York Times. GPT-6 Cyber is a version of GPT-6 Astra that OpenAI fine-tuned to find security vulnerabilities.
- Most of the leads Codex returned at first were “slops,” Luong wrote, bugs that were unreachable or unrealistic to exploit. After about 20 minutes of prompting and discarding them, Codex reported the Base64 flaw. Finding the bug took about an hour, and a first working exploit took two more hours. The tokens used cost less than $200, Calif said.
- When the agents got stuck arranging memory for specific applications, Calif wrote a small tool that showed them the state of the runtime’s memory. Agents built most of the later attack chains “almost autonomously,” Calif said.
Yes, but: Analysts disagree about how dangerous the flaw is. On CVSS, the standard 10-point severity scale, 9.0 or higher counts as critical. Calif rates Java4Shell 9.2, and Red Hat rates it 9.8. OpenJDK’s advisory rates it 8.1, judging an attack highly complex. Datadog found that crashing an application is easier than taking control of it. Calif built working attacks against at least 11 widely used applications, but each one needed its own custom attack, because each application uses Base64 and arranges its memory differently. No attacks had been reported as of November 17, according to CyberScoop.
Why it matters: Java4Shell is one of a fast-growing number of serious flaws found with AI tools. In October, Calif disclosed PHP2Shell, flaws in the PHP web programming language that a researcher found with an AI assistant. That same month, OpenAI used GPT-6 Cyber to produce working attacks for 948 flaws in Linux. AI is making it faster and cheaper to find bugs in old, heavily used code, including low-level optimized code that safety features like Java’s memory checks don’t cover. Calif recommends a program of “vibe uncoding,” using AI to find and remove code that a system doesn't actually need, which could cut down on future attack surfaces.
We’re thinking: When a working attack can follow a bug report within hours, developers’ jobs get that much harder. Ideally, AI models and agents can help find and install fixes for widely used software before they ship — and patch them as quickly as possible as soon as new ones are found.

Measuring Real Behavior in AI Videos
Generated videos can violate physical laws such as gravity (when an object floats without support) or Newton’s laws (when an object passes through a solid wall). Researchers devised a model that judges physical realism.
What’s new: Wenzhuo Xu and colleagues at Carnegie Mellon University, Georgia Institute of Technology, Northeastern University, and Adobe Research developed VeriPhy, a verification system for videos that converts natural-language prompts into testable rules and presents supporting measurements, time windows, and the like so any evaluation can be traced to the evidence that produced it.
Key insight: Text prompts entered into a video generator contain implicit and explicit expectations of how objects are to behave in the scene. “A basketball thrown at a wall” should bounce off of the wall, not go through it. When a “Dolphin jumps out of water,” the creature should rise above the surface. By translating a prompt into measurable aspects such as an object’s position or an event’s timing, the system can evaluate whether a generated clip reflects real-world physics. Users can interpret failure modes by consulting a record of measurements, the judgements behind them, and frames involved.
How it works: VeriPhy combined a video-language model (Qwen3-VL-30B-A3B-Instruct) with video, audio, and text tools based on that model and a variety of others. The system compared prompts and outputs to classified clips as plausible, implausible, or neither.
- Given a text prompt, the model generated a video and produced a list of claims to be verified (for example, that an object is visible) and tool calls. To verify claims, the model used tools including a segmentation model, depth estimator, and optical character recognition model, alongside 11 kinematic measurement functions (such as detecting a change in an object’s shape or contact between objects). An additional tool checked whether the video depicts events described in the prompt and in the proper order.
- Each tool declared a claim either supported, contradicted, or unknown. If any tool contradicted the claim, the system deemed the video implausible. If all tools supported the claim, the clip was considered plausible. Otherwise, the verdict was uncertain.
Results: The authors created a benchmark corpus of 1,500 generated video clips with human-annotated physical defects. The system performed roughly as well as the underlying model, but it also provided information on the issues and their locations in the output.
- On the independent benchmark Physion-Eval, which diagnoses failures of realism in videos, the author’s method outperformed all other VLMs tested including Alibaba Qwen3-VL-32B, Anthropic Claude 4.5 Opus, Google Gemini 3.0 Pro, and OpenAI GPT-5.2.
- On a subset of 149 clips that carried 304 annotated defects, VeriPhy identified 228 flaws, achieving 75.0 percent recall, whereas Qwen3-VL-30B-A3B-Instruct, given just a prompt and video frames, identified 222 flaws, achieving 73.0 percent recall.
- On the first 601 clips in Physion-Eval, VeriPhy classified 26.8 percent of clips implausible, while human judges called 52.7 percent of clips implausible. Automated models flagged smaller shares: Gemini 3.0 Pro (16.9 percent), Qwen3-VL-32B (14.4 percent), Claude 4.5 Opus (10.7 percent), and GPT-5.2 (10.5 percent).
Why it matters: Evaluations of generated video that return quality score serve to rank clips, but they don’t provide information that’s useful for validating the scores or improving the generator that made the clips. This issue becomes a problem when generated video is used as training data, especially for robots and other systems intended to act in the physical world. Each VeriPhy verdict arrives with the measurements behind it and the span of frames it covers, so an engineer can find failures and address them.
We’re thinking: Engineers who build benchmarks for model output should ask whether their tests return a single number or a record of what went wrong that can point the way to improvements.