16M Token CSV Analysis, Birthday Cards, Google Nano Banana, BigQuery: Desktop Commander Office Hour

Eduards RuzgaAbout 5 min readAug 29, 2025Watch original
THE SUMMARYAI-generated

Key Concepts:

  • Desktop Commander: A tool created by Edward Ruska that allows users to interact with their computer through AI.
  • Interactive Terminal Sessions: A feature in Desktop Commander that allows for more powerful interactions with terminal processes.
  • LLMs (Large Language Models): AI models that are closer to humans in terms of working with insights rather than large amounts of data.
  • Token Limits: The limitation on the amount of data that LLMs can process at once.
  • Playwright: A tool used for automating browser interactions and capturing network requests.
  • Bright Data: A paid service used for scraping websites while bypassing bot detection.
  • AI-First Companies: Companies that leverage AI to solve problems by integrating data from multiple sources.
  • CLIs (Command Line Interfaces): Text-based interfaces that allow users to interact with computer programs.
  • BigQuery: Google's data warehouse service.
  • G-Cloud: Google Cloud Command Line Interface.

1. Introduction and Overview (0:00-2:20)

  • Edward Ruska introduces himself as the creator of Desktop Commander and explains the purpose of the office hours stream: to answer questions, showcase new features, and interact with users.
  • The stream is live on both YouTube and Discord.
  • DC Deitri, another team member, is introduced and will be assisting with the stream.

2. Interactive Terminal Sessions and Large Data Analysis (2:20-11:30)

  • The main topic is the interactive terminal sessions feature in Desktop Commander.
  • Problem: LLMs struggle with large amounts of data due to token limits.
  • Example: A 41MB Olympic CSV file containing 16 million tokens exceeds the limits of Gemini 2.5 Flash (which has a 1 million token window).
  • Solution: Desktop Commander uses interactive terminal sessions to process the data in chunks, using Python to read and analyze the data.
  • The model learns about the file by reading a subset of records and then uses search limits and queries to extract relevant information.
  • Example: Desktop Commander analyzes the Olympic CSV file and extracts interesting facts, such as the percentage of athletes who win medals, the age of the oldest and youngest Olympians, and the average age of participants.
  • This approach allows LLMs to work with large datasets efficiently without exceeding token limits.

3. Analyzing Browser Requests with Playwright (11:30-24:00)

  • A viewer asks about analyzing browser requests using an MCP.
  • The discussion explores using Playwright to intercept network requests.
  • Challenge: Capturing cookies and acting like a browser is necessary to avoid being blocked by websites.
  • The team attempts to use Playwright to analyze a Wikipedia page but encounters issues.
  • The conversation shifts to scraping websites and dealing with bot protection.
  • Bright Data is mentioned as a paid solution for scraping websites with bot detection workarounds.
  • Browser use MCP is mentioned as another option, but it requires installing a Chrome extension.

4. Generating a Birthday Card with Desktop Commander (24:00-42:00)

  • A viewer requests help with generating a birthday card as an HTML file that can be printed on A4 landscape paper.
  • Desktop Commander is used to create an HTML-based birthday card with animations.
  • The team then modifies the HTML to be printer-friendly, removing animations and adjusting the layout.
  • A print button is added to the card.
  • The card is further customized with images, including the Desktop Commander logo on a birthday cake.
  • The team uses AI image editing to create a cake in the style of the logo.
  • The process demonstrates how Desktop Commander can be used to generate and customize printable content.

5. Working with BigQuery Data (42:00-56:00)

  • The discussion shifts to using Desktop Commander to work with data in Google's BigQuery.
  • Use Case: Analyzing anonymous telemetry data about Desktop Commander users.
  • Desktop Commander is used to query BigQuery and extract information about the most popular client names.
  • The tool lists files in a directory, reads the readme file, and learns how to use the BigQuery CLI.
  • The results are analyzed to identify the most popular clients, including an unknown "MCP client."
  • The team emphasizes that LLMs are good at using command-line interfaces because they are text-based and designed for both humans and applications.
  • The use case demonstrates how Desktop Commander can be used to integrate data from multiple sources and make decisions.

6. AI-First Companies and Knowledge Work (56:00-58:00)

  • The team discusses how AI-first companies operate by integrating data from multiple sources into a single context.
  • This allows them to solve problems more effectively by querying multiple systems and analyzing the data in one place.

7. Debugging and Additional Use Cases (58:00-1:00:00)

  • The team shares additional use cases for Desktop Commander, including video editing, optimizing images for SEO, and debugging code.
  • One example involves using Desktop Commander to identify a broken codec in a video file.
  • The debugging use case is highlighted as particularly powerful, as it can sometimes resolve issues in minutes that would take hours to debug manually.

8. Conclusion (1:00:00-1:02:00)

  • The team concludes the office hours stream and thanks viewers for joining.
  • They announce plans to hold the stream weekly and encourage viewers to submit questions for future episodes.

Main Takeaways/Synthesis:

Desktop Commander is a versatile tool that leverages AI to enhance computer interactions. Its ability to handle large datasets through interactive terminal sessions, automate browser tasks, generate customized content, and integrate data from multiple sources makes it a valuable asset for developers and AI-first companies. The tool's debugging capabilities and command-line interface integration further expand its utility, enabling users to solve complex problems efficiently. The office hours stream provided practical examples and insights into how Desktop Commander can be used to streamline workflows and unlock new possibilities.

AI summaries can miss context or contain errors. Check important details against the original video.

Go a little deeper.

Have a question about this video? Load its transcript to open the video chat.