AI-Powered Auto-Layout for PCB Design with Flux Copilot
Simplify your PCB design process by using Auto-Layout, an AI-powered feature that automatically routes your design.
Overview
Auto-Layout leverages Flux's Copilot AI to handle the time-intensive task of routing your PCB. This tool is ideal for simple to medium-complexity boards and can significantly accelerate your workflow. However, Auto-Layout has a few limitations to keep in mind, including credit consumption, iteration management, and time requirements.
This guide helps you get started, navigate the process, and make the most of Auto-Layout while avoiding common pitfalls.
Getting Started
Initiate Auto-Layout
Make sure your schematic and component placement are finalized.
- Adjust any specific constraints for your board, such as dimensions, component orientations, or keep-out zones. Learn more.
- Confirm your credit allowance before starting. Auto-Layout consumes Copilot credits per job based on complexity. Learn more.
Click on the auto-route button at the bottom page.

Understanding the States of the Process
Auto-Layout operates in several stages:
- In Queue: Your job is waiting to start.
- Working: The AI is generating layout iterations.
- New Iterations Arrived: An iteration is available for review.
- Converged: The AI has reached an optimal layout.
- Error: The job has encountered an issue (e.g., out of credits or processing failure).
Iteration Management
Iterations are intermediate steps the Auto-Layout engine generates as it works towards an optimal layout. Initially, there may be significant differences between iterations as the AI refines placement and routing. Over time, these changes become smaller, and the process approaches convergence, where further iterations show no meaningful improvements.
Convergence
Convergence occurs when the layout stabilizes, either due to reaching the best possible arrangement, or when iterations have no meaningful changes between them.
Auto-Layout might not always fully converge, but you can review and apply any iteration you find satisfactory during the process.
Viewing Iterations
While Auto-Layout is running, you can review iterations using the scroll bar at the bottom of the page:
- Drag the scrubber to view available iterations in real time.
- If you find a promising layout, click on the check button to apply it to your project to save it permanently.

If you stop the job, all iterations will be lost unless you have applied one to your project.
Error States
If Auto-Layout encounters an error, you may see one of the following:
- Out of Credits: Your account has reached its credit limit.
- Error State: An issue with the AI process. Check your project constraints and try again.
Applying Changes
When you have an iteration selected, you can click on the "Apply" button to save all the changes to your project. From that point forward, a new version will be generated with all the changes. You can use the version control system to revert the changes and go back to the version before the auto router at any point.
After applying the changes, all the other iterations will be lost. Make sure you carefully select the best iteration before clicking on the apply button.
Layout Tips
Proper PCB layout and component placement are critical to the success of your design. When using the Auto-Layout feature, getting this foundational step right ensures smoother routing paths and better results.
To help you optimize your component placement, we've created a detailed video tutorial. This guide will walk you through:
- Logical component placement for better routing results
- Avoiding common placement errors that complicate routing.
- Setting up routing parameters for optimal Auto-Layout performance.
Best Practices for AI-Assisted Auto-Layout
- Optimize component placement first: The quality of your initial component placement significantly impacts Auto-Layout results
- Set appropriate constraints: Define clear design rules and constraints before starting Auto-Layout
- Be patient with complex boards: More complex designs require more iterations to reach optimal results
- Save promising iterations: Apply iterations you like before stopping the process to avoid losing them
- Review and refine: Auto-Layout is a starting point; manual refinement may still be necessary for critical traces
Troubleshooting Common Issues
Poor Routing Results
- Review your component placement and optimize for shorter trace paths
- Check that your design rules are appropriate for your board's complexity
- Consider simplifying complex areas of your design before re-running Auto-Layout
Convergence Problems
- For complex boards, allow more time for the process to complete
- If convergence stalls, try applying the best iteration and manually refining problem areas
- Consider breaking very complex designs into functional blocks for better results
Credit Consumption Issues
- Monitor your credit usage before starting Auto-Layout jobs
- For complex boards, consider running Auto-Layout during off-hours when you don't need immediate results
- Optimize component placement to reduce the complexity of the routing task
Additional Warnings
Credit Consumption: Each job uses credits, and complex boards require more.
Iteration Loss: Stopping a job results in the loss of un-applied iterations.
Stopping jobs: You cannot pause a job; stopping it means starting over.
Convergence: for medium-complexity boards, initial results can take up to 30 minutes, with full convergence potentially taking 10–24 hours.
- Auto-Layout may not always reach a fully converged state.
Credit Limits: Credit limits cannot yet be set per project, only at the account level. Learn more.
What's Next
Now that you've learned how to use Auto-Layout, you might want to explore:
- Component Placement - Learn best practices for optimizing component placement
- Layout Rules Deep Dive - Discover how to set up effective design rules
- AI Design Reviews - Use AI to validate your PCB designs
- Generative AI Use Cases - Explore other ways AI can enhance your design process