1. Conduid
  2. Productivity
  3. Akim42003 Sofia
MCP server · Productivity

Akim42003 Sofia

A local computer use and MCP agent that can help you manage your inbox, calendar, files, and control your desktop!

Unclaimed last commit 8 months ago productivity
46Fair

Scored 5 months ago · breakdown

About Akim42003 Sofia

Akim42003 Sofia is an MCP server published by iflow-mcp in the Productivity category: a local computer use and MCP agent that can help you manage your inbox, calendar, files, and control your desktop!.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/iflow-mcp/akim42003-sofia

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Akim42003 Sofia

Powered by Claude · Grounded in docs

I know everything about Akim42003 Sofia. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

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:

  1. Web Interface (sofia_web.py): Gradio-based UI for multimodal chat and audio transcription
  2. Desktop Interface (sofia_desktop.py): PyQt6 transparent overlay for seamless desktop integration
  3. 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:

sofia_demo.webm

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

Google Services Setup

  1. Place credentials.json in project root
  2. Run python sofia_gmail.py to authenticate
  3. Follow OAuth2 flow in browser

Usage

# Web interface with audio support
python sofia_web.py      # Access at localhost:7860

# Desktop overlay interface
python sofia_desktop.py  # Transparent UI overlay

# Gmail/Calendar server
python sofia_gmail.py    # MCP server on port 3000

Computer Vision & Automation

SOFIA's desktop automation leverages advanced computer vision:

  • OmniParser Integration: YOLO-based UI element detection with Florence2/BLIP2 captioning
  • Visual Grounding: Maps natural language descriptions to precise pixel coordinates
  • Screenshot Analysis: Real-time screen capture and interpretation
  • Error Recovery: Automatic retry mechanisms with visual verification

AI Backend Options

Local Models (Ollama)

  • Pros: Complete privacy, offline operation, no API costs
  • Cons: Requires CUDA GPU (24GB+ VRAM), slower inference
  • Recommended Models: mistral-small3.1:24b, llama4, custom sofia model

Cloud Models (OpenAI)

  • Pros: Faster response, higher accuracy, no hardware requirements
  • Cons: API costs, requires internet, data privacy considerations
  • Available Models: gpt-4o, gpt-o4mini, etc

Backend Management

python switch_backend.py status   # Check current backend
python switch_backend.py openai   # Switch to OpenAI
python switch_backend.py ollama   # Switch to Ollama

Configuration

Main Configuration

Edit config/sofia_config.yaml:

ai_backend: "ollama"  # or "openai"
openai:
  model: "gpt-4o"
ollama:
  model: "sofia2"

Tool Configuration

Customize agent behavior and available tools in config/tools

User Personalization

Create config/user_config.yaml for personal preferences and context

Security Considerations

  • All file operations restricted to ~/SOFIA/ directory
  • API keys managed via environment variables
  • OAuth2 for Google service authentication
  • Parameter validation on all tool invocations
  • No arbitrary code execution outside sandboxed environment

Troubleshooting

  • GPU Memory Issues: Reduce model size or switch to CPU inference
  • OCR Performance: Ensure CUDA is properly configured for OmniParser
  • Gmail Authentication: Check credentials.json and OAuth2 token validity
  • Desktop Control: Verify PyAutoGUI permissions and display configuration

Built by Alex Kim.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Akim42003 Sofia

How do I install Akim42003 Sofia?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Akim42003 Sofia safe to use with an AI agent?

Its trust score is 46 out of 100 (fair). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Akim42003 Sofia still maintained?

The last commit was 8 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.