# Amazon AGI Lab

Published articles for Amazon AGI Lab.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Capturing token IDs during agentic interactions for better reinforcement learning

DevFeed: [Capturing token IDs during agentic interactions for better reinforcement learning](<https://devfeed.tech/articles/capturing-token-ids-during-agentic-interactions-for-better-reinforcement-learning-7595.md>)

Original publisher: [Read original article](<https://www.amazon.science/blog/capturing-token-ids-during-agentic-interactions-for-better-reinforcement-learning>)

Author: Frederick Robinson

Published: 2026-07-09T12:46:00Z

Content type: article

Language: en

Sources: [Amazon Science homepage](<https://devfeed.tech/sources/amazon-science-homepage.md>)

Topics: [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [tokenization](<https://devfeed.tech/topics/tokenization.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [computer-use](<https://devfeed.tech/topics/computer-use.md>), [multimodal](<https://devfeed.tech/topics/multimodal.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [amazon-agi-lab](<https://devfeed.tech/tags/amazon-agi-lab.md>), [computer-use](<https://devfeed.tech/tags/computer-use.md>), [dataset-development](<https://devfeed.tech/tags/dataset-development.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [model](<https://devfeed.tech/tags/model.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [rust](<https://devfeed.tech/tags/rust.md>), [tokens](<https://devfeed.tech/tags/tokens.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

This article explains how Turnstile, a Rust proxy placed between an agent harness and a model backend, captures exact token IDs during generation. The recorded token-level trajectories preserve information that text transcripts can lose and can be passed into reinforcement-learning training stacks. Reported validations cover a text-only coding agent and a multimodal computer-use agent whose performance improved during RL runs.

### Source excerpt

A new Rust proxy called Turnstile sits between the model backend and the agent harness to capture information lost in mere text transcripts.