Ideas from AI Engineer talks Curated by Alex Vidal (@dobleio) and Borja Pérez (@borjaperfra) 76 ideas · 101 talks · 5 events

The Engineering Brief

Arize's Alyx keeps the head and tail of long context and stores the middle for recall

Sally-Ann DeLucia, head of product at Arize, describes how its agent Alyx handles oversized trace data: plain truncation broke follow-ups, summaries were unreliable, and what stuck was trimming the middle while keeping it retrievable. She also tests the eleventh turn of long sessions.

Sally-Ann DeLuciaArizeAIE Europe 20262 min read
Watch from 5:10

Recording by AI Engineer.

The idea

The speaker’s argument, in our words.

Alyx is an agent that reads observability traces, which are themselves full of prompts, tool calls and metadata, so its inputs grow fast. DeLucia says the team went through three approaches. Keeping only the start of each long item and dropping the rest made the agent forget: follow-up questions behaved like new conversations. LLM summaries were inconsistent, because nothing controlled what the summary kept. The approach in production keeps the beginning and the end of long items, keeps the latest tool result and the system prompt, and moves the trimmed middle to a store the agent can query by ID when it decides it needs it.

Two further changes sit around that. Heavy data search runs in a sub-agent, so the main conversation only receives results. And because failures showed up late in long chats, the team wrote evals that load ten turns of history and test the eleventh. She is open that context selection is still a heuristic and that the team has no context budget or quality metric yet.

What they found

From the talk. Figures are self-reported unless stated.
  • She says the team first kept only the first 100 characters of long context and dropped the rest, and follow-up questions then looked like new conversations to the agent.

    Arize's first approach for Alyx; described qualitatively, no measurement.

    Case study

    5:10
  • Summarising the context with an LLM was too inconsistent because there was no control over what the summary kept.

    Qualitative judgement by the team; no comparison data shown.

    Case study

    6:27
  • Alyx now keeps the first and last 100 characters, truncates the middle into a store the agent can retrieve from, keeps the latest tool result and never resets the system prompt; the team says it has worked well enough to leave untouched for months.

    Self-reported about Arize's own product. No success metric given. In Q&A she says the stored context sits in a database with IDs and the agent gets a preview of where each item was in the conversation.

    Vendor claim

    6:56
  • Long-session evals: load ten turns of conversation and test the eleventh, so forgetting late in a session becomes testable before users report it.

    Practice described by the speaker; results of these evals are not given.

    Technical recommendation

    8:55

Why it matters

Our reading. Not said in the talk.

Truncation and summarisation are usually compared as if one had to win. Arize keeps the cheap, predictable truncation and removes its main cost by leaving the cut text one tool call away. Its experience with summaries matches a measured result from Towards AI, where summarising history sharply cut recall of specific details. The eleventh-turn eval is a small, reusable way to catch forgetting late in a session before users report it.

What one could try

  • When trimming long tool results, write the removed part to a store with an ID and give the agent a tool to fetch it back.
  • Add an eval that replays a long session and checks the next answer against something said early in it.
  • Move data-heavy searches into a sub-agent that returns results, not the intermediate queries.

Limitations

  • No numbers: the comparison between truncation, summarisation and the current approach is qualitative.
  • Vendor talking about its own product, which she invites attendees to try and see demoed at Arize's booth.
  • The speaker says context selection is still a heuristic and there is no metric for context quality yet.

Original sources

This is our synthesis of the talk, checked against the transcript at the linked moments.

Related ideas