A comprehensive local computer assistant for standardizing computer environment checking, setup, updates, and problem solving. Starting with Windows support, with plans to expand to Linux for various use cases (art design, study, financial, etc.).
- Environment Checking: Analyze system configuration, installed software, resources
- Setup Automation: Standardize and automate software installation and configuration
- Update Management: Check for and apply system and software updates
- Problem Solving: Detect issues and provide automated fixes
- Agent-to-Agent Communication: REST API and MCP (JSON-RPC 2.0) endpoints for AI agent integration
- Python 3.8 or higher
- Docker Desktop (optional, for containerized deployment)
# Install dependencies
pip install -r requirements.txt
# Install API dependencies (for agent communication)
pip install -r requirements-api.txt# Set PYTHONPATH (adjust path to your project location)
$env:PYTHONPATH="<project-root-directory>"
# Example: $env:PYTHONPATH="C:\projects\local-computer-assistant"
# Run commands
py src/main.py check # Check environment
py src/main.py setup # Setup system
py src/main.py diagnose # Diagnose issues
py src/main.py fix # Fix issues
# Start API server (for agent communication)
py src/api/server.py# Build image
docker build -t local-computer-assistant .
# Run container
docker run -it --rm --privileged local-computer-assistant check
# Or use docker-compose
docker-compose upOnce the server is running (py src/api/server.py):
- Swagger UI: http://localhost:8000/docs
- Development Info: http://localhost:8000/api/v1/dev-info
- MCP Endpoint: http://localhost:8000/mcp
REST API:
curl http://localhost:8000/api/v1/dev-infoMCP (JSON-RPC 2.0):
curl -X POST http://localhost:8000/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "mcp.get_dev_info",
"params": {},
"id": 1
}'local-computer-assistant/
├── src/ # Source code
│ ├── api/ # API server (REST + MCP)
│ ├── checker/ # Environment checking
│ ├── core/ # Core utilities
│ ├── setup/ # Setup automation
│ ├── update/ # Update management
│ ├── troubleshooting/ # Problem detection & fixes
│ └── main.py # CLI entry point
├── config/ # Configuration files
├── docs/ # Documentation (organized by topic)
│ ├── getting-started/ # Installation & quick start
│ ├── api/ # API documentation
│ ├── architecture/ # Architecture & design
│ └── guides/ # User guides
├── scripts/ # Platform-specific scripts
├── data/ # Data storage (git-ignored)
├── logs/ # Log files (git-ignored)
├── requirements.txt # Python dependencies
├── requirements-api.txt # API dependencies
├── Dockerfile # Docker container definition
└── docker-compose.yml # Docker Compose config
📖 New to CompAssist? Start with:
- PROJECT_SUMMARY.md - Comprehensive project overview
- INDEX.md - Complete project index and navigation guide
- docs/getting-started/installation.md - Installation guide
See docs/ directory for detailed documentation organized by topic:
docs/getting-started/installation.md- Installation guidedocs/getting-started/quickstart.md- Quick start guidedocs/getting-started/docker-setup.md- Docker setup
docs/api/overview.md- API overview and setupdocs/api/rest-api.md- REST API endpointsdocs/api/mcp-protocol.md- MCP (JSON-RPC 2.0) protocoldocs/api/dev-info-endpoint.md- Development info endpoint
docs/architecture/design.md- System architecturedocs/architecture/agent-communication.md- Agent communication designdocs/architecture/docker-feasibility.md- Docker deployment analysis
docs/guides/docker-installation.md- Docker installationdocs/guides/lightshot-installation.md- Lightshot installation
See docs/README.md for complete documentation index.
- ✅ Windows: Full support
- 🔄 Linux: Basic support (expanding)
- 🔄 macOS: Planned
MIT