# Narzędzia działające w tle rozmowy

EN: **Non-blocking tools in spoken dialogue** · id `asyncfunctions`

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Język, obraz, audio](https://aiatlasgraph.com/t/modalities.md) › [Mowa i audio](https://aiatlasgraph.com/t/audio.md) › [Agenci głosowi](https://aiatlasgraph.com/t/voiceagents.md) › [Zadania i narzędzia w rozmowie](https://aiatlasgraph.com/t/voicetools.md) › Narzędzia działające w tle rozmowy

## Description

- PL: Agent może dalej rozmawiać, gdy długotrwałe zadanie trwa, a później uwzględnić jego wynik. Semantyka i dostępność tej techniki różnią się między API.
- EN: The agent can keep conversing while a long-running task executes, then incorporate its result. Semantics and support vary across APIs.

## In one sentence

- PL: To wykonywanie zadania w tle, podczas gdy asystent może dalej prowadzić rozmowę.
- EN: This runs a task in the background while an assistant can continue the conversation.

## Problem it solves

- PL: Długie sprawdzanie danych zamraża dialog, choć w tym czasie możesz podać kolejne szczegóły.
- EN: A lengthy data lookup freezes dialogue even though you could provide more details while waiting.

## What it does

- PL: System uruchamia działanie bez blokowania rozmowy, śledzi jego stan i dołącza wynik, gdy jest gotowy.
- EN: A system starts an action without blocking dialogue, tracks its status and incorporates the result when it is ready.

## Everyday example

- PL: Asystent wyszukuje wolne terminy, a ty w tym czasie dopowiadasz, że potrzebujesz miejsca parkingowego.
- EN: An assistant searches available appointments while you add that you need a parking space.

## This concerns you if you…

- PL: narzędzia długo przygotowują wyniki
- PL: chcesz rozmawiać podczas trwającego zadania
- EN: use tools that take time to return results
- EN: want to converse during an ongoing task

## Keywords

asynchronous function calling · background execution · operation IDs · result correlation · cancellation tokens

## How it works

- PL: Wywołanie uruchamia pracę w tle, a rozmowa zachowuje identyfikator operacji i jej stan. Zdarzenie zakończenia dostarcza wynik do właściwego kontekstu; agent może wcześniej odpowiadać na niezależne pytania, jeśli interfejs pozwala oddzielić te przebiegi.
- EN: A call starts background work, while conversation retains the operation identifier and state. A completion event delivers results to the appropriate context; the agent can answer independent questions meanwhile if its interface separates these processes.

## Limits

- PL: Obsługa zależy od interfejsu modelu i orkiestratora. Wyniki mogą przyjść po zmianie celu; ponowienie, anulowanie i kolejność wymagają kontroli, a zatrzymanie rozmowy niekoniecznie zatrzymuje zadanie.
- EN: Support depends on model and orchestrator interfaces. Results can arrive after goals change; retries, cancellation and ordering require control, and stopping conversation may not stop the task.

## Key terms

- PL: **operacja w tle**: Zadanie działające niezależnie od bieżącego generowania odpowiedzi.
- PL: **korelacja wyniku**: Powiązanie zdarzenia zakończenia z właściwym żądaniem i kontekstem.
- EN: **background operation**: A task running independently of current response generation.
- EN: **result correlation**: Linking a completion event to its correct request and context.

## Know first

- [Architektura zdarzeniowa (Event-driven AI)](https://aiatlasgraph.com/t/eventdriven.md)
- [Workflow i udział człowieka (Workflows and human-in-the-loop)](https://aiatlasgraph.com/t/workflows.md)

## Examples

- PL: status w toku · wynik po czasie · anulowanie
- EN: in-progress status · delayed result · cancellation

## Sources

- [Voice AI & Voice Agents: An Illustrated Primer](<https://voiceaiandvoiceagents.com/>) `voiceprimer` · by Kwindla Hultman Kramer i współautorzy (Daily / Pipecat)
- [Gemini Live API: Tool use](<https://ai.google.dev/gemini-api/docs/live-api/tools>) `google-live-tools` · by Google

---

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