B RU Yandex (Alice AI)·Talk·

How we made our agent platform reliable (twice) / Alexey Loginov (Как мы делали агентную платформу надежной (дважды) / Алексей Логинов)

B · Useful, limited A lead developer on Yandex's agent transport platform gives a candid build-and-rebuild account with named failures and latency figures, but the numbers come from a do-nothing test agent, with no production load, error-rate or cost data.

Summary based on the full transcript·Original: about 37 minutes to watch

In short

A 37-minute talk at Yandex's backend conference (uploaded 13 November 2026) by a lead developer in the agent transport system (ATS) group of Alice, Yandex's assistant. ATS is the layer that lets agents, tools and models in separate services talk reliably; it carries Alice's agent modes such as reasoning, best-price search, booking and Alice AI for business. Version 1 was built on open source (an OpenAI Agents SDK wrapper, then Temporal and Redis behind a gRPC protocol) and reached production. It was reliable but slow, so the team rewrote the runtime without changing the protocol agents use.

Key numbers

  • about 1 secondend-to-end time for a do-nothing test agent on version 1 (200-300 ms to reach the agent, 600-800 ms agent run)
  • 100-130 msversion 1 platform overhead per child call; ten sequential tools added a second
  • 30 ms / 250 msversion 2 dispatch time and total wait for the same test agent
  • at least 4xspeed-up of version 2 over version 1 in this setup, with no change to agent code

As reported by the source.

Watch the original on youtube.com

Russian·Video·opens youtube.com

What it reports

  • An SDK wrapper works only when all agents and tools share one process; a crash loses all state. Once agents are split into services, a failed parent also loses its children's finished results.
  • Agents must be written in at least four programming languages, which ruled out maintaining four matching SDKs.
  • Temporal was rejected as the agent-facing layer: no streaming at the time, lock-in to its SDK and determinism model, no C++ SDK, and a black box. It was used only inside ATS.
  • Protocol: bidirectional gRPC streams of protobuf events, with all traffic passing through ATS. Redis was added for large payloads and streaming because Temporal limits message size.
  • Parent crashes were solved with deterministic call IDs (a hash of call fields plus an ordinal), so a restarted agent re-reads its children's cached results ("fast forward"). This assumes agents behave as pure functions, with time and random seeds passed in.
  • Version 1 benchmark with a do-nothing agent: 200-300 ms to reach the agent, 600-800 ms agent run, about a second in total, and 100-130 ms overhead per child call. Removing Redis helped little.
  • Other version 1 problems: Redis as a new single point of failure, Redis and Temporal state conflicting on retries, Temporal limits unsuited to unbounded agents, hours-long gRPC connections, and single-threaded untyped Python at this scale.
  • Version 2: execution as a recursive graph on Yandex's AppHost engine, an external database used only as a cache, sidecars next to tools that keep output (for example a 50 GB download) across network drops, and a custom scheduler with heartbeats and lease tokens. All in C++; agents migrated by changing an address.
  • Result in the same test: 30 ms dispatch, 130 ms agent run, 250 ms total; at least four times faster.

How they got it

A conference talk with architecture diagrams and benchmark slides; the latency figures come from a test agent that does nothing. The digest is based on Russian auto-captions, which garble the AppHost name.

Limits

  • Synthetic benchmark only; no production traffic, failure rates or cost figures.
  • Hardware changed between versions (many small Python hosts to fewer larger hosts), which the speaker says makes comparison hard.
  • Exactly-once execution is not guaranteed in either version.
  • Open-sourcing the platform is undecided.

Why it matters for companies

Anyone moving agents from a demo to production across teams meets the same problems: state lost on crashes, orphaned child results and per-call overhead that adds up across tool chains. The useful patterns are deterministic call IDs for replay, a stable protocol that lets the runtime be replaced underneath, and keeping recovery logic in the platform instead of in every agent. The talk also shows the honest cost of starting on a general workflow engine: it taught the team which guarantees they needed, then had to be removed for speed.

Key passages in translation

Russian original

мы хотим разрабатывать агентов как минимум на четырёх языках программирования

English translation

We want to develop agents in at least four programming languages.

Russian original

получилось порядка 100-130 мс на каждый вызов каждой активити. То есть, ну, вызвали 10 тулов подряд, получили секунду оверхеда.

English translation

It came to about 100-130 ms for every call of every activity. So you call ten tools in a row and you get a second of overhead.

Russian original

суммарное время ожидания внешней системы - всего-то 250 миллисекунд

English translation

The total wait for the external system is only 250 milliseconds.

Summary based on the full transcript. Read the original for the full argument and data.Watch the original on youtube.com

Tags

Same week

All of Week 46