Flux vs tscircuit: tscircuit codes boards. Flux engineers devices.

Flux is the tscircuit alternative for professional teams. tscircuit is a code-first framework where a general coding agent writes the design as TSX circuit code. Flux gives your team an AI hardware engineer with dedicated layout, placement, and datasheet infrastructure that designs the complete device in the browser: rigid-flex electronics, mechanical assemblies, firmware, simulation, sourcing, and manufacturing in one live project.

Flux editor: the AI engineer plans and delegates tasks while the 3D view shows the complete device: enclosure, circuit board, and wiring

What Flux and tscircuit are

What Flux is

Flux works as an AI hardware engineer in a shared browser project. It designs rigid-flex electronics, mechanical assemblies, wiring harnesses, and firmware, checks the design with professional simulation and design rules, and provides files, quotes, and orders for manufacturing. Your engineers direct and review the work in visual editors, not in code.

What tscircuit is

tscircuit is an open-source React and TypeScript framework for designing simple electronics in code. Engineers or AI coding agents write TSX components for boards, resistors, chips, and traces, and tscircuit renders the schematic and PCB layout from that code.[1]

tscircuit positions itself as a framework for AI-generated electronics: teams tell a coding agent such as Claude Code or Codex to use tscircuit, and the agent writes circuit code. tscircuit includes a real-time autorouter, analog simulation, KiCad integration, fabrication file exports, and an online playground.[1]

What tscircuit does

Circuits written in TSX

Boards are composed in React-style TSX with props, children, and hooks, so circuit designs can be versioned, branched, and reviewed with standard software workflows.[1]

Real-time autorouting

tscircuit advertises sub-second autorouting on 4-layer boards that runs locally and supports LLM-compatible tweaking.[1]

Open and forkable

tscircuit is open source under MIT, with an online playground, npm package, CLI, desktop app, and exports for fabrication files, KiCad, DSN, JSON, and netlists.[1]

From circuit code to device engineering

tscircuit gives a general coding agent a language for boards: the agent writes circuit code, and the board is only as good as what an LLM can express in that code. Flux is a different category of engineering. Its AI hardware engineer works on dedicated infrastructure built for hardware: layout and placement systems that position and route boards like an experienced designer, datasheet infrastructure that reads and checks every part, professional simulation, and a parts network with live sourcing. On top of that depth, Flux designs the complete device: rigid-flex electronics, mechanical assemblies, wiring harnesses, and firmware in one live browser project, with fabrication files, quotes, and orders. Your engineers direct and review the design in visual editors instead of reviewing generated code.

