# Repository Briefing: LazyAGI/LazyMind
> Source: https://repoforai.com/repo/LazyAGI/LazyMind (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/LazyAGI/LazyMind
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Go
- **License**: Apache-2.0
- **Engineering Health**: A+ (91/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.5.1 (2026-11-18) — https://github.com/LazyAGI/LazyMind/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Docker, Self-Hosted, MCP
- **Momentum**: 995 ★ total (+10 24h / +86 7d) · 91 forks
- **Topics**: `ai`, `ai-agent`, `ai-agents`, `harness`, `rag`, `work`, `workflow`
- **When to Use**: Best for: Research, product, and delivery teams that repeatedly turn documents into cited reports or editable decks and need approvals, revisions, and recovery along the way. Skip if: You only need chat or a retrieval API, need a lightweight library rather than a workspace, or require air-gapped operation without separately validating and provisioning every external service dependency.

## Overview
```text
### Architecture & Core Mechanics
LazyMind separates knowledge retrieval from task execution and keeps the resulting artifacts editable. Local directories, object storage, and cloud sources such as Feishu and Notion feed a knowledge layer that parses or OCRs documents, retrieves with multiple embeddings and hybrid search, and reranks the results. Skills package reusable instructions and tools. A Skill can be converted into a Workflow, which makes steps, inputs, outputs, and transitions explicit as a state machine.

The execution layer exposes progress, approval checkpoints, retries, and rewind. Artifacts have their own revision history, so reviewing or restoring an output is distinct from rerunning a task. Knowledge Ops captures preferences and bad cases, while `evo` supports baseline evaluation, diagnosis, repair, and A/B testing before rollout. The Go repository separates `api/`, `backend/`, `algorithm/`, `frontend/`, `desktop/`, `skills/`, and `workflows/`; source startup also needs Python and Node tooling. MCP is the external interface for reusing knowledge, Skills, and Workflows in other agents.

### Key Capabilities & Differentiators
PDFReader, MinerU, and PaddleOCR-VL are document parsing options. The PDF viewer supports document-scoped conversations that cite selections or retrieved chunks and stay out of normal chat history unless saved. In v0.5.1, users can selectively import papers from Zotero or add PDFs from chat to a chosen paper collection, then use those materials for reading, literature review, writing, or analysis.

The presentation workflow makes both collected material and the outline available for review before export. It produces speaker notes and exports PDF, image-based PPTX, or editable PPTX with text, shapes, images, and charts. v0.5.1 adds PPTX template application and the ability to add requirements while a task is running. Administrators select default LLM, embedding, and reranker services; optional model roles include VLM, speech, and image generation. v0.5.0 adds fallback to authorized backup models for chat and SubAgents while preserving completed tool results and artifacts.

### Trade-offs & Limitations
Compared with a standalone RAG application, LazyMind covers more than source-grounded Q&A: it carries evidence through approvals, revisions, and final delivery. Compared with a script-first workflow runner, it gives non-developers a place to inspect and edit intermediate work. That pays off when a team repeatedly reviews and revises complex deliverables. For one-off chat, a retrieval API, or a fixed pipeline already maintained in code, the extra authoring and operational work may not be justified.

Local-first deployment gives operators control over application state, but does not make the system air-gapped. Hosted models, parsing services, search, and cloud connectors have their own credential, cost, availability, and data-egress implications. Work Zone's granular directory permissions and confirmation prompts are useful for delegated file access; they do not by themselves establish tenant isolation. Before shared rollout, test access boundaries and workflow recovery in the intended configuration, including what happens to external tool actions when a step is retried.

### Hardware & Deployment Guide
For local use, the macOS Apple silicon `.dmg` and Windows x64 `.exe` bundle the desktop runtime. Desktop services bind to localhost and use SQLite and Milvus Lite. Source startup requires Go, Python 3, uv, pnpm, and Node.js: run `make local-up`, or `make local-win-up` from native Windows PowerShell. The local UI is at `http://localhost:8090` and API documentation is at `/docs.html` on the same host. Replace the documented `admin` / `admin` defaults before allowing broader access, then configure providers and model defaults in Settings.

For a shared service, `docker-compose.yml` provides the container deployment path, alongside a separate `docker-compose.zotero.yml` file in the tree. Shared mode adds a Kong gateway, JWT/RBAC, Core ACL, persistent PostgreSQL, external Milvus/OpenSearch, and an on-premises OCR option. The Compose excerpt defaults several image and package sources to regional mirrors, so check their reachability and approval status before rollout. Size first for document ingestion, index growth, and concurrent workflows; local model serving adds a separate inference budget. Across releases, v0.4.0 introduced Work Zone permissions, v0.5.0 added model fallback and the paper library, and v0.5.1 expanded paper intake and refined Codex approvals and reconnection.
```

## Key Capabilities
```text
- Workflow state: Explicit inputs, outputs, and transitions support checkpoints, retries from a failed step, and rewind.
- Evidence retrieval: PDFReader, MinerU, and PaddleOCR-VL are parsing options; hybrid search and reranking support cited answers.
- Editable deliverables: Artifacts retain revision history; presentation export supports PDF, image-based PPTX, and editable PPTX.
- External agents: MCP exposes knowledge and execution capabilities; Codex and DeepSeek Harness can surface workflow reviews in-session.
- Local access control: Work Zone distinguishes read, create, modify, append, and delete permissions and requests confirmation for sensitive operations.
- Deployment split: Desktop uses SQLite and Milvus Lite; shared deployment adds Kong, JWT/RBAC, Core ACL, and persistent PostgreSQL.
```

## Quick Start / Clone
```bash
make local-up
```
