Core Principles
Separation of Concerns
Each component (
Core, UI, Agent, Plugin Service) has a well-defined responsibility and minimal coupling.Plugin-First Architecture
Features are built as plugins whenever possible to ensure the
stresspilot core remains lightweight, stable, and agnostic to specific protocols.Cloud-Native Design
All components are containerized (via
Docker) and can be deployed easily in a Kubernetes environment for high availability.AI-Augmented Testing
Intelligence is built into the platform natively using
LangChain and LangGraph to help users create better tests faster.Backend Architecture
The core backend is built using Spring Boot and follows Clean Architecture principles.- Core Layer: Contains the domain models and business logic.
- Infrastructure Layer: Handles persistence (
PostgreSQL), external API calls, and plugin class loading. - UI Layer: Exposes RESTful endpoints (via
Spring Web) for the Super App and other clients.
Super App Architecture
The Super App is built with Flutter for a consistent cross-platform experience. It uses the Provider package for reactive state management and interacts with the backend via HTTP/REST using thedio client. Real-time test results are streamed via STOMP/WebSockets.
Plugin Service Design
The Plugin Service is a Rust microservice optimized for high-throughput and low-latency access to plugin metadata and binary files. It usesAxum for routing and Diesel for database interactions.
Detailed Architecture
Backend Architecture
Deep dive into the Spring Boot core engine.
App Architecture
Understand how the Flutter Super App is built.
AI Agent Design
Explore the Python-based intelligent orchestrator.
API Reference
Check the full API documentation.