The Life of One Prompt

The Life of One Prompt An architecture diagram generated by Archify. The prompt leaves the tool · POST /v1/chat/completions · Architecture component The prompt leaves the tool POST /v1/chat/completions Gateway picks a server · announcements every 10 s · Architecture component Gateway picks a server announcements every 10 s Dial the peer · direct, or via relay circuit · Architecture component Dial the peer direct, or via relay circuit The peer's inference server · vLLM, llama.cpp, MLX, Ollama · Architecture component The peer's inference server vLLM, llama.cpp, MLX, Ollama Receipt countersigned · node id and tokens, no text · Architecture component Receipt countersigned node id and tokens, no text The answer rides back · X-Bitllm-Peer names the server · Architecture component The answer rides back X-Bitllm-Peer names the server model id pick host forward fields countersign return Legend Frontend Backend Database Cloud Message bus External