PCBai is an intelligent PCB (Printed Circuit Board) design agent that leverages conversational AI and advanced algorithms to automate and optimize circuit board design. Transform your design specifications into production-ready PCBs through natural language instructions and automated optimization.
Whether you're designing IoT devices, embedded systems, educational projects, or rapid prototypes, PCBai handles the complexity of modern PCB design with intelligent automation while maintaining complete control over your designs.
Automatically generate circuit schematics from high-level specifications. Simply describe your circuit requirements and let PCBai create the schematic representation.
Optimize component placement on your PCB using advanced algorithms that consider:
- Signal integrity
- Thermal management
- Manufacturing constraints
- Design aesthetics
Automatic trace routing with multiple optimization strategies:
- Shortest path routing
- Thermal optimization
- EMI/RFI minimization
- Current distribution balancing
Comprehensive design rule validation ensures:
- Trace width compliance
- Spacing requirements
- Via requirements
- Manufacturing compatibility
Advanced analysis capabilities:
- Impedance matching
- Crosstalk detection
- Reflection analysis
- Timing verification
Design sophisticated PCBs with support for:
- 2-layer boards (simple designs)
- 4-layer boards (mixed-signal designs)
- 6+ layer boards (complex systems)
- Custom layer stackups
Export production-ready files:
- Gerber format (.gbr, .gbs, .gbl, etc.)
- Drill files (.xln, .txt)
- Netlist files
- BOM (Bill of Materials) generation
- Assembly drawings
Design connected sensors and smart devices with optimized power management and wireless integration.
Create sophisticated control boards for robotics, automotive, and industrial applications.
Accelerate your development cycle with automated design optimization and quick iterations.
Learn PCB design fundamentals with guided, AI-assisted workflows perfect for students and hobbyists.
Generate manufacturing-compliant designs ready for immediate fabrication.
# Install PCBai
pip install pcbai
# Verify installation
pcbai --versionfrom pcbai import PCBDesigner
# Initialize the designer
designer = PCBDesigner()
# Define your circuit specifications
specs = {
"name": "IoT Sensor Board",
"components": ["ESP32", "DHT22", "BMP280"],
"power": "3.3V",
"layers": 2
}
# Generate PCB design
design = designer.create_design(specs)
# Optimize placement and routing
design.optimize()
# Export for manufacturing
design.export_gerber("output/")# Create a new PCB project
pcbai new --name my_board --type embedded
# Run design optimization
pcbai optimize --config design.yaml
# Export production files
pcbai export --format gerber --output ./gerber/PCBai is built on a modular architecture consisting of:
- Schematic Engine: Converts specifications to circuit topology
- Placement Optimizer: Uses advanced algorithms for component placement
- Routing Engine: Implements intelligent trace routing with multi-objective optimization
- Analysis Engine: Performs DRC, signal integrity, and thermal analysis
- Export Module: Generates standard PCB manufacturing files
- Python 3.8+: Core implementation
- Numpy/Scipy: Scientific computing and optimization
- NetworkX: Graph-based algorithms
- KiCAD: CAD integration (future)
- OpenAI: AI-powered conversational interface (coming soon)
We welcome contributions from the community! Here's how you can help:
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/PCBai.git - Create a feature branch:
git checkout -b feature/amazing-feature - Install development dependencies:
pip install -r requirements-dev.txt
- Make your changes following our code style guidelines
- Write tests for new functionality
- Run tests:
pytest tests/ - Commit with clear messages:
git commit -m 'Add amazing feature' - Push to your fork:
git push origin feature/amazing-feature - Open a Pull Request with a clear description
- Follow PEP 8 conventions
- Use type hints for function signatures
- Add docstrings to all public functions
- Keep functions focused and testable
Found a bug? Please create an issue with:
- Clear description of the problem
- Steps to reproduce
- Expected vs actual behavior
- System information (OS, Python version, etc.)
Have an idea? Open an issue and label it as a feature request with:
- Problem statement
- Proposed solution
- Use cases
- Why it matters to you
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2026 Corning-AI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- GitHub Issues: Report bugs or request features
- Discussions: Join our community discussions
- Email: hello@corning-ai.com
- Website: https://corning-ai.com
PCBai is developed and maintained by the Corning-AI team. Special thanks to:
- The open-source PCB design community
- Contributors and early adopters
- Academic researchers in EDA and AI
Made with ❤️ by Corning-AI
