Skip to main content
MIT License · Zero-Dependency Python Standard-Library SQLite Retriever os-optics-lens · 2,805 Records / 2,859 Configs

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.

Searchable Records
2,805

Every record holds a verified native Project JSON plus typed search facts

Optical Configurations
2,859

Spanning camera primes/zooms, microscopes, endoscopes, mobile & telescopes

Dual Search Semantics
Spec & Starting Point

Separates confirmed matches from ranked near-matches with explicit unknowns

Provenance & Integrity
SHA-256 Verified

Direct patent/handbook citations and license terms recorded per item

Context-Safe Offline Retrieval

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 102 records

Nikon FX Full-Frame Lenses

Classic and modern Nikon full-frame primes, macro lenses, and zooms.

lens-designs 941 records

Classic Optical Designs (lens-designs)

Mostly camera lenses (853), plus eyepieces, projection lenses, and microscope objectives transcribed from Dan Reiley's open collection.

sigma-ff 43 records

Sigma Full-Frame Patents

Full-frame super-telephoto, fast telephoto, and wide-angle prescriptions from Sigma patents.

lenslibrary 39 records

Historical LensLibrary

Classic photography and phone lenses, microscope objectives, and endoscope objectives from Nathan Hagen's LensLibrary.

endoscopic-imaging 21 records

Endoscopic Imaging Objectives

Millimeter-scale medical endoscope objective prescriptions from published patents.

sony-fe 19 records

Sony FE Full-Frame Patents

Fast full-frame mirrorless standard and telephoto prime embodiments from Sony patents.

canon-full-frame 18 records

Canon Full-Frame Patents

Fast full-frame primes and telephoto zoom embodiments from Canon US patents.

patent-machine-vision 18 records

Machine Vision Patent Lenses

Industrial machine-vision fixed-focus lenses from patents, including 1-inch-format designs.

telescope-observation 14 records

Telescope & Observation Optics

MIL-HDBK-141 handbook eyepieces and open-source doublet/triplet telescope objectives.

opensci-design-studies 59 records

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.

phone-telephoto 7 records

Smartphone Telephoto Modules

Compact multi-asphere smartphone telephoto module prescriptions from Largan patents.

phone-modules 11 records

Smartphone Main & Ultra-Wide Modules

Largan seven-element main-camera and five-element ultra-wide smartphone prescriptions from published patents.

yutong-cup 1 records

Yutong Cup Competition Designs

Competition-grade 18 mm f/2.0 full-frame ultra-wide mirrorless prescription.

patent-examples 1251 records

Patent Numerical Examples

Camera lens prescriptions from published patent numerical examples, including 725 full-frame and 224 APS-C designs.

flaresim-canon 83 records

Canon Lenses (FlareSim)

Canon-branded prime lens prescriptions from the LocalStarlight/flaresim_nuke corpus (MIT).

zeiss 43 records

ZEISS Lenses

ZEISS-branded prescriptions from the flaresim_nuke corpus (MIT), including Tessar, Sonnar, and Master Prime designs.

flaresim-mft 36 records

Four Thirds System Lenses (FlareSim)

Mostly Olympus Zuiko primes and zooms for Four Thirds and Micro Four Thirds from the flaresim_nuke corpus (MIT).

flaresim-fujifilm-x 24 records

Fujifilm X-Series Lenses (FlareSim)

Fujinon XF/XC and X100-series primes and zooms from the flaresim_nuke corpus (MIT).

flaresim-sigma 22 records

Sigma Lenses (FlareSim)

Sigma full-frame primes and zooms from the flaresim_nuke corpus (MIT).

flaresim-sony 16 records

Sony Lenses (FlareSim)

Sony FE and A-mount lens prescriptions from the flaresim_nuke corpus (MIT).

flaresim-fujifilm-gfx 14 records

Fujifilm GFX Medium-Format Lenses (FlareSim)

Fujinon GF medium-format primes and zooms from the flaresim_nuke corpus (MIT).

flaresim-tamron 13 records

Tamron Lenses (FlareSim)

Tamron-branded prescriptions from the flaresim_nuke corpus (MIT), including telephoto zooms and macro designs.

dry-microscope-objectives 10 records

Dry Microscope Objectives

Dry microscope objective prescriptions of about 18 mm focal length from US11067782B2 and US7663807B2.

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.