Close-up of the ESP32 x86 PC board, marked Made with Flux
A Flux board and enclosure designed in one project.
Flux compared with tscircuit
Feature Flux tscircuit
Requirements and specification The AI engineer turns your idea into requirements and a product specification, and checks the design against them. Requirements are expressed in TSX circuit code, often written by an AI coding agent prompted to use tscircuit.[1]
What it is AI hardware engineer with its own design tools Open-source React and TypeScript framework for designing electronics in code.[1]
Where it runs In your web browser. Nothing to install. Your projects live in the cloud. Online playground, npm package, CLI, and a desktop app; an Enterprise version supports offline use.[1]
Who does the design work The Flux agent. Your engineers review and edit. An AI coding agent or an engineer writes the circuit code; engineers review code diffs and rendered previews.[1]
Schematic and parts Built in. Picks from 773,000+ public parts. Schematics are rendered from TSX circuit code; parts can be imported from JLCPCB, KiCad, and Ultra Librarian.[2]
Board layout and routing Built in PCB layouts are rendered from code, with manual placement coordinates and constraints in TSX.[1]
Placement and routing The AI engineer places the parts and routes the board like an experienced designer. Your engineers review and edit. Real-time autorouter with sub-second routing on 4-layer boards, including DDR routing guides.[1]
High-speed design The AI engineer plans DDR topology and timing budgets, routes differential pairs and length-matched buses, tunes length and skew, fans out BGAs with blind, buried, and microvias, and sets trace impedance from your stackup. It checks the routed board with S-parameters, TDR, eye diagrams, crosstalk analysis, and a signal integrity, power integrity, and EMC review. Your engineers review and edit. Documentation covers DDR routing; no dedicated high-speed constraint workflow is listed.[2]
Flex and rigid-flex boards Built in. Named stackups for rigid and flex areas, coverlay and stiffeners, hatched flex pours, bending lines with a folded 3D view and folded STEP files, flex design checks, and Gerber, ODB++, and IPC-2581 files. The AI engineer routes each area on its own layers. No rigid-flex design workflow is listed.[1]
Parts and sourcing 773,000+ public parts from distributor catalogs, manufacturer libraries, open standards, and engineers, with live prices and stock Imports chips and modules from JLCPCB, KiCad libraries, and Ultra Librarian; a Verified Chips Program lists validated parts.[2]
Simulation and design rule checks SPICE, power delivery network, full-wave electromagnetic, signal integrity, thermal, and mechanical simulation, plus design rule checks Analog SPICE simulation with transient, AC, and DC analyses.[2]
Firmware Writes firmware for the board it designed, then compiles, analyzes, and unit tests it against the same project. No firmware workflow is listed.[1]
Wiring harnesses Built in. Flux designs the wiring harnesses between the boards: connectors, pinouts, and wires, in the same project. Documentation lists wire harness drawings as assembly outputs, not a harness design workflow.[2]
Manufacturing files Gerber, ODB++, IPC-2581, bill of materials, pick-and-place, and more; Flux can check the files before you order, including copper gaps, silkscreen, board outline, BOM, and pick-and-place files. Exports fabrication files, KiCad, DSN, JSON, and netlists from the same board source.[1]
Quotes and orders Quotes and orders for boards, 3D printing, CNC machining, and wire harnesses, from the project. A tscircuit shop and prototype ordering documentation are listed.[1]
Import from other tools Imports complete projects from Altium, OrCAD and Allegro, KiCad, PADS and Xpedition, CADSTAR, Eagle, Fusion Electronics, EasyEDA, DipTrace, and SOLIDWORKS PCB. Flux imports Labcenter Proteus SDF netlists with Specctra board exports. IPC-2581 revision B and C files become board projects with reusable footprint parts. IDF 2.0 and 3.0 board files become board projects with the outline, cutouts, drilled and mounting holes, part placements, and 3D part heights. Imports from KiCad, JLCPCB parts, Ultra Librarian, and Circuit JSON.[2]
Versions, branches, and merges Full change history. The AI engineer forks a design into a second version, keeps both, and merges the changes that you pick. Circuit code versions natively in Git with visual diffs, approvals, comments, and rollback inside GitHub.[1]
Who reviews the work The whole team, in one live project in the browser: electrical, layout, mechanical, and firmware engineers Engineers review code diffs and rendered schematic, PCB, and assembly previews.[1]
Product images, videos, and documents Product images, product videos, datasheets, and regulatory documents, made from the design in the project. Exports fabrication files and assembly drawings; no managed launch workflow is listed.[1]
Price Unlimited manual editor use. Chat mode does not use ACUs. Every plan includes monthly AI usage, with additional usage available. Open source under MIT. tscircuit also lists professional support and an Enterprise offline offering.[1]
Plus the mechanical parts too
Mechanical CAD Built in, kernel agnostic. Flux designs enclosures and complete mechanical assemblies around the real board, including mounting holes, connectors, cutouts, screws, and standoffs. Assembly elements cover cables, bolts, and devices; no enclosure modeling workflow is listed.[2]
Mechanical simulation Finite-element stress, thermal, and airflow simulation No mechanical assembly simulation is listed.[1]
Mechanical manufacturing STEP, STL, and 3MF files, plus quotes for 3D printing, CNC machining, sheet metal, and laser cutting Assembly drawings and BOM tables can be rendered; no mechanical manufacturing output is listed.[2]
CNC toolpaths and G-code The AI engineer writes the toolpaths, the G-code, a toolpath preview, and a setup sheet for the parts that it designed. No CNC toolpath or G-code workflow is listed.[1]

