Optical research, in operation.
Native optical software, scientific methods and durable calculations in a shared research workflow.
Optics & Photonics
Software selection, physical models, native programs, scientific data and host connections.
Independent computation
Background workers, parallel and dependent calculations, shared computing resources and saved results.
Keep the full scientific API.
An Agent can write a complete research program: build a model, run a solver, optimize parameters and save results. The packaged calculations are starting points; each upstream API remains available.
Connection descriptions cover the current catalogue. Executed libraries and vendor-dependent routes are distinguished in the software view.
Use the scientific environment you need.
The connector runs on Windows, macOS and Linux with Python 3.10+. Each solver keeps its own platform and license requirements.
python -m pip install "https://github.com/Cherish0925/Optics-Photonics-AI-Lab/releases/download/optics-v0.11.0/optics_photonics-0.11.0-py3-none-any.whl"
optics-photonics info tmm
optics-photonics prepare tmmSave these inputs as inputs.json. The calculation returns a compact result and a spectrum CSV.
{
"n": [
1,
1.45,
1.52
],
"thickness_nm": [
100
],
"wavelength_nm": [
450,
550,
650
]
}optics-photonics run tmm spectrum --inputs "@inputs.json"Reuse an installed environment
optics-photonics bind tmm --python /path/to/python --threads 1 --concurrency 4
optics-photonics environmentsUse a release wheel when Git is unavailable. Prepare creates an isolated environment only for listed recipes; commercial tools, MPI builds and GPU distributions use their own installers. Configuration is kept under OPTICS_HOME or ~/.optics-photonics.
Connect installed simulation software
optics-photonics discover
optics-photonics bind-native lumerical --python /path/to/python --sdk-path /path/to/api/python --threads 4
optics-photonics submit lumerical --program research.py --inputs "@inputs.json"| Software | Connection | Execution host | Operations |
|---|---|---|---|
| Lumerical | lumapi / PyLumerical | Windows · Linux | FDTD, MODE, DEVICE, INTERCONNECT; models and monitor results. |
| COMSOL | MPh → Java API | Windows · Linux · macOS | Parameters, studies, fields and the complete Java API. |
| OpticStudio | ZOSPy → ZOS-API | Windows | Lens and nonsequential systems, ray tracing and native analyses. |
| CST | cst.interface / cst.results | Windows · Linux | Projects, model history, solvers and result trees. |
Each background step owns one software session. Its program can build geometry, modify materials, run an optimization loop and export data through the full native API. Work models are saved in the result directory. Discovery and configuration do not launch the licensed solver.
The connector is checked on three operating systems. Commercial adapters have session-lifecycle checks; licensed solver execution requires the target workstation. Solver and SDK platform support follows the installed version. Native software guide
One package. Native host connections.
optics-photonics connect agentic-research-os --output optics-plugin| Host | Command option | Package | Use |
|---|---|---|---|
| Agentic Research OS | agentic-research-os | plugin.json · ${RESEARCH_PYTHON} | Install and activate the package revision. |
| Codex | codex | .codex-plugin · .mcp.json · uv | Native plugin or generated MCP registration command. |
| Claude Code | claude | .claude-plugin · .mcp.json | uv + claude --plugin-dir PATH |
| DeepSeek Harness | deepseek | optics.cordis.yml | dsh web --patch PATH/optics.cordis.yml |
| Qiushi | qiushi | MCP · tools / call | Research OS editions use its native package. |
| Agent Plugins | portable | plugin.json · mcp.json | Install in a host supporting portable Agent Plugins. |
| MCP | mcp | mcp.json | Register stdio in the host’s format. |
Install once, keep environments
New connector versions produce a new plugin directory. The host updates its installed package; software environments and saved experiments remain separate.
Local and remote execution
Run MCP on the computer with the scientific environment. A remote host can launch it over SSH; calculations and large files remain on the computing machine.
Each generated package includes INSTALL.md with the host command, Python location and update procedure. The same MCP server serves all host packages.
Software, interfaces and execution.
Filter by physical domain, license and route: how the environment reaches the software. Each card names its routes and, where a recipe installs it, the installer. Open a record for native interfaces and original sources.
Start from the physical question.
Choose a representation from the observable, scales, coherence, polarization and material response. Read the methods needed for the current task.
Pass physical quantities, not just files.
A field needs coordinates, sampling, phase and normalization. A circuit needs port modes and reference planes. A material needs its source and spectral range. Preserve these with each model and result.
Keep research calculations running.
Submit a complete program or a dependency graph. Independent workers continue after the Agent disconnects; reconnect using the same research run ID.
optics-photonics submit tmm --program research.py --inputs "@inputs.json" --request-id study-001
optics-photonics status RUN_ID
optics-photonics files RUN_ID
optics-photonics read RUN_ID calculate/attempt-1/result.json
optics-photonics download RUN_ID calculate/attempt-1/spectrum.csv spectrum.csvNative program
INPUTS supplies JSON parameters. OUTPUT_DIR stores arrays and models. RESULT returns compact JSON.
Parallel and sequential
Independent steps can run concurrently. Dependencies set order; bindings transfer selected outputs into the next inputs. Keep a persistent solver session in one program.
Resources
CPU and named GPU/license capacities coordinate all submitted runs. Each environment declares threads, concurrency and resource requirements. The native program selects actual GPUs, MPI ranks and cluster queues.
Scientific records
Inputs, source, software versions, environment settings, results and native data files stay together. Written files can be read while other calculations continue.
Resume preserves completed steps and reruns unfinished steps in a new attempt directory. Append new steps to the same run. Native solver checkpoints and remote task IDs remain part of the research program.