←Story detail

Trending story

Samuel Colvin proposes that code itself is a graph

1 reports1 story updatesUpdated Oct 13 17:00

Understand this story

AI overview

On October 13, 2026, Pydantic founder Samuel Colvin put forward the view that graph libraries (such as LangGraph) are the wrong direction, and that code itself is a graph: if is a branch, for is a loop, function calls are edges, and await asyncio.gather is fan-out and fan-in. To this end, the team built Monty, a sandboxed Python interpreter that can snapshot and restore at every external function call, enabling durable execution. He also pointed out that type safety, parallel execution, and state snapshots are difficult to achieve all three at once. Currently, this view has been published in an official Pydantic AI article, and there are no subsequent developments as facts yet.

AI-generated from public reports

Latest development · Report

Pydantic Founder: Code Itself Is the Graph — How the Monty Sandbox Interpreter Runs Agents

Developments

1 confirmed developments

  1. Samuel Colvin proposes that code itself is a graph

    Source:English text is being prepared.

Reports and discussion timeline

Browse reports and discussion by time. Their evidence levels remain distinct.

Oct 13

  1. Official Pydantic AI articleFirst-party

    Pydantic Founder: Code Itself Is the Graph — How the Monty Sandbox Interpreter Runs Agents

    Pydantic founder Samuel Colvin believes that graph libraries (such as LangGraph) are the wrong direction, because code itself is the graph: if is a branch, for is a loop, a function call is an edge, and await asyncio.gather is fan-out and fan-in. To this end, the team built Monty, a sandboxed Python interpreter that can snapshot and restore at every external function call, enabling durable execution. He also points out that type safety, parallel execution, and state snapshots are difficult to achieve all at once.

Related stories

  1. Related storiesMeta releases open-weight model Muse Spark Open
  2. Related storiesDeepSeek releases DeepSeek-V4.1-Flash-1017
  3. Related storiesRecursive releases open-weight local coding model Flint
  4. Related storiesDeepSeek open-sources inference framework DeepInfer