Build the whole device in one live project

Start a Flux project free and describe the rigid-flex board, mechanical assembly, firmware, harnesses, and manufacturing package your team needs.

Board design, done by the AI engineer.

Designs, not just code

Flux engineers the board directly in the project. Your team reviews the schematic and layout in visual editors, not generated circuit code.

Parts you can buy

Flux picks from 773,000+ public parts. It checks live prices and stock across distributors before it puts a part on the board.

Your layout rules

Flux checks every board against your layout rules and the capabilities of your fabricator.

Checks every datasheet

Flux reads the datasheet of every part and checks the design against its pinouts, ratings, and limits.

Bring your electronics projects into Flux.

Import an existing ECAD project, then connect the electronics with mechanical parts and firmware in the same project.

Example request

“Continue the circuit design, add an enclosure, and write firmware for the board.”

An engineer holds a relay board in a blue 3D-printed enclosure
A Flux board and enclosure designed in one project.
  • Altium Altium Designer
  • Cadence OrCAD and Allegro
  • KiCad KiCad
  • Siemens PADS, Xpedition, and NX
  • Zuken CADSTAR
  • Autodesk Eagle and Fusion
  • EasyEDA EasyEDA
  • SolidWorks SolidWorks
  • CATIA CATIA
  • PTC Creo
  • Onshape Onshape

Bring your existing work

Import complete projects, part libraries, and 3D models. Schematics, parts, and placement come across, and routing from most formats.

Keep going with your AI engineer

Imported designs are ready to edit right away. Ask "move the USB cutout 3 cm left" or "make the enclosure tighter", and Flux does the work.

Get it manufactured

Flux hands you the files that your manufacturer needs: Gerber, ODB++, IPC-2581, bill of materials, and pick-and-place for the board, and STEP, STL, or 3MF for the mechanical parts.

See all file formats
Complete projects
Flux imports complete projects from Altium, Cadence OrCAD and Allegro, KiCad, Siemens PADS and Xpedition, Zuken CADSTAR, Eagle, Fusion Electronics, EasyEDA, DipTrace (XML export), and SOLIDWORKS PCB. Schematics, parts, connections, board outlines, and placement come across. Flux imports Labcenter Proteus SDF netlists with Specctra board exports. IPC-2581 revision B and C files become board projects with reusable footprint parts. IDF 2.0 and 3.0 board files become board projects with the outline, cutouts, drilled and mounting holes, part placements, and 3D part heights.
Part libraries
Altium, OrCAD, PADS, KiCad, Eagle, Fusion Electronics, EasyEDA, and DipTrace libraries, Allegro footprints, and JEP30 part models become Flux parts.
Mechanical files
STEP, STL, OBJ, 3MF, and glTF models, plus DXF board outlines.
Manufacturing and electronics tool formats
Gerber, ODB++, IPC-2581, IPC-D-356 test netlists, bill of materials, pick-and-place, EDIF netlists, GenCAD, and KiCad board files.
Schematic documentation
Vector schematic PDFs for design reviews and printing, with one sheet per functional group and off-sheet references between connected sheets.
Mechanical design formats
The full board and its parts as STEP, compressed STEP, BREP, VRML, glTF, and STL models, plus DXF layer drawings. Enclosures and brackets that Flux designs export as STEP, STL, and 3MF, ready for your mechanical tools or a 3D printer.
Exports where you work
Components, Nets, BOM, and Pins tables download as CSV, Excel, Markdown, or PDF, with the columns and sort order you see. Project documents download as PDF or in their source format. Schematic and Layout views also download and copy as Markdown: parts and nets from schematics, placement and nets from layouts. Schematic, Layout, 3D View, and Symbol views have their own copy and download menu, and every PDF carries a title block and a QR code that link back to the project, ready to print for certification files.

Orchestration

One request. A whole team of AI engineers.

Hand Flux a complete product. The lead AI engineer splits it into workstreams, starts parallel threads across projects, manages them, and reports back.

Parallel threads

Each workstream runs in its own agent thread. The main board, the daughterboards, and the enclosure come together at the same time.

