· Agent Identity

Why Every AI Agent Needs a Unique, Verifiable Identity

Explore why autonomous agents need unique, verifiable identities to support accountability, security and trusted interactions.

Large language model serving commonly has two distinct phases. During prefill, the system processes the input prompt and builds the internal attention state needed to generate a continuation. During decode, it generates output tokens iteratively, using the previously computed state. These phases place different demands on compute, memory and scheduling, which is why a single aggregate performance number can conceal important bottlenecks.

Prefill processes the prompt

The prefill phase evaluates the prompt tokens, often in parallel within the model's architecture. Longer prompts require more work and can create substantial temporary memory demand. Retrieval-augmented applications, large system instructions and long conversation histories can therefore affect time to first token. Batching prompts may improve accelerator efficiency, but it can also increase waiting time for an individual request if scheduling is not managed carefully.

Decode generates the response

Decode proceeds token by token. Each step depends on the preceding context and typically reads model weights and attention state repeatedly. For many workloads, decode performance is sensitive to memory bandwidth, cache behavior and the number of concurrent sequences. Output length matters: a short answer and a long generated report impose different service demands even when their prompts are similar.

Why the distinction matters operationally

A system tuned for high prompt-processing throughput may not deliver the best interactive generation experience. Conversely, optimizing for fast decode can leave expensive compute resources underused during prompt-heavy bursts. Operators should measure time to first token and inter-token latency separately, then inspect throughput by prompt length, output length and concurrency.

Scheduling both phases

Some serving systems use continuous batching, chunked prefill or separate pools for prompt processing and token generation. These approaches can improve utilization or protect latency, but they add scheduling complexity and may require careful capacity planning. A useful benchmark reproduces the actual mix of prompt and output lengths rather than relying on one synthetic request size.