
akim42003/sofia
Browser automation이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A local computer use and MCP agent that can help you manage your inbox, calendar, files, and control your desktop!
개요
A sophisticated AI assistant platform that combines desktop automation, email/calendar management, and multimodal interaction capabilities. SOFIA provides a flexible, privacy-conscious solution for automating tasks through natural language conversation. SOFIA operates through multiple interfaces (web, desktop overlay, and MCP server) with a dual AI backend system supporting both local (Ollama) and cloud (OpenAI) models. The platform uses advanced computer vision for UI automation and integrates seamlessly with Google services while maintaining strict security boundaries. - : Computer vision-powered UI element detection using OmniParser, precise mouse/keyboard control, screenshot analysis, and sandboxed shell command execution - : Full Gmail functionality (search, compose, reply, forward) and Google Calendar management through natural language with OAuth2 authentication - : Compacts and stores past conversations as md files for future use and reference.
README
원문 README의 일부입니다. 원문 보기.
SOFIA - Sort of Functional Interactive Agent
A sophisticated AI assistant platform that combines desktop automation, email/calendar management, and multimodal interaction capabilities. SOFIA provides a flexible, privacy-conscious solution for automating tasks through natural language conversation.
Overview
SOFIA operates through multiple interfaces (web, desktop overlay, and MCP server) with a dual AI backend system supporting both local (Ollama) and cloud (OpenAI) models. The platform uses advanced computer vision for UI automation and integrates seamlessly with Google services while maintaining strict security boundaries.
Key Features
- Desktop Automation: Computer vision-powered UI element detection using OmniParser, precise mouse/keyboard control, screenshot analysis, and sandboxed shell command execution
- Email & Calendar Integration: Full Gmail functionality (search, compose, reply, forward) and Google Calendar management through natural language with OAuth2 authentication
- Local Conversation Storage: Compacts and stores past conversations as md files for future use and reference.
- Multimodal Processing: Text and image chat support, audio file transcription via Whisper, real-time streaming responses, and drag-and-drop file handling
- Flexible AI Backend: Hot-swappable between local Ollama models (privacy-focused, offline) and OpenAI API (faster, more accurate) via Brain Factory pattern
- Safety-First Design: All file operations sandboxed to ~/SOFIA/ directory, parameter validation, graceful error handling, and secure API key management
Architecture
SOFIA employs a modular architecture with three primary interfaces:
- Web Interface (
sofia_web.py): Gradio-based UI for multimodal chat and audio transcription - Desktop Interface (
sofia_desktop.py): PyQt6 transparent overlay for seamless desktop integration - MCP Server (
sofia_gmail.py): Model Context Protocol server for Google services
The system uses a THINK → PLAN → EXECUTE → VERIFY workflow for autonomous task completion, with concurrent tool execution and conversation memory management.
Demo
See SOFIA’s computer use capabilities in action:
The demo showcases SOFIA’s ability to understand visual interfaces, navigate applications, and perform desktop automation tasks.
Getting Started
Requirements
- Ubuntu 22.04+ (Windows/macOS support planned)
- Python 3.11+
- For computer use and local AI: CUDA enabled GPU (24gb+ recommended)
- For cloud AI: OpenAI API key
- Google credentials for email/calendar features
- Separate monitor recommended for desktop automation
Installation
git clone https://github.com/akim42003/SOFIA.git
cd SOFIA
conda create -n sofia python=3.11
conda activate sofia
pip install -r requirements.txt
# For local AI models
ollama create sofia -f Modelfile.enhanced
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →