Skip to Content
ArchitectureOverview

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

  1. User performs AI action in IDE
  2. IDE hook fires, calls CLI
  3. CLI submits event to API
  4. Backend aggregates events into scans
  5. Dashboard displays results

Security

  • All traffic over HTTPS
  • OAuth 2.0 authentication
  • Data encrypted at rest
  • No code or prompts stored