Architecture Overview
High-level overview of the Intentra system architecture.
Components
CLI
The intentra CLI runs locally on developer machines:
- Receives hook events from IDEs
- Authenticates users via OAuth device flow
- Submits scan data to backend
Backend
Serverless AWS infrastructure:
- API Gateway - REST API endpoints
- Lambda - Request handling
- DynamoDB - Data storage
- SQS - Event queuing
Frontend
Next.js web application:
- Dashboard with usage metrics
- Organization management
- Billing and settings
Data Flow
- User performs AI action in IDE
- IDE hook fires, calls CLI
- CLI submits event to API
- Backend aggregates events into scans
- Dashboard displays results
Security
- All traffic over HTTPS
- OAuth 2.0 authentication
- Data encrypted at rest
- No code or prompts stored