# Use Cases — Archigram

Last updated: 2026-05-02

Archigram is best for engineering teams that need architecture diagrams as editable source, not static images.

## Software Architecture Diagrams

Use Archigram to describe services, databases, queues, caches, APIs, and external dependencies. The output can be edited as Mermaid, PlantUML, or BPMN.

Example prompt:
"Create a microservices architecture with API gateway, auth service, billing service, event bus, Redis cache, PostgreSQL, and observability pipeline."

## Pull Request Diagrams

Use Archigram to explain architecture changes in pull requests. Copy Mermaid source into GitHub so reviewers can comment on the diagram alongside code.

Example prompt:
"Create a before-and-after diagram for moving image processing from a synchronous API request to an async queue worker."

## Cloud Architecture

Use Archigram to map AWS, GCP, Azure, or hybrid cloud systems for documentation and review.

Example prompt:
"Create an AWS architecture diagram with CloudFront, ALB, ECS Fargate, RDS Aurora, S3, SQS, Lambda, and CloudWatch."

## API Sequence Diagrams

Use Archigram to document request flows, auth flows, payment flows, and webhook delivery.

Example prompt:
"Create a sequence diagram for Stripe checkout with frontend, backend, Stripe, webhook handler, and database updates."

## Data And ML Pipelines

Use Archigram to explain ingestion, transformation, feature stores, training jobs, model registry, and serving paths.

Example prompt:
"Create an ML pipeline with batch ingestion, validation, feature store, GPU training, experiment tracking, model registry, and online inference."

## Business Process Modeling

Use BPMN support to document operational workflows, approval flows, incident response, and onboarding processes.

Example prompt:
"Create a BPMN process for vendor approval with intake, security review, finance approval, contract signing, and provisioning."
