# Architektura zdarzeniowa

EN: **Event-driven AI** · id `eventdriven`

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Aplikacje LLM i agenci](https://aiatlasgraph.com/t/applications.md) › [Workflow i udział człowieka](https://aiatlasgraph.com/t/workflows.md) › Architektura zdarzeniowa

## Description

- PL: Pipeline’y uruchamiane zdarzeniem, nie kliknięciem.
- EN: Pipelines triggered by events rather than by a click.

## In one sentence

- PL: To uruchamianie pracy asystenta, gdy pojawi się wiadomość, plik lub inna ustalona zmiana.
- EN: This starts an assistant's work when a message, file or another specified change arrives.

## Problem it solves

- PL: Nowe zgłoszenia czekają na obsługę, dopóki ktoś ręcznie nie zauważy ich w systemie.
- EN: New requests wait until someone notices them in the system and starts the work by hand.

## What it does

- PL: Sygnał o zmianie trafia do właściwego zadania; kolejka może zachować go, aż system będzie gotowy do pracy.
- EN: A signal about the change reaches the relevant task; a queue can keep it until the system is ready to work.

## Everyday example

- PL: Wrzucasz skan rachunku do folderu, a system uruchamia odczytanie danych i przygotowanie wpisu do sprawdzenia.
- EN: You add a scanned receipt to a folder, and the system starts reading its details and preparing an entry for review.

## This concerns you if you…

- PL: chcesz rozpocząć obsługę, gdy pojawi się nowy plik lub wiadomość
- PL: ręcznie uruchamiasz te same czynności po każdej zmianie
- EN: want work to start when a file or message arrives
- EN: start the same actions manually whenever something changes

## Keywords

message queues · publish-subscribe · Apache Airflow · CloudEvents · event-driven scheduling · backpressure

## How it works

- PL: Producent publikuje zdarzenie opisujące zmianę, a broker lub kolejka przekazuje je zainteresowanym odbiorcom. Konsument uruchamia odpowiedni etap przetwarzania, zapisuje wynik i może opublikować kolejne zdarzenie.
- EN: A producer publishes an event describing a change, and a broker or queue delivers it to interested recipients. A consumer starts the relevant processing stage, records its result and can publish another event.

## Limits

- PL: Duplikaty, zmieniona kolejność i opóźnione dostarczenie zależą od gwarancji transportu. Konsumenci potrzebują idempotencji, zasad ponawiania i kontroli przeciążenia; zdarzenie samo nie zapewnia spójności całego procesu.
- EN: Duplicates, reordered events and delivery delays depend on transport guarantees. Consumers need idempotency, retry policies and overload controls; an event alone does not ensure consistency of the entire process.

## Key terms

- PL: **producent**: Komponent publikujący informację o zdarzeniu.
- PL: **konsument**: Komponent odbierający zdarzenia i wykonujący odpowiednią pracę.
- PL: **backpressure**: Ograniczanie napływu pracy, gdy odbiorca nie nadąża z przetwarzaniem.
- EN: **producer**: A component publishing information about an event.
- EN: **consumer**: A component receiving events and performing the relevant work.
- EN: **backpressure**: Restricting incoming work when the recipient cannot process it fast enough.

## Know first

- [Pipeline’y i wersjonowanie (Data pipelines and versioning)](https://aiatlasgraph.com/t/pipelines.md)

## Examples

- PL: Airflow · kolejki
- EN: Airflow · queues

## Related topics

Untyped, symmetric "see also" links.

- [Agenci w tle (Ambient and scheduled agents)](https://aiatlasgraph.com/t/ambient.md)

## Courses

- [Event-Driven Agentic Document Workflows](<https://www.deeplearning.ai/courses/event-driven-agentic-document-workflows>)
- [Orchestrating Workflows for GenAI Applications](<https://www.deeplearning.ai/courses/orchestrating-workflows-for-genai-applications>)

## Sources

- [DeepLearning.AI — course catalogue](<https://www.deeplearning.ai/courses>) `dlai` · course catalogue: 42 topic labels with counts, about 130 courses.

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/eventdriven · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
