Osprey video tutorials

Each tutorial teaches one part of Osprey through real code from the repository. It shows the files, runs them, and makes one change so you see its effect. Every video has captions, chapters and a transcript.

Proofs and mathematics

Choose a proof learning path: six topics, each with a programmer introduction and a mathematics version. Start with dependent types, then explore the Workbench, the running Mathlib port, deliberate proof rejection and numerical fluid evidence.

The series follows the Lean oracle relationship: real reference proofs, Osprey's own checker, and explicit milestones toward independent operation.

Learn Osprey

Express on Osprey: the TypeScript flavor, measured against Node.js

Title card with the Osprey bird and the words Express, measured, and Osprey TypeScript flavor against Node.jsWatch the video, 7:07

A seven-minute tutorial. The Express port's comparison bench runs live and serves three example applications from Osprey, compiled with reference counting and with a garbage collector, and from real Express on Node.js. Then the Express README example is served natively and requested with curl, the port's own code is read, Express's own web-service example runs as ported, and one edit changes the reply.

Osprey effects for I/O: a Chromecast sender you can test with no TV

Title card with the Osprey bird and the words Chromecast from a Mac to a TVWatch the video, 7:33

A seven-minute tutorial. Write every byte of input and output as one Osprey effect, return failures as Result, answer the effect with a real handler in the app and a fake one in tests. The worked example is the @osprey/chromecast package and the casting player: discovery, the CAST v2 frame format, serving the file, the app's adapter, eight tests with no TV, and an edit the tests catch.

Profiling Osprey programs in VS Code: CPU, memory and leaks

The Profiling Osprey title card with the Osprey bird and the words CPU, memory, leaks, in VS CodeWatch the video, 4:16

A four-minute tutorial. Read two sample programs and predict where the time goes, then profile them in VS Code, read the flame graph and the heat on the source, attach to a running program, compare Osprey's memory backends, and check for leaks with ARC.

Testing Osprey apps by label with @osprey/uitest

Title card with the Osprey bird and the words An accessibility tree agents can driveWatch the video, 6:41

A six-minute tutorial. Where a control's role and label come from, how @osprey/native builds the accessibility tree, how @osprey/uitest finds controls by label and drives them with real pointer events, a whole journey from the casting player's tests, and an edit that renames one label and fails three tests.

Type inference in the Osprey Python flavor: static types with no hints

Title card with the Osprey bird and the words Static typing for Python, no hintsWatch the video, 4:50

A five-minute tutorial. Python-style code with no annotations, type-checked before it runs: a small sample, the error a wrong argument gives, records, Result and match, effects, and the @osprey/chromecast package checked against CPython. Then one edit that mixes two return types, caught at compile time.

More to read

The documentation home lists the written guides, including algebraic effects. Mac, iPhone, web and Android app guides and their films are on the Osprey Native website.