Status note: this document reflects the API-first FastAPI branch direction, not the canonical shipped backend. The current product backend is the Flask server in
api_server.pyexposed bycircuit-ai-api; use the README and v2 guides for the default contract.Canonical product/use-case map: VALUE_AND_WORKFLOWS.md
Circuit.AI is an enterprise-grade API platform for PCB (Printed Circuit Board) analysis, built for developers and teams. This document describes the API-first product direction and secondary FastAPI-oriented platform surface, including AI-powered component detection, value assessment, and educational insights.
- API-First Architecture: Built for developers, integrated by teams
- Enterprise-Grade: Production-ready with 99.9% SLA, rate limiting, and monitoring
- AI-Powered Analysis: Advanced computer vision and machine learning for component detection
- Developer Experience: Clean APIs, comprehensive SDKs, and detailed documentation
- Scalable Infrastructure: Handles high-volume requests with Redis caching and job queues
- Component Detection: AI-powered identification with 95%+ accuracy
- Value Assessment: Real-time market value calculation
- Educational Content: Curated learning materials and project recommendations
- Batch Processing: Efficient bulk analysis capabilities
- Real-time Streaming: WebSocket support for live updates
- Multi-language SDKs: Native Python and JavaScript SDKs
https://api.circuit-ai.com/v1/
├── /analyze # PCB analysis endpoint
├── /analyze/batch # Batch analysis
├── /components # Component information
├── /projects # Project templates
├── /educational/{id} # Educational content
├── /analyses # Analysis history
├── /analyses/{id} # Specific analysis
├── /usage # Usage statistics
└── /health # Health check
- API Key: Bearer token authentication
- Rate Limiting: Tier-based limits (Free/Pro/Enterprise)
- Usage Tracking: Comprehensive analytics and monitoring
{
"success": true,
"analysis_id": "anal_123456789",
"components": [
{
"type": "ic_chip",
"name": "Arduino Uno R3",
"confidence": 0.95,
"value": 25.00,
"function": "Main processing unit",
"bbox": [100, 150, 200, 250],
"center": {"x": 150, "y": 200},
"specifications": {
"voltage": "5V",
"current": "20mA",
"pins": 14
}
}
],
"total_value": 25.00,
"analysis_time": 2.3,
"timestamp": "2024-01-15T10:30:00Z"
}import circuitai
client = circuitai.Client(api_key="your-api-key")
# Analyze a PCB image
result = client.analyze_pcb("pcb_image.jpg")
print(f"Found {len(result.components)} components")
for component in result.components:
print(f"- {component.name}: ${component.value}")import CircuitAI from 'circuit-ai-sdk';
const client = new CircuitAI({ apiKey: 'your-api-key' });
// Analyze a PCB image
const result = await client.analyzePCB('pcb_image.jpg');
console.log(`Found ${result.components.length} components`);
result.components.forEach(component => {
console.log(`- ${component.name}: $${component.value}`);
});- 50 requests/month
- Basic component detection
- Community support
- No SLA guarantee
- $0.10 per request
- Advanced AI detection
- Real-time WebSocket streaming
- 99.9% SLA guarantee
- Priority support
- Custom volume pricing
- Dedicated infrastructure
- Custom model training
- On-premise deployment
- 24/7 dedicated support
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ API Gateway │ │ Core Services │ │ AI/ML Engine │
│ │ │ │ │ │
│ • Authentication│ │ • Analysis │ │ • YOLOv8 │
│ • Rate Limiting │ │ • Components │ │ • OpenCV │
│ • Monitoring │ │ • Projects │ │ • LiteLLM │
│ • Load Balancing│ │ • Educational │ │ • Multi-model │
└─────────────────┘ └─────────────────┘ └─────────────────┘
- Request: Client sends PCB image via API
- Authentication: API key validation and rate limit check
- Processing: AI pipeline analyzes image for components
- Enrichment: Component data enriched with specifications and values
- Response: Structured JSON response with analysis results
- FastAPI: High-performance Python web framework
- Redis: Caching and session management
- PostgreSQL: Primary data storage
- Docker: Containerized deployment
- Prometheus: Metrics and monitoring
- WebSocket: Real-time communication
- Interactive Docs: Swagger/OpenAPI interface
- Code Examples: cURL, Python, JavaScript samples
- SDK Documentation: Comprehensive guides and tutorials
- Live Testing: Upload images and test API endpoints
- Code Generation: Automatic SDK code generation
- Response Preview: Real-time response visualization
- Usage Analytics: Request counts, success rates, latency
- Rate Limit Status: Current usage and remaining quota
- Error Tracking: Detailed error logs and debugging info
- E-learning Platforms: Integrate PCB analysis into electronics courses
- Maker Spaces: Help students identify and reuse components
- Universities: Research and educational project development
- Component Suppliers: Automated inventory management
- Manufacturing: Quality control and component verification
- Repair Services: Component identification and sourcing
- Recycling Centers: Automated component extraction and valuation
- Sustainability: Educational programs for component reuse
- Circular Economy: Component lifecycle tracking
# Sign up at https://circuit-ai.com
# Get your API key from the dashboard# Python
pip install circuit-ai
# JavaScript
npm install circuit-ai-sdkimport circuitai
client = circuitai.Client(api_key="your-api-key")
result = client.analyze_pcb("sample_pcb.jpg")
print(f"Analysis complete: {len(result.components)} components found")- API Reference: https://docs.circuit-ai.com
- SDK Guides: Python and JavaScript tutorials
- Code Examples: GitHub repository with samples
- GitHub: https://github.com/circuit-ai
- Discord: Developer community and support
- Stack Overflow: Tagged questions and answers
- Email: enterprise@circuit-ai.com
- Slack: Dedicated enterprise channel
- Phone: 24/7 support for enterprise customers
- ✅ API v1.0 release
- ✅ Python and JavaScript SDKs
- ✅ Developer console and playground
- 🔄 Go and Rust SDKs
- 🔄 Advanced analytics dashboard
- 🔄 Custom model training API
- 📋 Mobile SDKs (iOS/Android)
- 📋 GraphQL API
- 📋 Webhook support
- 📋 On-premise deployment
- 📋 White-label solutions
- 📋 Advanced security features
Circuit.AI - Enterprise PCB Analysis API Platform
Built for developers, integrated by teams.
For more information, visit https://circuit-ai.com