Searchable Optical Prescription Library for Engineers & AI Agents
os-optics-lens bundles 2,805 verified optical prescription records (2,859 configurations) and a prebuilt SQLite index into one offline Python package. Agents and engineers narrow candidates with bounded JSON queries, distinguish exact specification matches from optimization starting points, inspect patent/literature provenance, and export SHA-256 verified native Projects straight into os-optics.
python -m pip install os-optics-lens Every record holds a verified native Project JSON plus typed search facts
Spanning camera primes/zooms, microscopes, endoscopes, mobile & telescopes
Separates confirmed matches from ranked near-matches with explicit unknowns
Direct patent/handbook citations and license terms recorded per item
From Design Brief to Editable Native Project
Runs offline on Python 3.10+ using only the standard library. Every command prints one bounded JSON document so AI agents never flood their context window: inspect facets, run a specification or starting-point search, check provenance, and export the exact native Project into os-optics.
python -m pip install os-optics os-optics-lens
os-optics-lens info
os-optics-lens facets --facet design_type --facet image_format --facet band
os-optics-lens search --mode specification --filter design_type=camera_lens \
--where 'first_order.effective_focal_length_mm between_inclusive [17.1,18.9]' \
--where 'image_format.image_circle_diameter_mm gte 43.27'
os-optics-lens search --mode starting_point --filter design_type=camera_lens \
--target first_order.effective_focal_length_mm=85~5 --prefer design.powered_element_count:asc
os-optics-lens inspect yutong-2025-mirrorless-18-p2b --provenance
os-optics-lens project yutong-2025-mirrorless-18-p2b --out work/p2b.project.json Corpus Coverage
23 Curated Optical Prescription Collections
Spanning full-frame photography patents, industrial machine vision, smartphone modules, medical endoscopes, microscope objectives, and classical eyepieces — each batch documents its conversion rules and explicit deferral reasons.
Nikon FX Full-Frame Lenses
Classic and modern Nikon full-frame primes, macro lenses, and zooms.
Classic Optical Designs (lens-designs)
Mostly camera lenses (853), plus eyepieces, projection lenses, and microscope objectives transcribed from Dan Reiley's open collection.
Sigma Full-Frame Patents
Full-frame super-telephoto, fast telephoto, and wide-angle prescriptions from Sigma patents.
Historical LensLibrary
Classic photography and phone lenses, microscope objectives, and endoscope objectives from Nathan Hagen's LensLibrary.
Endoscopic Imaging Objectives
Millimeter-scale medical endoscope objective prescriptions from published patents.
Sony FE Full-Frame Patents
Fast full-frame mirrorless standard and telephoto prime embodiments from Sony patents.
Canon Full-Frame Patents
Fast full-frame primes and telephoto zoom embodiments from Canon US patents.
Machine Vision Patent Lenses
Industrial machine-vision fixed-focus lenses from patents, including 1-inch-format designs.
Telescope & Observation Optics
MIL-HDBK-141 handbook eyepieces and open-source doublet/triplet telescope objectives.
OpenSci Original Design Studies
Original full-frame and APS-C primes and zooms plus medium-format and Instax primes designed in OS Optics, including pancakes, portrait Sonnars, and extreme-aperture systems.
Smartphone Telephoto Modules
Compact multi-asphere smartphone telephoto module prescriptions from Largan patents.
Smartphone Main & Ultra-Wide Modules
Largan seven-element main-camera and five-element ultra-wide smartphone prescriptions from published patents.
Yutong Cup Competition Designs
Competition-grade 18 mm f/2.0 full-frame ultra-wide mirrorless prescription.
Patent Numerical Examples
Camera lens prescriptions from published patent numerical examples, including 725 full-frame and 224 APS-C designs.
Canon Lenses (FlareSim)
Canon-branded prime lens prescriptions from the LocalStarlight/flaresim_nuke corpus (MIT).
ZEISS Lenses
ZEISS-branded prescriptions from the flaresim_nuke corpus (MIT), including Tessar, Sonnar, and Master Prime designs.
Four Thirds System Lenses (FlareSim)
Mostly Olympus Zuiko primes and zooms for Four Thirds and Micro Four Thirds from the flaresim_nuke corpus (MIT).
Fujifilm X-Series Lenses (FlareSim)
Fujinon XF/XC and X100-series primes and zooms from the flaresim_nuke corpus (MIT).
Sigma Lenses (FlareSim)
Sigma full-frame primes and zooms from the flaresim_nuke corpus (MIT).
Sony Lenses (FlareSim)
Sony FE and A-mount lens prescriptions from the flaresim_nuke corpus (MIT).
Fujifilm GFX Medium-Format Lenses (FlareSim)
Fujinon GF medium-format primes and zooms from the flaresim_nuke corpus (MIT).
Tamron Lenses (FlareSim)
Tamron-branded prescriptions from the flaresim_nuke corpus (MIT), including telephoto zooms and macro designs.
Dry Microscope Objectives
Dry microscope objective prescriptions of about 18 mm focal length from US11067782B2 and US7663807B2.
True-Scale 2D Layout + Diffraction MTF
18 Representative Prescriptions Across 13 Collections
Open any prescription for full specs, MTF plots, provenance & export commands
Canon 34 mm f/1.24 17-Element Full-Frame Prime
17 elem · TTL 154.95 mm
Canon 73 mm f/2.88 16-Element Telephoto Zoom (Wide End)
16 elem · TTL 178.26 mm
Nikon AF-S VR Micro-Nikkor 105 mm f/2.8G Macro
14 elem · TTL 159.11 mm
Nikon AF-S Nikkor 85 mm f/1.4G Portrait Prime
10 elem · TTL 126.37 mm
Sigma 194 mm f/2.07 20-Element Full-Frame Telephoto
20 elem · TTL 217.87 mm
Sigma 500 mm f/5.79 21-Element Full-Frame Super-Telephoto
21 elem · TTL 274.28 mm
Sony 51.5 mm f/1.48 12-Element Full-Frame Prime
12 elem · TTL 123.91 mm
OpenSci 85 mm f/2.35 All-Spherical 8-Element Sonnar
8 elem · TTL 133.21 mm · 30 lp/mm on axis 0.841 / field minimum 0.738 (sagittal, 21.63 mm image height)
OpenSci 28 mm f/2.8 7-Element Full-Frame Pancake
7 elem · TTL 37.31 mm
Yutong Cup 18 mm f/2.0 14-Element Full-Frame Ultra-Wide
14 elem · TTL 109.56 mm · 40 lp/mm minimum 0.723 over 0–0.8 field / full field T 0.288 · S 0.319
24.3 mm f/1.85 Machine-Vision Prime (CN110967810A)
8 elem · TTL 77.19 mm
Fujifilm 35 mm f/1.8 1-Inch Machine-Vision Lens
9 elem · TTL 112.25 mm
Largan 7-Element Smartphone Main Camera (US9366845B2)
7 elem · TTL 6.53 mm
Largan 5-Element 8.65 mm Smartphone Telephoto
5 elem · TTL 8.51 mm
1.04 mm Wide-Field Endoscope Objective (US10996455B2)
9 elem · TTL 14.25 mm
100 mm f/2.8 Air-Spaced Triplet Telescope Objective
3 elem · TTL 93.41 mm
10× f/2.0 5-Element Achromatic Microscope Objective
5 elem · TTL 32.81 mm
100.5 mm Finite-Conjugate Stereo Microscope Objective (LensLibrary 7643216b)
6 elem · TTL 176.27 mm
Help Grow the Open Optical Prescription Corpus
Star os-optics-lens and os-optics on GitHub, compare against legacy ZEBASE workflows, or contribute verified patent and handbook prescriptions.