Back to feed
News Story
APriority71
Ben's Bites
1 sources

Ben's Agent Session

Ben shares his experience using an AI agent to solve a Google Calendar appointment booking problem, reflecting on the agent loop and context management. He emphasizes the importance of context and the need for supervision, inviting feedback from readers.

SynthePulse Insight · AI deep reading

A Real Agent Session: Lessons from 'Building' to 'Debugging'

Version 1 · 1 source

Ben's Google Calendar extension development task showcases the potential and pitfalls of AI agents in real work, highlighting the critical roles of context management, validation standards, and model selection.

  • Ben used ChatGPT (Codex mode) to develop a Google Calendar extension; the task was simple, but the process exposed common issues with agent usage.
  • The agent completed an initial plan in 55 seconds, but Ben's failure to carefully review it led to over 75 minutes of debugging.
  • The context window hit its limit three times during a single debugging session (about 250k tokens), causing the agent to repeatedly forget key information and waste time and tokens.
  • Ben eventually switched to the Sol model (High reasoning) to solve the problem, showing performance differences among models in iterative debugging.
  • Ben's lessons include reviewing plans, clarifying requirements, specifying test steps, using larger models, explicitly saving key information, and checking file consistency.
Open section navigationTask Background and Initial Attempt

Task Background and Initial Attempt

Ben wanted to create a booking link with draggable time slots for Google Calendar, but the native form required manual date and time entry, which was a poor experience. He decided to use an AI agent (ChatGPT's Codex mode) to develop a Chrome extension.

He provided a simple prompt and a screenshot, and the agent completed two web searches in 55 seconds, returning a mini plan. Ben admitted he skimmed the plan without careful review, setting the stage for later issues.

Mistakes During the Build

Ben simply said 'build it,' but the agent did not automatically install and test the extension. Ben noted that the agent could have used Computer use and Browser use tools to test in a real environment, but it didn't, forcing him to manually install and discover that the sync feature was broken.

Ben reflected that if he had explicitly asked to 'install the extension, open the Google Calendar form, and test end-to-end,' he would have saved time and tokens. This highlights the importance of clear validation standards.

The Long Debugging Process

The debugging process went through three phases: first, typing text questions, which was ineffective after 14 minutes; then voice plus screenshots, which was still ineffective after 61 minutes; finally, screen recording with voice, which ultimately solved the problem.

During debugging, the agent started using Chrome for testing, but Ben found it wasn't fully testing because the agent didn't want to overwrite his 'work' page, even though that page was supposed to be used. This reflects the agent's misunderstanding of task boundaries.

Ben emphasized that validation standards are key for agents to complete tasks, such as code running successfully or emails being correctly categorized. For non-code tasks, validation is harder, but you can ask the agent to help define standards.

Context Window Bottleneck

During the hour-long debugging, the context window hit its limit three times (about 250k tokens). Each compression cleared some information but retained user messages and system prompts, causing the agent to repeatedly relearn testing methods.

Ben pointed out that larger models might better identify which information to retain, but different agents compress differently. He suggested writing important information to files, as files are not cleared during compression.

Additionally, Ben found that the agent was testing an old version of the extension because it saved each new version in a separate folder, wasting time and tokens. This underscores the importance of checking whether the agent is editing and running the same files.

Model Switch and Final Resolution

In the later stages of debugging, Ben switched to the Sol model (High reasoning) because Luna Max performed poorly in code and testing. After the switch, the problem was solved in 13 minutes, and the extension worked as expected.

Ben believes Luna Max is suitable for everyday tasks, but complex debugging requires stronger reasoning. This suggests that model choice significantly impacts agent task efficiency.

Lessons Learned

Ben listed six improvement suggestions: read the agent's mini plan, clarify details in advance, specify installation and testing steps, use larger models for iterative debugging, explicitly ask to retain key learnings, and check file consistency.

These lessons apply not only to coding tasks but also to other agent use cases, emphasizing the importance of context management and validation standards.

Credibility boundary

This article is based on Ben's personal experience sharing, a first-person narrative that has not been independently verified. Specific times, model names, and performance descriptions are the author's own account and may be subjective.

Insight takeaway

AI agents can handle tasks efficiently, but success depends on clear instructions, explicit validation standards, context management, and appropriate model selection. Users should actively participate in plan review and testing guidance, avoiding blind trust in the agent's autonomous behavior.

Sources for this version

  1. Ben's sessionBen's Bites

Primary report

Ben's Bites

Primary source