Connect etendue to your tools through the API and MCP
Let your scripts and your AI assistant drive etendue for you.
- Automate your calculations: chain analyses, plug in your in-house tools and run thousands of variants unattended.
- Drive etendue from the AI assistant you already use, on your computer or your phone.
What is an API?
An API is a program’s front door for other programs: your code sends a request and gets the result back, like a mouse click, but written down. With the etendue API, your scripts load a system, run an analysis or an optimisation and collect the results, without going through the interface.
With the API, you can:
Build your own workflows
- Chain etendue operations in your scripts: load a system, optimise it, tolerance it and analyse it, in the order you choose.
- Insert your own calculations between two steps and let their output decide what runs next.
- Move the macros of your old design software to Python.
- Trace a ray at an exact coordinate and compute your own criteria from the results.
Connect your in-house tools
- Feed etendue from your spreadsheets, databases and test benches, and send the results back to them.
- Apply your production measurements to your design and see their effect on its performance.
- Import a complex beam profile computed in your own code.
Run at scale
- Sweep parameter grids and product variants unattended and collect every result in your own database.
- Run your own tolerancing loop with distributions taken from your suppliers’ data.
- Check every design revision against its specification automatically, before it goes to review.
Use the AI features from your code
- Launch the automatic generation of starting designs, or the A.R.G.O.S. design assistant, which designs a system from a specification, and retrieve the designs they deliver.
- Save the systems and steps your script built as projects your team opens in the application.
What is MCP?
MCP (Model Context Protocol) is an open standard that lets an AI assistant, in a chat or a code editor, use other software. Once it is connected to etendue, the assistant you already use can work in your etendue account when you ask it to.
With MCP, you can:
- Drive etendue from your phone: ask your assistant to check a design, start a calculation or summarise results while you are away from your workstation.Open my last project, check it against its specification and tell me what fails.
- Hand a specification to A.R.G.O.S., follow the design work from anywhere and find the result in your projects.Start A.R.G.O.S. on this specification, then update me in an hour.
- Go from a specification to a design and its verification report in a single conversation.Find the latest specification in my mail, design a lens for it and write the verification report.
- Apply to your design the tolerance table your supplier emailed you, without retyping it.Take the tolerance table my supplier sent by mail, apply it to my design and tell me the expected yield.
- Have the assistant write and test the script you need, then run it yourself through the API.Write a script that sweeps the focal length from 30 to 50 mm and saves the spot size for each value, then test it.
- Have the assistant set up a system and its analyses, then open it in etendue and click Run.Prepare a Cooke triplet with a spot diagram and an MTF analysis, and leave it ready for me to run.
How to connect your AI assistant to etendue
Create a key in etendue, then give it to your AI assistant.
- Open the menu and click API.
- Create a new key, then copy it.
- Give this key to your AI assistant, and keep it somewhere safe.