Across projects

The lead engineer starts work in other projects and tracks it all from one place.

Managed for you

It monitors every thread, steers work that goes off the brief, and collects the results.

You stay in control

Changes that move an interface or resize a board wait for your approval.

Example

A product with three daughterboards

Flux writes a brief for each board with its outline, mounting holes, connectors, and the enclosure openings they line up with. Each board gets its own project and its own AI engineer, and all three are designed in parallel. Flux then places the finished boards in the main assembly and measures clearances and connector alignment in millimeters.

Verification lab

Simulates and checks its own work before you build.

Flux doesn't stop at generating designs. The AI engineer simulates and checks its own work with professional-grade solvers, and it shows you the results.

Circuit simulation

SPICE simulation of analog, power, and mixed-signal circuits, with Monte Carlo, temperature sweep, and noise analysis, run and read by the AI engineer.

Electromagnetic simulation

Full-wave simulation of the routed board: signal integrity, power integrity, impedance, S-parameters, crosstalk, and antennas.

Design rule checks

Electrical and manufacturing rule checks on every schematic and board.

Datasheet checks

Reads the datasheet of every part and checks the design against its pinouts, ratings, and limits.

Thermal simulation

Flux runs PCB thermal analysis of the routed board at stated operating powers, plus heat and airflow simulation of the enclosure, before you build.

Fluid simulation

Airflow and cooling through the enclosure, so vents, fans, and heat sinks work before the first prototype.

Mechanical simulation

Finite-element stress analysis of brackets, enclosures, and mounts.

SPICE load step of a 3.3 V buck converter
SPICE load step of a 3.3 V buck converter
Thermal map of top and bottom copper
Thermal map of top and bottom copper
Stress analysis of an aluminum bracket
Stress analysis of an aluminum bracket
S-parameters of a USB data line, simulated on the routed board
S-parameters of a USB data line, simulated on the routed board

Sourcing

A parts network that starts before generation

Flux gives the AI hardware engineer 773,000+ public parts from the electronics industry. Distributor-backed catalogs provide most of the library, while KiCad, IPC-7351, JEDEC JEP95, Seeed Open Parts List, manufacturer libraries, and individual engineers add depth. AI part creation fills the gaps; it does not start from an empty page.

  • Digi-Key Digi-Key
  • LCSC LCSC
  • Mouser Mouser
  • Arrow Arrow
  • Verical Verical
  • TME TME
  • HQonline HQonline
  • McMaster-Carr McMaster-Carr
  • MISUMI MISUMI
  • JLCMC JLCMC

Manufacturing

Gets quotes from your fabricators as the design changes.

Flux gets quotes directly from the fabricators for circuit boards and assembly, 3D printing in plastic and metal, CNC machining, sheet metal, laser cutting, injection molding, casting, and wiring harnesses. The AI engineer compares price and lead time, checks the design against each fabricator's rules, keeps the quote current as the design changes, and places the order when you confirm.

Circuit boards and assembly

  • JLCPCB JLCPCB
  • PCBWay PCBWay
  • OSH Park OSH Park
  • AISLER AISLER

Mechanical parts

  • Craftcloud Craftcloud
  • JLC 3D printing JLC 3D printing
  • PCBWay 3D printing PCBWay 3D printing
  • Shapeways Shapeways
  • OSH Cut OSH Cut
  • SendCutSend SendCutSend

Cables and wiring harnesses

  • MiniProto MiniProto

Depth across the complete device

Layout and placement infrastructure

Flux places parts and routes boards on dedicated engineering infrastructure built for hardware, not through an LLM attempting layout in code.

Datasheet infrastructure

Flux reads the datasheet of every part and checks the design against its pinouts, ratings, and limits, on infrastructure built for that job.

Rigid-flex electronics

Flux designs rigid and flex areas with named stackups, coverlay, stiffeners, bending lines, folded 3D views, and manufacturing files.

Mechanical assemblies, not only boards

The AI hardware engineer models enclosures and mechanical assemblies around the real board, with mounting holes, connectors, cutouts, screws, and standoffs.

