# Reliably fetch the last run output, even with auto-generated agent IDs

> aget_last_run_output no longer returns None when agent.id is auto-generated during arun(). You get the run output back whether or not you set an explicit agent ID, so code that reads the last result…

- Published: 2026-05-14
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/reliably-fetch-the-last-run-output-even-with-auto-generated-agent-ids
- Markdown: https://agno-com-nine.vercel.app/articles/reliably-fetch-the-last-run-output-even-with-auto-generated-agent-ids.md

`aget_last_run_output` no longer returns `None` when `agent.id` is auto-generated during `arun()`. You get the run output back whether or not you set an explicit agent ID, so code that reads the last result behaves consistently across configured and auto-generated agents.
