Repository navigation
Releases
Optics & Photonics 0.9.0
Optics-Photonics-AI-Lab 0.9.0
The environment now describes 99 software tools, with 59 installation recipes and 48 inspectable programs across 32 software libraries. GNU Octave and Julia join the catalogue. The Field + Matter + Interaction framework, package names, existing bindings and run records remain the foundation of the environment.
Installed executables and Windows automation servers now join the existing Python and owned-session connections. Programs can run in MATLAB, Octave, Julia, Wolfram Language, Maple, Lua or Lumerical script; Python drivers can invoke a bound executable with RUN. These routes use the existing worker, persistent scheduler, shared CPU and license resources, sweeps, optimization and result files. Service clients reuse Python bindings. A route labelled inside describes scripts or file exchange within the application, rather than an unattended connection. Discovery reports installations and credential presence without starting the software or verifying service access.
Three new programs cover ADDA particle scattering, S4 photonic-crystal slab spectra and QuantumOptics.jl atom–cavity dynamics. Their source, inputs, physical assumptions and comparison quantities are available through the same program interface. Julia package installation and conda cache updates are serialized, and native-language results can save arrays with units and axes in the established NPZ/JSON format.
Integration preserves positional Python sweep calls and named program provenance. Lua inputs and outputs retain nulls, empty objects, sparse arrays and embedded null characters; unequal array rows are rejected before saving. Lumerical results unwrap the named workspace variable written by jsonsave. Workflow files accept long inline scripts, the TypeScript client exposes the script-language binding, and the uncoupled resonant Jaynes–Cummings limit returns its constant exact population. The bilingual entry points now give a shorter route from installation to a first calculation and distinguish catalogue coverage from local execution. MCP program details return source text only with source=true; Python and CLI source access remain compatible. Tool annotations describe actual execution and configuration effects, including queued-worker recovery through run_status.
Validation: 199 Python tests completed with scientific calculations enabled: 178 passed and 21 were skipped for separate solver installations. The Lua bridge ran against the host's Lua 5.4 shared runtime; the Lumerical serialization check uses the documented output format, and commercial session lifecycle tests use SDK doubles. All 6 TypeScript tests passed. After the final MCP context changes, 43 focused checks completed (38 passed, 5 separate-software skips), and the 24 tool definitions validated against the MCP SDK and JSON Schema. Independent MCP calculation, disconnection, reconnection and file transfer passed; the catalogue and Research OS package regenerate consistently, and the 0.9.0 wheel and source archive build successfully. Julia, Octave, S4 and ADDA were not installed for this integration run. Repository CI retains the Windows/macOS, Python-minimum and six-platform native executor checks before publishing versioned release bundles.
中文
目录现有 99 项软件、59 份安装配方,以及 32 套软件中的 48 个可读、可修改程序;新增 GNU Octave 与 Julia。继续以场 + 物质 + 相互作用为物理框架,沿用软件包名称、已有环境绑定与运行记录。
在原有 Python 与独占会话连接基础上,增加本机可执行程序和 Windows 自动化服务。程序可使用 MATLAB、Octave、Julia、Wolfram Language、Maple、Lua 或 Lumerical 脚本;Python 程序可用 RUN 调用绑定的可执行程序。这些通路复用现有工作进程、持久任务调度、共享 CPU 与许可证额度、扫描、优化和结果文件接口。服务客户端复用 Python 绑定;inside 表示在软件内部运行脚本或交换文件,不表示已实现无人值守连接。发现过程读取安装位置及凭据是否存在,不启动软件,也不据此判定服务已经联通。
新增 ADDA 颗粒散射、S4 光子晶体平板光谱和 QuantumOptics.jl 原子–腔动力学程序,沿用同一套源码、输入、物理假设及对照量接口。Julia 包安装与 conda 缓存更新分别串行处理;其他语言的计算结果可按既有 NPZ/JSON 形式保存带单位、坐标轴的科学数组。
整合修复保留 Python 扫描的原位置参数及封装程序名称;Lua 往返保留空值、空对象、稀疏数组和内嵌空字符,不等长数组在保存前报错;Lumerical 的 jsonsave 输出按统一契约取出 RESULT。工作流支持长单行脚本,TypeScript 客户端可指定脚本语言,零耦合且零失谐的 Jaynes–Cummings 解析结果保持恒定。中英文入口缩短安装与首次计算路径,明确区分目录覆盖和本机执行能力。MCP 程序详情仅在 source=true 时展开源码,Python 与命令行源码访问保持兼容;工具注解按实际执行及配置修改行为标注,包括 run_status 对排队工作进程的恢复。
启用科学计算后共完成 199 项 Python 测试,178 项通过,21 项因需要独立求解器环境而跳过。Lua 桥接使用宿主 Lua 5.4 共享运行库执行;Lumerical 序列化采用厂商文档格式检验,商业会话生命周期采用 SDK 替身。6 项 TypeScript 测试全部通过。最后的 MCP 上下文调整另完成 43 项定向检查(38 项通过、5 项独立软件测试跳过),24 项工具定义通过 MCP SDK 与 JSON Schema 验证;独立 MCP 计算、断线续算、重连和文件传输通过;目录、Research OS 包可一致再生成,0.9.0 wheel 与源码包构建成功。本轮未安装 Julia、Octave、S4 和 ADDA;仓库 CI 继续在发布前执行 Windows/macOS、最低 Python 版本及六平台原生执行器检查。
Optics & Photonics 0.11.0
Optics-Photonics-AI-Lab 0.11.0
Independent software integrations
Installed distributions can add software identities, recipes, programs and bilingual guides through data-only optics_photonics.integrations entry points. They can also add distinct programs to an existing solver. Search, details, binding and submission use these additions without importing their scientific dependencies in the connector.
software_integrations lists providers and load errors, refreshes changed installations and reads a guide on request. Submitted extension programs retain source, defaults and provider information, so the worker can run in a separate interpreter and accepted work does not depend on the package still being installed. The installable Gaussian-beam example demonstrates the complete path.
Continuing research
- Python programs receive optional
CHECKPOINTfor atomic JSON state and references to written model/data files. Continuation checks the source, inputs and binding before reusing state; previous attempts stay available. - Both built-in optimizers reuse completed evaluations while reconstructing the seeded search under its original budget. Solver objects are not serialized. Completed grouped-sweep points are retained across interrupted attempts; each table row names its original output directory.
run_statusexposes compact progress references without loading saved state. The diffraction example pauses inside a calculation and resumes the remaining detector points.list_runssearches names, run IDs, request IDs and software, with state/tool filters and stablebeforepagination. SQLite indexes support these queries; summaries contain software and step counts without program sources or large results.
Host interfaces and maintenance
TypeScript adds typed run discovery, program details, integration metadata and guide access. MCP descriptions, prompts, the compact computation Skill, bilingual READMEs and development guidance follow the same behavior. Generated bundles include the new guides; repository catalogue generation excludes locally installed integrations.
Native executors reject invalid deadlines before launching a program or opening its output files. The package, TypeScript client, native executor and plugin metadata are 0.11.0; the DeepSeek launcher selects this same version.
The bundled catalogue remains 110 entries, 69 recipes and 57 programs across 39 libraries. Independent additions do not alter these repository-owned counts. Commercial SDK and instrument requirements remain those of their integrations. Saved progress resumes explicitly saved program state, not arbitrary process memory or physical equipment state.
中文
新增独立软件接入包:静态声明软件、配方、程序与双语指南,可为已有求解器增加程序,读取时不导入科学依赖。提交时保存扩展程序的源码、默认输入和来源,使独立求解器环境以及后续接续都能使用原定义。高斯光束接入包演示安装、发现和运行全过程。
Python 程序通过 CHECKPOINT 保存状态与文件引用;两个内置优化器恢复已完成的评估,分组扫描保留完成的参数点及其原输出位置。任务概况只返回进度位置,按需读取详细状态。新增名称、请求编号和软件搜索、稳定分页及对应 SQL 索引。
同步更新 TypeScript、MCP、按需指南、双语入口与宿主包,压缩旧开发文档的重复内容。Rust 在执行前拒绝非法时限;发布版本与 DeepSeek 实际启动版本统一为 0.11.0。保留已有接口和运行记录。
Optics & Photonics 0.10.0
Optics-Photonics-AI-Lab 0.10.0
The laboratory domain brings the catalogue to 110 software tools across 15 domains, with 69 installation recipes and 57 packaged programs across 39 software libraries. New programs cover Bragg gratings, local waveguide modes, finite-element scattering, tissue transport, undulator spectra, holograms, measured resonances and instrument scans. Programs declare their domains, so domain searches and references also find relevant programs in general-purpose libraries.
MCP provides six research prompts and exposes the same guides as resources. Software details are brief by default; brief=false retains the complete software record and program input definitions. Request one program for its physics and inputs, and source=true when adapting its implementation. The existing Python detail response and discovery fields remain available. Prompt arguments are inserted literally, and malformed arguments identify what is needed.
Integration fixes include wavelength-based fitting on nonuniform spectra, separate windows for neighboring resonances, and track-length fluence across tissue layers and transparent regions. Raw Octave scripts retain their execution order. Instrument scans save raw replies before parsing, preserve partial data after a later failure, reject inconsistent column counts, and attempt all configured finish operations without masking the original acquisition error. Simulated Bluesky data is labelled explicitly. Shared instruments use a common resource pool or their existing IOP controller; per-library concurrency does not provide a cross-library device lock.
Package, plugin and client versions are aligned. The bilingual entry pages, generated catalogues and Research OS bundle are rebuilt from their source. The connector supports Python 3.10+; solvers retain their own platform and runtime requirements.
Real hardware and MATLAB execution are outside this release's validation. PyVISA and Bluesky examples use simulated devices; Octave exercises the shared MATLAB-language grating program. Catalogue inclusion describes available software interfaces and does not imply that each user's installation, license or instrument is already connected.
中文
新增实验仪器领域后,目录包含 15 个领域的 110 项软件、69 份安装配方和 39 套软件中的 57 个封装程序。新程序覆盖布拉格光栅、本地波导模式、有限元散射、组织光子输运、波荡器谱、全息图、实测谐振谱和仪器扫描。程序声明所属领域,通用数值库中的相关程序也能按领域找到。
MCP 提供六个研究提示,并将同一套指南作为资源提供。软件详情默认精简;brief=false 返回完整软件记录与程序输入定义。指定一个程序可查看物理模型和输入,需要修改时用 source=true 取源码。已有 Python 详细接口与发现字段继续保留。提示参数按原文插入,格式错误时说明缺少什么。
整合修复包括非均匀波长采样的拟合、相邻谐振的窗口分离,以及跨材料层和透明区域的路径长度光通量。原生 Octave 脚本保持执行顺序。仪器扫描在解析前保存原始回复,后续失败时保留已有数据,拒绝不一致的列数,并尝试全部约定的结束操作而不覆盖原始采集错误。Bluesky 模拟数据明确标注来源。共享仪器使用同一资源池或已有 IOP 控制器;单个库的并发限制不能替代跨库设备协调。
软件包、插件及客户端版本已统一;中英文入口、目录和 Research OS 包由源文件重新生成。连接程序支持 Python 3.10+,求解软件保留自己的平台与运行环境要求。
本版未验证真实仪器和 MATLAB 执行。PyVISA 与 Bluesky 示例使用模拟设备;共用的 MATLAB 语言光栅程序通过 Octave 执行。软件被收录表示相关接口已列出,并不表示用户本机的安装、许可和仪器已经连接。
Optics & Photonics 0.8.0
Optics-Photonics-AI-Lab 0.8.0
This release integrates the 26 research-program contributions without rewriting their history. It ships 45 inspectable programs across 29 software libraries, spanning films, scattering, imaging, cavities, fiber propagation, nonlinear and quantum optics, photonic circuits, and inverse design. Each program exposes its source, inputs, physical assumptions, outputs and checks; custom programs retain the complete upstream API. The catalogue still distinguishes its 97 entries from installed or tested capabilities.
Environment recipes prepare supported Python or conda tools on demand. Parameter sweeps, bounded optimization, short calculation waits and result tables share the existing persistent scheduler. Python and commercial SDK sweep groups preserve every point's inputs and project ownership; external command programs receive one complete request per point. Retried submissions return their original result, including after later appends. Existing runs, bindings and the 0.7 operation discovery interfaces are retained.
The 24 MCP tools include material lookup and sweep results. The pinned refractiveindex.info catalogue provides refractive index, extinction coefficient, group index and dispersion; common materials are bundled and concurrent downloads use independent temporary files. Described arrays can be rendered as PNG lines or maps, including complex components, with matching coordinates. Search recognizes scientific concepts in both languages and returns individual program details on request.
Integration fixes enforce optimization budgets and integer bounds, preserve signed two-axis ray fields, align fiber propagation and spectrum frequency conventions, represent unbounded characteristic lengths and balanced-interferometer periods as JSON null, and support tight metalens windows and complete optical loss. Multi-program examples pass unit-cell libraries into metalens propagation and waveguide modes into circuit calculations.
Validation: 178 Python tests completed successfully (165 passed, 13 separate-environment skips); all 5 TypeScript tests passed. These cover Linux scientific calculations, real Rust process execution, SDK test doubles and MCP reconnect/file-transfer paths. A wheel upgrade from 0.7.0 to 0.8.0 retained the previous run and solver binding. Software needing separate environments, licensed workstations and live Research OS, Qiushi or DeepSeek hosts is not claimed as newly exercised. The Windows/macOS and six-architecture executor checks run in repository CI before release publication. Downloads include the Python wheel/source archive, TypeScript package and ResearchOS, Connect, Codex, Claude and Portable bundles; the connector requires Python 3.10+, while supported solver workers can use Python 3.9+.
中文
本次完整保留并整合 26 个贡献提交,提供 29 套软件中的 45 个可读、可修改科研程序,覆盖薄膜、散射、成像、谐振腔、光纤传播、非线性与量子光学、光子电路和逆向设计。每个程序声明物理假设、输入、输出和检查;自定义程序继续使用软件完整原生 API。目录中的 97 个条目不代表全部已安装或经过实机验证。
支持按需准备 Python/conda 环境、参数扫描、有界优化、短任务直接返回和结果表格。扫描保留各点的完整输入与工程文件;商业 SDK 每点独立管理会话,外部命令每点接收完整请求。追加任务后重试同一请求仍返回原计算结果,已有运行记录、环境绑定和 0.7 版本的 operations 发现接口继续可用。
24 个 MCP 工具包含材料查询和扫描结果读取。材料模块使用固定版本数据库,常用数据离线附带,支持折射率、消光系数、群折射率和色散;并行下载互不覆盖。科学数组保留单位与坐标,可直接生成曲线或二维 PNG,支持复数分量。中英文搜索支持物理概念,并可按需读取单个程序的原理和源码。
修正优化超预算、整数越界、光线角度符号与分量、光纤三阶色散和频率坐标、零色散或零非线性结果序列化、平衡干涉仪、超透镜紧窗口及完全损耗边界。178 项 Python 测试完成,其中 165 项通过、13 项专用环境测试按条件跳过;5 项 TypeScript 测试全部通过,并验证 wheel 从 0.7.0 升级到 0.8.0 后旧任务和环境绑定保留。测试覆盖 Linux 科学计算、Rust 真实进程、SDK 替身和 MCP 断线重连;专用软件环境、商业授权工作站及具体宿主的实机验证仍按各自条件进行。跨平台 CI 通过后才发布发行包。
Optics & Photonics 0.7.0
Optics-Photonics-AI-Lab 0.7.0
Scientific arrays now travel with units, coordinates and physical conventions. data.quantity, data.save and data.load write and read NPZ arrays with JSON descriptions; read_array returns the coordinates belonging to the requested slice, including reversed and downsampled selections. Existing plain arrays remain supported.
Programs can explicitly convert units, spectral quantities, complex time dependence and wavefront sign while retaining their source description. A runnable HCIPy → POPPY example exchanges an aberrated pupil and reproduces image displacement and Strehl ratio after converting path-difference sign and units. See the example.
Scientific worker environments support Python 3.9+, including package-version collection after a calculation. The connector still uses Python 3.10+. Claude marketplace entries include description and author information. Contributor commits from data-descriptions and host-launch are retained.
Downloads: ResearchOS, Connect, Codex, Claude and Portable ZIP packages, a Python wheel/source archive and a TypeScript package. Universal bundles include native executors for Windows, macOS and Linux on x86_64 and ARM64. Managed Codex/Claude/Portable launchers use uv; Research OS uses its host Python. Existing solver bindings and runs remain under the same OPTICS_HOME.
Independent solver integration packages, remote-job attachment, additional cross-program research paths and licensed-workstation execution remain separate development work. This release does not claim new native-host runs for Research OS, Qiushi or DeepSeek.
中文
科学数组可以携带单位、坐标与物理约定跨程序传递。data.quantity、data.save、data.load 保存和读取 NPZ 数组及 JSON 说明;read_array 同时返回切片、倒序或降采样后的对应坐标,原有普通数组继续可用。
单位、光谱量、复振幅时间约定和波前符号均可显式转换并保留来源。HCIPy → POPPY 示例实际交换带像差的光瞳,转换光程差符号与单位后,得到一致的像点偏移和 Strehl 比。
求解器环境支持 Python 3.9 以上,修复计算完成后读取软件版本时报错的问题;连接器仍要求 Python 3.10 以上。补齐 Claude 市场描述和作者信息,保留两项贡献的提交历史。各宿主发行包随同一版本更新,已有环境配置和研究记录继续保留。
Optics & Photonics 0.6.0
Optics-Photonics-AI-Lab 0.6.0
Agent requests remain responsive while calculations run. MCP handles concurrent calls, independent status waits and request cancellation; the TypeScript client supports AbortSignal. Scheduling retains dependency state and reads newly appended work without loading old results each time.
Concurrent environment registration coordinates readers and writers across processes and threads, including Windows file replacement. Software and native SDK bindings use the same update path.
NPY/NPZ arrays can be read by axis, position and forward or reverse slice, with bounded output and complex values. Workflow steps pass files by reference. The TypeScript client retrieves binary or text results to the client computer.
Episode collection records completed episodes separately, retains partial attempts and continues without collecting completed episodes again, including when the worker count changes. Task and policy versions identify scientific program changes; solver errors remain distinct from scientific outcomes.
The two Skills and their references are available through read_guide and optics://guides resources. Software search ranks English and Chinese queries and reports missing terms; argument errors state the expected input.
Codex uses its actual plugin-relative working directory. Claude uses CLAUDE_PLUGIN_ROOT. Portable Agent Plugins 1.0.0 packages contain no author-machine executable paths. GitHub marketplace entries use uv to select Python 3.10+; local packages can retain an explicitly selected interpreter. Research OS keeps its host Python. Updates preserve existing environments and runs under OPTICS_HOME.
Downloads include ResearchOS, Connect, Codex, Claude and Portable ZIP packages, a Python wheel/source archive and a TypeScript package. The universal packages carry Rust executors for Windows, macOS and Linux on x86_64 and ARM64. Install uv once for the managed launchers; an existing-Python installation does not require it.
This release integrates the contributor branches and the development handoff. Scientific units/coordinates, independently distributed solver integrations, remote job attachment and broader licensed-workstation execution remain active development work.
Optics & Photonics 0.5.1
Optics-Photonics-AI-Lab 0.5.1
Calculations now wake the scheduler when they finish. Native Rust execution owns program process trees and handles cancellation and duration limits, with scientific output going directly to files. Universal release packages include six native executors: Windows/macOS/Linux on x86_64/ARM64.
CPU, GPU slots, solver licenses and other named capacities are shared across research runs. Local software outside the catalogue supports the same resource requirements, environment variables, background execution and saved results. Dependency validation is linear in the graph size.
MCP returns compact status by default, waits up to 25 seconds for completion, and lists configured environments by page without launching every interpreter. The new TypeScript client submits research programs and reconnects to their saved runs. MCP resources serve scientific operating guides on demand.
Connection generation includes portable Agent Plugins packages and DeepSeek bundle metadata, alongside Codex, Claude Code, Research OS, Qiushi and ordinary MCP configurations. Existing scientific environments, software descriptions and research data remain in place.
Windows executors include their C runtime, so launching them does not require a separate Visual C++ runtime installation.
Optics & Photonics 0.5.0
Optics-Photonics-AI-Lab 0.5.0
Calculations now wake the scheduler when they finish. Native Rust execution owns program process trees and handles cancellation and duration limits, with scientific output going directly to files. Universal release packages include six native executors: Windows/macOS/Linux on x86_64/ARM64.
CPU, GPU slots, solver licenses and other named capacities are shared across research runs. Local software outside the catalogue supports the same resource requirements, environment variables, background execution and saved results. Dependency validation is linear in the graph size.
MCP returns compact status by default, waits up to 25 seconds for completion, and lists configured environments by page without launching every interpreter. The new TypeScript client submits research programs and reconnects to their saved runs. MCP resources serve scientific operating guides on demand.
Connection generation includes portable Agent Plugins packages and DeepSeek bundle metadata, alongside Codex, Claude Code, Research OS, Qiushi and ordinary MCP configurations. Existing scientific environments, software descriptions and research data remain in place.
Optics & Photonics 0.4.0
Optics-Photonics AI Lab 0.4.0
The repository now uses its independent environment name, Optics-Photonics-AI-Lab. Existing Python imports, CLI commands, plugin IDs and saved software bindings remain unchanged.
- Register research libraries and executable solvers outside the published catalogue. Bind their installed environments and use the same native programs, background jobs and result interfaces.
- Collect complete research episodes in native worker processes through Python, CLI or MCP. Programs define their environment and policy using the Gymnasium reset/step interface.
- Distribute disjoint episode IDs across workers while preserving the same seed for each episode. Existing CPU and per-software concurrency limits apply.
- Save ordered observations, actions, scalar rewards and termination information as JSON Lines, with typed NumPy arrays in separate files. Read results incrementally and retain completed records if a later episode fails.
- Include a runnable broadband dielectric-coating environment using TMM and Gymnasium, with explicit material assumptions and power-balance output.
- Update repository and installation links after the rename. Research OS and other generated host packages carry the same source and Skills.
IOP is not a dependency. Native solver installations and licenses remain associated with the computing host. Sampling is local worker parallelism; distributed learner coordination and solver-specific state restoration remain with the research program and learning framework.
Optics & Photonics 0.3.1
Independent digital optics and photonics research, from software selection to running calculations and retrieving results.
Version 0.3.1 fixes clean-environment installation of the TMM solver: the connection recipe now installs and verifies NumPy alongside TMM. The Research OS plugin and Connect packages include the corrected recipe.
- Native session adapters for installed Lumerical, COMSOL, OpticStudio and CST: SDK discovery and binding, owned sessions, project load/save, full native programs and scientific data export. Commercial adapter lifecycle tests use SDK doubles; licensed solver execution requires the target workstation.
- Background calculations run independently of the Agent process. Parallel and dependent steps share a CPU budget and per-software concurrency settings.
- SQLite stores research runs, source programs, inputs, environment settings and results. Reconnecting uses the same run ID; request IDs prevent duplicate submissions. Resume retains completed steps and starts a new attempt for unfinished steps.
- MCP supports background environment preparation, calculation submission, progress, cancellation, result browsing and chunked file reading. Plugins use the same independent implementation.
- 16 executable scientific libraries, including new Optiland real-ray tracing, gdsfactory layout and py-pol polarization calculations. Native programs retain the complete upstream APIs.
- 97 software descriptions, 14 research domains and 202 original documentation and integration links, with Chinese and English interactive guides.
Install with Python 3.10+ or the release wheel. The Research OS ZIP contains an installable plugin; the Connect ZIP generates packages for Codex, Claude Code, DeepSeek Harness, Qiushi and generic MCP. Software environments are independent of plugin updates.
Windows, macOS and Linux CI runs the scientific calculations, background scheduling, cancellation, installed wheel, generated plugin and real MCP disconnect/reconnect workflow. Scientific solvers retain their supported platforms, dependencies and licenses.