Umjetna inteligencija (UI)

AI's Architecture Drafting: Redefine Your Role in System Design

Izrada arhitekture uz pomoć umjetne inteligencije: redefinirajte svoju ulogu u dizajnu sustava

Architecture used to be the part of software work where the blank page felt most intimidating. Before code, someone had to turn vague needs into boundaries, data flows, failure modes, and trade-offs that would survive contact with production.

AI is changing that starting point. It can turn a rough product description into candidate services, sequence diagrams in prose, API contracts, threat-model prompts, migration plans, and lists of unanswered questions in minutes. That is useful. It is also easy to misunderstand.

AI does not remove the need for system design. It raises the value of the people who can evaluate a design, frame the right constraints, and own the consequences of a decision.

AI can draft architecture, not accept responsibility

A capable model can propose a familiar architecture for a request such as “build a multi-tenant document-processing platform.” It may suggest object storage for uploads, a queue for asynchronous work, workers for extraction, a relational database for metadata, and an API layer for users and integrations.

That first draft can be a productive artifact. It gives a team something concrete to challenge. But it does not know which requirements are real unless you supply them, and it cannot independently verify that its proposal matches your organization’s operational limits, security obligations, deployment model, or team skills.

The difficult questions remain architectural questions:

  • What level of data loss is acceptable if a worker fails after writing a partial result?
  • Which tenant boundaries must be enforced in storage, processing, logs, and support tools?
  • Where does idempotency belong when clients retry requests and queues redeliver messages?
  • Can the team operate a distributed workflow, or is a simpler design safer?
  • What happens when a dependency is slow, unavailable, or returns an unexpected response?

AI can surface these questions, but someone still has to rank them, obtain decisions, and encode the answers into the system.

Use AI to widen the design space

The strongest use of AI in architecture is not asking for “the best design.” It is asking for several plausible designs under explicit constraints. A single recommendation can look authoritative even when it rests on unstated assumptions. Alternatives make trade-offs visible.

For example, instead of prompting for an architecture for a notification service, ask for three options: a synchronous design, a queue-backed design, and an event-driven design. Require each option to state assumptions, operational burden, consistency behavior, likely bottlenecks, and failure handling.

Then review the output as you would review a proposal from a fast but inexperienced teammate: welcome the breadth, inspect the details, and challenge unsupported certainty.

Give the model a bounded brief

Architecture prompts improve sharply when they include constraints rather than aspirations. Describe expected traffic in qualitative terms if exact numbers are unavailable. Specify the existing platform, persistence choices, identity model, data sensitivity, latency expectations, deployment environment, and skills the team actually has.

Also name the decisions that are already fixed. If the organization has standardized on a particular cloud, message broker, or observability stack, say so. Otherwise, a model may produce an elegant design that creates an expensive new dependency for little benefit.

A useful prompt asks the model to label assumptions and unknowns. That simple instruction turns a polished-looking answer into a design conversation.

Design three approaches for an asynchronous report-generation feature.

Constraints:
- Existing application uses a relational database and HTTP API.
- Reports may take minutes to generate.
- Users must be able to check status and download completed files.
- Duplicate client requests must not create duplicate reports.
- Explain retry behavior, failure states, and operational trade-offs.

For each approach, separate facts from assumptions and list questions
that require product or platform decisions.

Turn generated diagrams into testable decisions

Architecture is not complete when the boxes and arrows look sensible. A design earns confidence when its behavior can be explained under ordinary and adverse conditions.

Suppose AI proposes an API that stores a report request, publishes a job, and returns a request identifier. The happy path is straightforward. The real review begins at the gaps between steps. What if the database commit succeeds but publishing fails? What if the worker completes the report but crashes before updating its status? What if a retry processes the same job twice?

These are not reasons to reject AI-generated drafts. They are the work that turns a draft into a design. Ask the model to enumerate failure paths, then validate the answers against the guarantees of the actual components you use. In many cases, the right answer is a deliberately modest pattern: persist an explicit state transition, make work idempotent, retry carefully, and provide a visible terminal failure state.

AI is especially useful here as a reviewer with a different angle. Ask it to act as an operator, a security reviewer, a client developer, or an on-call engineer. Each perspective exposes a different category of omission.

Protect the boundary between useful context and sensitive context

System design often involves details that should not be placed into a general-purpose AI tool: credentials, customer data, private source code, internal topology, security controls, and incident records. Responsible adoption begins with knowing what data the selected tool is permitted to receive and how that data is handled.

Use sanitized examples when exploring a concept. Prefer approved tools and organizational controls when working with internal material. Treat model output as untrusted input as well: it can contain insecure patterns, outdated assumptions, or recommendations that conflict with local standards.

For security-sensitive designs, AI can help generate a review checklist, but it should not become the final security authority. Authentication, authorization, secrets handling, auditability, and abuse controls deserve explicit human review.

Your role moves upstream and outward

When AI can rapidly produce a first-pass component diagram, a technical lead has more capacity for the work that compounds: clarifying the product boundary, making trade-offs legible, aligning teams, reducing operational risk, and teaching others how to reason about the system.

That shift rewards judgment over ceremony. A good architect does not win by producing the most elaborate diagram. They create a shared model that helps a team build, operate, change, and eventually retire a system safely.

Use AI to accelerate preparation, challenge assumptions, and document options. Do not outsource accountability, context, or judgment. The blank page may be less daunting now, but the essential craft remains: choosing what matters, making uncertainty visible, and designing systems that behave well when reality refuses to follow the happy path.

Portret autora bloga

Mihajlo

Ja sam Mihajlo — programer vođen znatiželjom, disciplinom i stalnom željom da stvorim nešto smisleno. Dijelim uvide, tutorijale i besplatne usluge kako bih pomogao drugima da pojednostave svoj rad i rastu u svijetu softvera i umjetne inteligencije koji se neprestano razvija.