Inspiration

We use computers for almost everything, but computers still require us to manually operate dozens of applications, windows, files, websites, and communication tools.

A simple task such as "find the document, open it, update the spreadsheet, search for the required information, and send the result to a colleague" can require many repetitive steps across different applications.

We wanted to change that interaction model.

Instead of asking people to learn how to operate software, we wanted them to simply describe what they want to accomplish.

That idea led to DeskMind — an AI agent for the desktop that turns natural-language intent into real computer actions.

Our goal is not to build another chatbot that only provides answers. DeskMind is designed to understand a user's intent, decide whether a task can be handled deterministically or requires AI reasoning, select the appropriate tools, execute the task, and report the result.

This vision became especially important as we explored how agentic AI could move from answering questions to actually performing useful work.

What it does

DeskMind gives users a natural-language interface to their computer through text or voice.

A user can say:

  • "Create a folder called AI Projects."
  • "Open the Assistant project in VS Code."
  • "What's my CPU usage?"
  • "Search YouTube for a Spring Boot tutorial."
  • "Take a screenshot."
  • "Send a WhatsApp message to Mom."
  • "Remember that my favorite editor is VS Code."

DeskMind determines what the request means and routes it to the appropriate capability.

For straightforward operations, the system uses deterministic routing instead of unnecessarily invoking an LLM. For tasks that require reasoning, it can use its agentic AI layer to select and execute tools.

The system currently provides capabilities across:

  • File management — creating, moving, copying, renaming, searching, and organizing files.
  • Desktop control — launching applications, locking, restarting, shutting down, screenshots, and other system actions.
  • System intelligence — CPU, memory, disk, battery, network, and process information.
  • Web automation — opening websites, searching the web, reading pages, and extracting information.
  • Messaging automation — interacting with WhatsApp Web and resolving saved contact aliases.
  • Windows application automation — interacting with applications such as Word, Excel, and PowerPoint.
  • Voice interaction — offline speech recognition using faster-whisper.
  • Persistent memory — remembering useful preferences, aliases, shortcuts, and other user-provided information.
  • Fuzzy resolution — interpreting imperfect commands such as "open chrom" as Chrome or "vs cod" as VS Code.

The result is a different interaction model:

Intent → Understanding → Routing → Tool Selection → Execution → Feedback

Instead of:

Intent → Search for instructions → Manually perform the task

How we built it

DeskMind was built as a local-first desktop AI system using Python, FastAPI, React, LangChain, LangGraph, and Ollama.

The architecture separates understanding from execution.

At the front, users interact through a React interface or voice input. Voice commands are transcribed using faster-whisper and passed into the backend.

The backend first evaluates the command through an intelligent routing layer.

This is important because not every task requires an LLM.

For example:

"What is my CPU usage?"

can be handled directly through the system-information tools.

But a request such as:

"Find the latest Spring Boot documentation and summarize the relevant section."

requires a more flexible reasoning workflow.

For these tasks, DeskMind uses an agentic architecture built with LangChain and LangGraph, allowing the AI to reason about available capabilities and invoke the appropriate tools.

The tool layer is separated into focused modules for:

  • File management
  • System control
  • System information
  • Browser automation
  • Windows application automation
  • Messaging
  • Entertainment
  • Web utilities

We use technologies such as psutil for system monitoring, Playwright for browser automation, pywinauto for Windows application interaction, and thefuzz/python-Levenshtein for fuzzy application and command resolution.

Persistent memory is handled separately from the agent so that user preferences and useful information can survive individual conversations and application restarts.

For local AI execution, DeskMind uses Ollama with Qwen2.5 3B, allowing the assistant to perform AI processing locally where appropriate.

For the Build with Gemini XPRIZE submission, Gemini is integrated as part of the deployed AI workflow, satisfying the requirement that an LLM-powered project make at least one Gemini API call in the deployed application. The competition also requires the project to use at least one Google Cloud product.

Challenges we ran into

Building an AI assistant that can actually operate a computer is significantly harder than building a chatbot.

1. Reliability of real-world computer actions

LLMs can produce reasonable text while still being unreliable when controlling software.

A command such as "open VS Code" sounds simple, but the application may be installed in a different location, have a different executable name, or not exist at all.

We addressed this with deterministic system tools, application aliases, and fuzzy resolution rather than relying entirely on the LLM.

