WhoBuilt

AI Engineering at Jane Street

Mar 28, 2025· 17 min· 90K views·Watch on YouTube

Speaker

John Crepezzi, who works on the AI Assistant team at Jane Street, describes the company’s approach to building and integrating language models for developer tools.

Why Jane Street builds its own tools

Crepezzi’s team aims to maximize the value Jane Street gets from language models. The company’s use of OCaml, its large monorepo, Mercurial, custom build systems, and internal code review tool Iron make off-the-shelf developer tools a poor fit. The team also wants to apply models across different parts of development, such as resolving merge conflicts and suggesting reviewers.

Training models for OCaml development

Jane Street pursued custom models after seeing Meta’s CodeCompose work on Hack, a language used mainly at one company. The team defined a goal: generate multifile diffs of up to about 100 lines from an editor prompt, with changes that apply cleanly and are likely to type-check. Workspace snapshots paired with build status help identify isolated changes and red-to-green fixes; language models then generate detailed descriptions for training examples.

Using builds to train and evaluate

Crepezzi describes supervised examples as only part of training: reinforcement learning can align model output with code that parses, type-checks, compiles, and passes tests. Jane Street’s Code Evaluation Service applies model-generated diffs to pre-warmed builds and reports whether they succeed. The same setup supports evaluation, while a code review model that replied “I’ll do it tomorrow” illustrates why meaningful evaluations matter.

One service for multiple editors

Jane Street supports Neovim, VS Code, and Emacs, so the team built AIDE to handle shared prompt and context construction, build checks, and model selection. Thin editor integrations connect to AIDE, which runs as a sidecar on developers’ machines. This design supports swapping models and prompts, adding tools for all editors, measuring real-world use, and comparing approaches through A/B tests.

Extending the foundation

The team is also exploring retrieval-augmented generation inside editors, large-scale multi-agent workflows, and reasoning models. Crepezzi says the same principles apply across these efforts: keep components pluggable and let company teams add domain-specific tools.

Takeaways

  • Define the coding task and target output before collecting training data.
  • Build examples in the same context, prompt, and result format the model will face in use.
  • Use real build and test outcomes to train and evaluate code generation.
  • Centralize shared model and prompt logic so multiple editor integrations can evolve together.
  • Measure acceptance and usability with developers, since passing a build alone does not establish usefulness.

Mentioned in this talk

Search inside this talk

What was claimed 13

Show all 13 facts

Related talks