Claude Code to Flux
Bring your hardware work from Claude Code to Flux and continue it here. Flux is an AI hardware engineer. It uses the same frontier models, including Claude models from Anthropic, with the schematic and PCB editors, mechanical CAD, parts, simulation, and manufacturing built into one project.
In Claude Code, you connect outside design tools with scripts, and each engineer runs a separate agent. In Flux, the hardware tools are part of the project, and your engineers and Flux work in the same live project in the browser.
Import your design files into Flux
Your repository can contain board files, 3D models, and firmware source. Attach the files, a folder, or a ZIP file of the repository to a message in the Chat panel, and ask Flux to import them. Flux finds the formats and creates the new project or parts.
Import electronics projects
To do it in the UI:
Select Flux menu → Import → Project… under the Electronics heading.
In the Import Project to dialog, select your account or an organization in the dialog title.
Select Choose Files or Choose Folder, or drop the files, a folder, or a ZIP file into the dialog. For a KiCad project, upload the
.kicad_pro,.kicad_sch, and.kicad_pcbfiles together, or the whole project folder.Select the projects to import, then start the import. Each import creates a new project.
Flux imports projects from KiCad, Altium Designer, Eagle, EasyEDA, OrCAD and Allegro, PADS, and other tools. See Import designs and files for all formats.
Import mechanical models
Attach the STEP, STL, or OpenSCAD files that your scripts made, and ask Flux to add them to the project.
To do it in the UI:
In the Inspector, open Assets, select Manage Assets, then select Add Item.
Upload the
.step,.stp,.iges,.brep,.stl,.obj,.3mf,.glb, or.scadfile.
For native SOLIDWORKS, Parasolid, Fusion, and OpenUSD files, select Flux menu → Import → 3D Part or Assembly… under the Mechanical heading. See Import and edit CAD files.
Bring your firmware source
Share a public Git repository link, upload a ZIP of the source, or paste the files into the chat. Ask Flux to read the code structure before you ask for a change.
Flux keeps the source in the project files. Select Files in the project view switcher to read it. See Write firmware.
Move your CLAUDE.md rules to Knowledge
Your CLAUDE.md files hold the rules that Claude Code follows in a repository. In Flux, these rules go into Knowledge. Flux applies them each time it works on the project. Paste the hardware rules from your CLAUDE.md file into the chat, and ask Flux to save them.
To review the entries in the UI, select Add tab in the editor view switcher, then select Knowledge. See Team and project knowledge.
Keep Claude Code connected to Flux
You can keep Claude Code for your software work. Connect it to the Flux MCP server. Claude Code can then read your Flux projects and hand design work to Flux.
Add the Flux server from a terminal:
claude mcp add -t http flux https://app.flux.ai/mcpRun
/mcpin Claude Code.Complete the Flux sign-in in your browser.
Then ask Claude Code to work with Flux:
See Use Flux in your AI tools.
What you can do with your design in Flux
After the import, your design is a Flux project. Ask Flux to work on it. Flux works on the electronics, the mechanical parts, the firmware, and the manufacturing in the same project.
Turn the imported project into a complete device
Ask Flux to add what the device needs. An imported board gets an enclosure and firmware. An imported mechanical model gets a PCB that fits it, and firmware for that board.
Ask Flux to design the missing mechanical parts or the missing board. Use the outline, the mounting holes, and the connectors of the imported design.
Ask Flux to write firmware for the microcontroller and the peripherals in the schematic.
If the device has off-board sensors or actuators, ask Flux to design a wire harness between them and the board. See Design wire harnesses.
Design the schematic and the PCB
Ask Flux for the requirements, the parts, the schematic, and the PCB layout. Flux selects parts from a library with live stock and pricing from distributors. Flux places and routes the board in the PCB editor.
See Route with Flux.
Design mechanical parts and assemblies
Ask Flux for enclosures, brackets, mounts, mechanisms, and complete assemblies. Flux builds them around the 3D models of your boards and parts. Each part has editable CAD code that you and Flux can change.
See Mechanical Design and Editable CAD Code.
Build and test the firmware
Ask Flux to build the firmware, run host unit tests, and report the memory footprint.
Simulate and check the design
Ask Flux to simulate circuits, check the board temperature, and analyze the stress, the heat, and the air flow of the mechanical parts.
See Simulation.
Work on several tasks at the same time
Ask Flux to run separate workstreams in parallel, for example the main board, a daughterboard, and the enclosure. Each workstream has its own thread.
To follow the threads, select Show All Threads in the Chat panel. See Parallel threads.
Choose the model
Flux uses frontier models from OpenAI, Anthropic, and Google. Choose Adaptive to let Flux select a model for each step, or choose a Claude model from the list.
Open the chat composer.
Select the model control, or type
/model.Select Adaptive, Max, Lite, or a model from the list.
See Model selection.
Get quotes and order
Ask Flux for the fabrication files, PCB quotes and orders, and quotes for 3D-printed and sheet-metal parts.
See Manufacturing.
Claude Code concepts in Flux
In Claude Code | In Flux |
|---|---|
Prompts in the terminal or code editor | Prompts in the Chat panel of the project, in the browser. |
Scripts that drive outside design tools | The schematic and PCB editors, mechanical CAD, parts, and simulation in the project. |
| Knowledge for you, a project, or your organization. |
Subagents and agent teams | Parallel threads for separate workstreams. |
Repository files | The project design, its assets, and its project files. |
Git commits and history | Change History. Flux saves each change. |
MCP servers | AI Integrations in the chat composer. See Integrations and secrets. |
|
|
One agent for each engineer | One live project that your engineers and Flux work in at the same time. |