Firmware connected to the hardware

Flux writes firmware for the board it designed, then compiles, analyzes, and unit tests it in the same project.

Simulation across disciplines

Flux checks designs with circuit, electromagnetic, signal integrity, thermal, and mechanical simulation plus design rule checks.

Manufacturing in the project

Flux provides fabrication files and project-based quotes and orders for boards, mechanical parts, and wire harnesses.

One platform

And the mechanical parts and firmware too.

Flux is not a collection of disconnected CAD applications. It is one AI-native engineering platform where every discipline shares the same project, the same data, and the same AI engineer.

  1. Boards, enclosure, and mounts in one model

    Mechanical design

    Parametric enclosures, brackets, and mounts, fitted to the real board's mounting holes and connectors. Bring in your own STEP models. One Flux parts library for the whole product: public parts, private organization libraries, and supplier-shared parts for chips, connectors, devices that are not on the board, and mechanical hardware such as screws and standoffs.

  2. STM32 current-loop firmware that Flux wrote and compiled, in a syntax-highlighted code block

    Firmware

    Firmware for the board Flux designed, for example on Arm Cortex-M, RISC-V, AVR, or Pico, then built, analyzed, and unit tested.

An engineer fits a board into a green 3D-printed enclosure
A Flux board and enclosure designed in one project.

Model-agnostic AI

Your favorite AI models. Our engineering superpowers.

Flux pairs frontier AI models with a state-of-the-art agent harness built for CAD and EDA. The models bring reasoning. Flux brings the engineering tools, project context, and workflows that turn that reasoning into working hardware.

  • OpenAI
  • Anthropic
  • Google Gemini
  • More as they ship
Adaptive model selection

Frontier performance at 30% lower cost.

Adaptive splits every engineering job into tasks and gives each task to the model that does it best for the price. Hard design decisions go to frontier models. Routine work goes to fast, low-cost models. Independent tasks run in parallel, so complete devices come together faster. Your team works with one AI engineer, and Flux handles the delegation behind the scenes.

Frontier AI models

  • Reasoning
  • Planning
  • Language

Flux engineering harness

  • CAD and EDA tools
  • Project context
  • Simulation
  • Design rules

Working hardware

  • Schematics
  • Boards
  • Enclosures
  • Firmware
  • Fab files
  • Product videos

Every frontier model, one platform

Work with the frontier models your team already trusts, inside Flux.

Engineering superpowers built in

Every model gets Flux's specialized engineering tools, project context, and workflows.

Upgrade without migrating

When a better model ships, your team gets it without switching engineering platforms.

No single-vendor lock-in

Avoid depending on any one model provider for your engineering capacity.

The right model for every step

Adaptive matches each engineering step to the model that does it best, from deep design decisions to routine checks.

Your designs stay yours.

  • SOC 2-aligned cloud infrastructure
  • Single sign-on (SSO)
  • Project-level permissions
  • Inputs and outputs are always your IP
  • No training on customer data

Flux pricing

  • Explore

    For learning and evaluation, with light AI usage and unlimited manual editing.

  • Build

    For active hardware projects, with included AI usage and additional usage available.

  • Pro

    For larger projects and heavier AI usage, with hands-on support from experienced electrical engineers.

  • Teams

    For teams on shared projects, with pooled AI usage, member seats, and priority support.

Eligible individual plans include a free trial. Teams subscriptions start paid; trial and pricing terms depend on your current offer. See all plans

Not ready to pick a plan? Start for free

When to use which

Use tscircuit when you want to explore AI-generated electronics as open-source TSX circuit code that a coding agent writes and Git versions. Choose Flux for product work: a complete device with connected rigid-flex electronics, mechanical assemblies, firmware, harnesses, simulation, sourcing, and manufacturing in one live project.

Questions

Give Flux your next requirement.

Explore individual plan offers, or book a demo with our team.

Sources

  1. tscircuit homepage (checked December 4, 2026): https://tscircuit.com/
  2. tscircuit documentation (checked December 4, 2026): https://docs.tscircuit.com/