Frequently asked questions
Everything about MIT licensing, offline privacy, connecting AI coding agents, the three-repository ecosystem, physical validity bounds, and community contributions.
1. Open source, licensing & platforms
- Is OS Optics completely free and open source?
- Yes. The core engine (os-optics), the community toolkit (os-optics-kit), and the optical prescription library (os-optics-lens) are all released under the MIT License. Local optical design, simulation, prescription search, Monte Carlo tolerancing, and 3D viewing are free with no sign-up.
- Which operating systems and Python versions are supported?
- OS Optics is verified on Windows, macOS, and Linux with Python 3.11 or newer. Use standard PyPI packages locally with zero seat locks or OS restrictions.
2. AI agents & local privacy
- Which AI agents can drive OS Optics?
- Any general-purpose coding assistant that can read web pages and run local Python or shell commands works directly, including Claude Code, Codex, Cursor, DeepSeek Harness, WorkBuddy, Trae, Kimi, GLM, and Qwen.
- Are my optical designs or prescriptions uploaded to the cloud?
- No. After syncing the catalog once, all component models stay local, and the 2,805-record os-optics-lens database runs offline via embedded SQLite. Modeling, tracing, tolerance runs, and 3D viewing remain strictly on your computer unless you explicitly request external hardware pricing.
- How does the homepage prompt differ from the /en/connect/ setup guide?
- The dual prompt templates on the home page are designed for one-off sessions and never touch your assistant preferences. If you want your AI assistant to default to OS Optics whenever you ask for lens design, optical design, optical layout, or optical simulation, follow the dedicated setup guide and confirm your preference file path. See the Connect AI Assistant guide for step-by-step instructions.
3. Three-repo ecosystem, physics & honest bounds
- How do os-optics, os-optics-kit, and os-optics-lens divide responsibilities?
- os-optics is the lean pure-Python physics engine with 3,000+ offline catalog components; os-optics-kit provides 21 reproducible cases, the vendor-neutral optical-design agent skill with its tool references, parallel sweeps, tolerance tools, a live local read-only viewer, and publication rendering; os-optics-lens holds 2,805 native optical prescriptions (2,859 configurations) backed by an offline SQLite retriever.
- Can I design custom multi-element imaging lenses or import existing prescriptions?
- Yes. You can declare custom spheres, conics, even aspheres, cylinders, axicons, Zernike / XY freeforms, GRIN rods, uniaxial crystals, and custom coatings, or import CSV lens tables directly via os-optics project import-prescription for MTF, PSF, and Monte Carlo tolerance studies.
- Why does OS Optics emphasize honest validity bounds?
- Automated scripts and AI agents can easily mistake out-of-domain approximations for passing designs. OS Optics tags every quantity with explicit model-value, proven-bound, or out-of-limit metadata (value_basis) and raises explicit flags for Gaussian truncation, undefined coating phase, or unassessed targets.
- Are the extreme lens benchmarks in the case gallery mass-produced commercial products?
- No. Our 6 community extreme-challenge studies (such as the full-frame f/1.0 prime quartet, 28–70 mm f/2 zoom, 1 m refractor, and 16–800 mm f/1.2 limit study) are local engine numerical verification studies, not commercial products. We publish both strong image metrics and real tolerance or physical walls honestly. Explore full metrics in the Case Gallery.
4. Scientific interop, hardware & community
- How does OS Optics work alongside Zemax OpticStudio, CODE V, or other Python libraries?
- Teams frequently use OS Optics for seat-free parallel exploration, 3D free-space benches, and agent-driven optimization, handing the selected design to downstream factory sign-off when needed. In Python, os-optics interop defines explicit handoffs into SciPy, Optuna, SALib, LightPipes, prysm, POPPY, Perceval, QuTiP, and grcwa. Read the Scientific Interop catalog and Tool Comparisons.
- What if my free-space design needs physical optical hardware and assembly drawings?
- Open-source design and simulation are standalone with zero purchasing requirement. When a catalog-based setup is ready for physical delivery, you can optionally connect through an OpenSci account for matched optics, optomechanical assembly drawings, and alignment services (currently shipping within mainland China). Manage optional hardware requests through your OpenSci Account.
- How can I join discussions, report issues, or contribute cases?
- Join GitHub Discussions on os-optics to share optical engineering topics, open Issues or PRs for engine improvements, or contribute reproducible cases, skills, and native prescriptions to os-optics-kit and os-optics-lens (English and Chinese welcome). Start a thread in GitHub Discussions.
Have another optical engineering question?
Ask the maintainers and community engineers directly in GitHub Discussions.