How tanishqaryan9/tech-buddy works
This is a desktop screen assistant with two user-facing modes: Action Mode turns typed or spoken commands into desktop actions, while Guide Mode captures the screen, asks Gemini for task instructions, and highlights returned coordinates. The main workflow is orchestrated in main.py; voice input and command execution, screen processing, configuration, and AI analysis are separate modules. The repository also contains a separate live-overlay implementation. Its relationship to the main application is not shown, and ui.py and claude/claude.py were not sampled.
Main entry points: main.py Mode orchestrator · claude_Overlay.py Overlay assistant · voice.py Voice input · logic.py Screen processing
Components 16
Assistant workflow
- Mode orchestrator
main.py
Input and actions
- Console UI
ui.py - Voice input
voice.py - Command executor
voice.py
Screen guidance
- Screen processing
logic.py - API key config
logic.py - Config file
logic.py - Screen analysis
api.py - Screenshot files
main.py
Overlay assistant
- Overlay assistant
claude/claude_Overlay.py - Live highlight overlay
claude/claude_Overlay.py
Other components
- User
- Desktop environment
- Gemini API
- Gemini API
- Google speech recognition
Connections 15
- User → Mode orchestrator: selects mode
main.py - Mode orchestrator → Console UI: shows prompts
main.py - Mode orchestrator → Voice input: requests speech
main.py - Mode orchestrator → Command executor: dispatches command
main.py - Mode orchestrator → Screen processing: captures screen
main.py - Mode orchestrator → API key config: validates key
main.py - Mode orchestrator → Screen analysis: requests analysis
main.py - Mode orchestrator → Screenshot files: saves images
main.py - Voice input → Google speech recognition: recognizes speech
voice.py - Command executor → Desktop environment: controls desktop
voice.py - Screen processing → Desktop environment: captures display
logic.py - API key config → Config file: reads and writes
logic.py - Screen analysis → Gemini API: analyzes image
api.py - Overlay assistant → Live highlight overlay: shows highlights
claude/claude_Overlay.py - Overlay assistant → Gemini API: sends analysis request
claude/claude_Overlay.py