2. Deciding when NOT to use AI

One of the most important lessons was that putting an LLM in front of every command is not good architecture.

Using an LLM for a simple operation introduces unnecessary latency, cost, and another possible point of failure.

DeskMind therefore uses an intelligent command router to handle deterministic operations directly and reserve agentic reasoning for tasks that actually benefit from it.

3. Making automation robust

Desktop automation is inherently fragile.

Applications change their UI structure, windows can be in unexpected states, browser sessions can expire, and external websites can behave differently from one execution to another.

We had to design the system around real-world failure rather than assuming every tool call would succeed.

4. Voice interaction

Voice introduces another layer of uncertainty.

Background noise, accents, incomplete commands, transcription errors, and users speaking naturally rather than using exact commands all affect the system.

This is why fuzzy resolution and contextual interpretation are important parts of DeskMind rather than optional features.

5. Safety and destructive operations

An AI agent capable of deleting files, shutting down a computer, or sending messages has real consequences.

That changes the engineering problem from simply asking "Can the AI perform this action?" to also asking:

"Should the AI perform this action, and under what conditions?"

This is an area we continue to improve as DeskMind becomes more capable.

6. Building an AI product rather than an AI demo

The biggest challenge is not making an impressive demo.

It is making something that people can repeatedly use and trust.

For a competition focused on business viability, real users, and production AI operations, we are treating reliability, usability, measurable usage, and sustainable distribution as product requirements rather than afterthoughts.

Accomplishments that we're proud of

We are proud that DeskMind has evolved beyond a conversational interface into a system capable of connecting natural-language intent with actual desktop operations.

Some of the capabilities we are particularly proud of include:

  • A hybrid deterministic + agentic architecture rather than relying on an LLM for every operation.
  • Persistent memory across sessions.
  • Offline voice recognition using faster-whisper.
  • Natural-language file management.
  • Windows desktop automation.
  • Browser automation and web interaction.
  • Real-time system monitoring.
  • WhatsApp automation.
  • Fuzzy command and application resolution.
  • A modular tool architecture that allows new capabilities to be added without redesigning the entire assistant.

Most importantly, DeskMind demonstrates the shift from:

"AI that tells you what to do"

to:

"AI that can actually do the work."

That is the direction we believe desktop computing is moving toward.

What we learned

The most important lesson was that agentic AI is an engineering problem, not just an LLM problem.

A capable model alone does not create a reliable agent.

A useful agent needs:

  • Clear tool boundaries
  • Deterministic operations where possible
  • Reliable execution
  • State and memory
  • Error handling
  • Context management
  • Human control
  • Observability
  • Safety mechanisms

We also learned that the best user experience often comes from hiding complexity.

Users should not need to understand LangGraph, APIs, browser automation, system processes, or Python modules.

They should simply be able to say:

"Do this for me."

The system should handle the complexity underneath.

Finally, building DeskMind has changed how we think about AI productivity. The most valuable AI systems may not be the ones that generate the most content; they may be the ones that remove the most repetitive work from people's daily workflows.

What's next for DeskMind — AI for Your Desktop

DeskMind is still evolving.

Our next focus is moving from an assistant that executes individual commands toward an agent capable of completing multi-step goals reliably.

Planned directions include:

  • Autonomous task planning for complex workflows.
  • Multi-agent collaboration for specialized tasks.
  • Screen understanding and Vision AI.
  • OCR and document understanding.
  • Email and calendar integration.
  • Task and reminder management.
  • Wake-word interaction.
  • Cross-platform support for Linux and macOS.
  • Plugin and extension architecture.
  • Cloud synchronization for user-approved memory.
  • Stronger confirmation, permission, and safety controls.

Our long-term vision is simple:

The computer should adapt to the way humans express their goals—not force humans to adapt to the way software works.

DeskMind is our step toward that future: an AI layer that can understand intent, operate across applications, learn useful preferences, and turn a user's instructions into real work.

Built With

  • agentic
  • agents
  • assistant
  • automation
  • desktop
  • fastapi
  • faster-whisper
  • gemini
  • generative
  • langchain
  • langgraph
  • llm
  • ollama
  • persistent
  • playwright
  • processing
  • psutil
  • python
  • pywinauto
  • qwen2.5
  • react
  • vite
  • voice
  • windows
Share this project:

Updates