volcengine/MineContext
Electron and Python desktop AI that turns screen context into answers and work summaries
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
MineContext pairs an Electron desktop client with a layered Python backend. The main process manages windows, lifecycle, and system integration; the preload script bridges IPC to the React and TypeScript renderer. The backend exposes FastAPI REST endpoints and WebSocket support, with Uvicorn declared in the Python manifest.
CaptureManager, ProcessorManager, and ConsumptionManager divide acquisition, transformation, and generation; EventManager coordinates events across those layers. Processing includes document chunking, entity normalization, and context merging and deduplication. The backend separates model integration from storage and defines an extensible capture interface. The OpenAI API protocol is the concrete integration point for custom model services.
Key Capabilities & Differentiators
The primary desktop workflow starts with screen capture. After granting OS permission and restarting the app, the user selects a screen area and starts recording. The sample config captures a screenshot every five seconds. The app builds context over time and uses it to generate daily and weekly summaries, to-dos, tips, and activity records in the background, while also making it available for interactive Q&A.
Vision-language inference and embeddings are configured separately. Supported service choices include Doubao, OpenAI, and custom OpenAI-compatible endpoints, with Doubao-Seed-1.6-flash and Doubao's vision embedding model as concrete examples. The backend includes document monitoring and chunking, but that does not establish full desktop ingest workflows for video, code, or external application data.
Trade-offs & Limitations
Compared with an activity tracker such as Dayflow, MineContext is a better fit when the record needs to support follow-up questions or generate drafts and tasks. If a timeline is enough, its vision and embedding workflow adds setup and ongoing processing. Compared with a hosted proactive assistant such as ChatGPT Pulse, the meaningful differences are screen-derived input and the ability to choose where inference runs, not a demonstrated advantage in output quality.
Local storage is not the same as local inference. The desktop app stores data locally by default, but a hosted model endpoint receives the inputs it processes. Restrict the capture area and check data flows before recording sensitive work. Local models give you more control over those flows, but shift resource sizing and compatibility tests onto your machine. Test both the vision and embedding paths before committing; v0.1.6 rolled back a prompt change after it performed poorly with some models.
Hardware & Deployment Guide
For desktop use, start with the macOS or Windows release, allow the first launch to set up the backend, and configure model access before recording. A hosted endpoint needs provider credentials; a local inference setup needs a running compatible service, with LM Studio as one option. Newer macOS packages support Apple notarization starting with v0.1.5.
For source development, Python 3.10 or newer is required. The documented frontend workflow builds the backend with uv sync and ./build.sh before running pnpm install and pnpm dev in frontend/. Run the backend directly with uv run opencontext start, optionally adding --config /path/to/config.yaml. The sample server binds to 127.0.0.1:8765; the desktop debug view is separately listed at http://localhost:1733. Release v0.1.8 updated the Doubao embedding model, following v0.1.7's model validation pop-up fix and heatmap addition.
Individuals who work across several desktop apps and want to recover task context, ask questions about recent work, or assemble a daily recap without manually keeping a log.
You only need a lightweight activity timeline, cannot authorize screen capture, or require local-only processing but cannot run and validate both model endpoints locally.
Quick Start & Installation
uv sync
source .venv/bin/activate
./build.shComparison vs. Top Chat UI & AI Apps Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| MineContext ★ | 5.6k | +2 | Python | Apache-2.0 | Electron and Python desktop AI that turns screen context into answers and work s |
| DeepTutor | 65.5k | +1.6k | Python | Apache-2.0 | A self-hosted agent workspace for source-grounded tutoring, reading, and practic |
| SurfSense | 17.3k | +227 | Python | Apache-2.0 | Local-first document agent for cited research and editing confidential files |
| onyx | 33.7k | +68 | Python | — | Self-hosted AI chat with hybrid search across permission-scoped team knowledge |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/volcengine/MineContext.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about MineContext
Where are the API boundaries, and how do I connect my own models?
How much hardware do I need for local inference?
Can we run or redistribute MineContext commercially?
When would I choose MineContext over Dayflow or ChatGPT Pulse?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy