Solution
Asana used GPT-6 Astra in Codex to instrument and optimize the StackAI browser agent that automates work across business applications. Astra first mapped the codebase and request construction path, showing that fixed instructions and tool definitions were cached but the accumulating page text and screenshots were being resent on every call. Frank Hidalgo then used Astra to refactor the frontend and backend so many workflow configurations could run in parallel, and to execute a 144-run experiment across four models, two history budgets, and six caching and screenshot policies. Requests, traces, and results were captured in Command, Asana's software delivery platform, where the team reviewed findings, turned them into tickets and pull requests, and pushed the winning setup to production. The production browser workflow now runs on GPT-6.1 Sol with a larger history budget, extended history caching, and batched screenshot retention.
Data flow
Browser tasks start in StackAI, where agents navigate websites and business applications. GPT-6.1 Sol receives instructions plus retained page text and screenshots; the optimized policy keeps more history cacheable and batches screenshot pruning. GPT-6 Astra in Codex ran the experiments that produced this policy, and Command stored the traces and outcomes before findings were shipped to production.
Solution architecture
5 components · 4 layers - Compute
- GPT-6 Astra Mapped the codebase, proposed fixes, and ran controlled optimization and testing experiments on the browser agent.
- GPT-6.1 Sol Runs the optimized production browser workflow after Asana selected the best caching and history policy.
- Serving
- StackAI Hosts the no-code browser agent that navigates websites, fills forms, and gathers information for customer workflows.
- Orchestration
- Codex Provided the agentic coding environment where Astra inspected the system, executed tests, and iterated on workflow changes.
- Governance
- Command Captured requests, traces, and results so the team could review findings and promote changes through tickets and pull requests.
- Astra refactored the code so one frontend and backend could support many workflows in parallel, each with its own settings.
- Every session's requests, data traces, and results were recorded in Command for later review.
- The best policy let screenshots accumulate to 20 before trimming back to the most recent one.
- The study compared four models, two history budgets (120,000 and 480,000 characters), and six caching and screenshot policies.
Astra conducted the full study: history budgets of 120,000 and 480,000 characters and six caching and screenshot policies, each tested three times on each of the four models.
Cost used to limit which models we could offer customers for these workloads. By making the agent more efficient, we can give customers a better, faster model while lowering our operating costs.
Every session's requests, data traces and results were recorded in Command, Asana's software delivery platform, so the team could review the complete study afterward.
GPT-6 Astra discovered that the agent cached its fixed instructions and tool definitions, but not the growing history of page text and screenshots it gathered, so every request resent that history at full price.
With GPT-6 Astra in Codex running experiments, Asana optimized its browser agent's workflow on GPT-6.1 Sol to run 76x cheaper and 5x faster.