The project's README from github.com/LazyAGI/LazyMind. As one markdown file: README.md.
中文 | English
LazyMind: Keep AI-Agent under your control.
LazyMind is an AI Skill Runtime for knowledge-intensive work: an environment that turns knowledge, expert practice, and tools into executable, recoverable tasks. It connects reusable knowledge, executable Skills, observable workflows, editable artifacts, and evaluation-driven improvement in one workspace.
Instead of repeatedly uploading context, tuning prompts, and supervising every agent step, you choose the knowledge and workflow once. LazyMind then plans, executes, exposes intermediate results, and carries accepted feedback into the next run. Use it locally in Desktop Mode, deploy it as a shared enterprise service, or provide knowledge, Skills, and Workflows to external agents such as Codex, Cursor, and WorkBuddy.
Quick start · Product architecture · Build a workflow · Desktop mode
| Scenario | LazyMind runs | You receive |
|---|---|---|
| Research and review | Search sources → retrieve evidence → compare → synthesize → review | A traceable report grounded in your documents and external sources |
| AI Writer | Organize sources → outline → draft sections → revise → final review | An editable, versioned document rather than a one-shot answer |
| Presentations | Clarify intent → gather sources → outline → create and revise slides → export | A PDF or PPTX with speaker notes and locally editable slides |
| AI Image | Interpret intent → collect references → refine prompt → generate/edit | Images and animated stickers with the process retained |
| Knowledge assistant | Connect sources → parse/OCR → hybrid retrieve → rerank → answer | Answers linked back to reusable organizational knowledge |
| External agent augmentation | Connect projects and sessions → call knowledge, Skills, or Workflows → track execution | LazyMind capabilities and artifacts inside the agent you already use |
| Quality improvement | Capture a bad case → evaluate → diagnose → A/B test → deploy | A verified strategy improvement, not an unchecked prompt change |
For an end-to-end product video, see the Chinese README.
flowchart LR
K["Knowledge<br/>local files · cloud docs · object storage"] --> R["Retrieve & reason<br/>parse · OCR · hybrid search · rerank"]
S["Skills & workflows<br/>instructions · tools · state machines"] --> X["Observable execution<br/>steps · approvals · retry · rewind"]
R --> X
X --> A["Editable artifacts<br/>citations · revisions · delivery"]
A --> F["Feedback & evaluation<br/>preferences · bad cases · A/B tests"]
F --> K
F --> S
This loop is built from three connected systems:
| System | Responsibility | Product behavior |
|---|---|---|
| Knowledge Foundation | Give AI the right context | Multi-source ingestion, OCR, hybrid retrieval, reranking, and source traceability |
| State Brain | Keep long tasks on course | Visible steps, approvals, editable artifacts, retries, rewinds, and version history |
| AI Growth Engine | Improve future runs safely | Reviewable preferences and terminology plus evaluation, diagnosis, A/B tests, and rollback |
Choose knowledge and a Skill; LazyMind continues from source organization through planning, generation, review, and delivery. Workflows define steps, tools, inputs, outputs, and transitions as state machines, while artifacts preserve editable results and revision history.
For long-running work, each step remains visible. Users can approve checkpoints, edit an artifact, or rerun from the failed step instead of restarting the whole task.
Inspect and edit the Artifact before continuing |
Review a version diff and restore the result you need |
Local directories, object storage, Feishu, Notion, and other sources feed a unified knowledge base. PDFReader, MinerU, or PaddleOCR-VL parses documents; multi-embedding retrieval, hybrid search, and reranking keep results grounded in relevant evidence.
Organize documents and track parsing status in one knowledge base |
Ground answers with inline citations and traceable references |
Research methods, writing processes, and domain standards can be managed as Skills and converted into executable Workflows. Teams can diagnose, repair, publish, version, and roll them back instead of rebuilding the same setup from prompts and scripts. See the Workflow format specification.
Select a Skill as the source of a new workflow |
Inspect, refine, publish, and version the generated workflow |
The PPT Workflow carries a presentation request through research, outline approval, slide generation, review, and export. It can use the user's prompt, uploaded files, LazyMind knowledge bases, web search results, and AI-generated images as source material, and it produces speaker notes for each slide.
After generation, users can reorder or remove slides and select text or elements for natural-language content and style changes. Results can be exported as PDF, image-based PPTX, or editable PPTX containing text, shapes, images, and charts.
Image placeholder: end-to-end PPT Workflow. Use one 16:9 screenshot showing the execution stages on the left, a real slide preview in the center, and the outline or source-material panel on the right. The stages should visibly cover research, outline, generation, review, and export.
The Capability Center brings quick chat, complex tasks, and curated examples into one entry point. Users can filter by scenario, capability type, and technical tags; inspect the description, workflow, example input, and interactive result; then launch the capability in Chat or Work. Curated entries are backed by runnable Skills and installed on demand when first used.
Image placeholder: Capability Center home and detail view. Show category filters, at least six curated capability cards, and one detail view with a real result preview and a visible “Try it” action. The image should make clear that these are runnable capabilities rather than static examples.
The document preview supports conversations scoped to the current document and can cite PDF selections, knowledge chunks, or partial chunk content. Temporary document conversations stay out of normal chat history unless the user chooses to promote and save them.
Selections in chat answers and Writer documents can be revised by AI at the smallest relevant scope. Users review the diff, accept or reject the result, and follow citations back to the original document.
Image placeholder: document chat and local revision pair. Use two side-by-side screenshots: a PDF selection entering a document-scoped conversation with citations, and an AI revision diff with visible Accept and Reject actions.
LazyMind can discover local projects and native task histories from Codex, Cursor, WorkBuddy, TRAE Work, DeepSeek Harness, and other agents, then create, continue, and inspect their work in one workspace. Through MCP, external agents can also use LazyMind Workflows, Skills, knowledge bases, and cloud documents without rebuilding the same task context.
Image placeholder: external-agent collaboration. Show a Codex or Cursor task discovered and continued inside LazyMind, including project or session selection, execution status, tool steps, and a final artifact. Avoid using only a Settings connection screen.
Knowledge Ops captures what the user wants—preferences, terminology, experience, and Skills. evo tests how the system should improve by turning bad cases into evaluation samples and running baseline evaluation, diagnosis, repair, and A/B testing.
Knowledge Ops reviews Skills, preferences, terminology, and experience |
Algorithm evolution validates improvements before rollout |
Desktop Mode uses native processes, SQLite, and Milvus Lite with platform-standard data paths. Shared deployments add Kong, JWT/RBAC, Core ACL, external Milvus/OpenSearch, and on-premises OCR. Your workflow stays recognizable across both modes.
Prerequisites: Go, Python 3, uv, pnpm, and Node.js.
make local-up
On native Windows PowerShell:
make local-win-up
After startup:
admin / adminAfter login, open Settings in the frontend:
Select the default models for each system capability |
Configure document parsing, search, and integration credentials |
Stop the local runtime with:
make local-down
Use make local-win-down on Windows. See the Quick Start guide for complete configuration.
| Platform | Command | Output |
|---|---|---|
| macOS arm64 | make desktop-darwin-arm64 |
macOS desktop application |
| Windows x64 | make desktop-windows-x64 |
Portable ZIP |
| Windows x64 | make desktop-windows-x64-installer |
Installer |
make up
This starts both the Docker services and the host-side Assistant Bridge. Open Settings → Assistants to connect Codex, Cursor, WorkBuddy, Raccoon, TRAE Work, or DeepSeek Harness without running separate MCP configuration commands. If Docker is installed but Go is not, the bridge is cross-compiled for the host automatically inside Docker.
On Windows, run this command from Git Bash with make available. Do not replace it with bare docker compose up: containers cannot inspect or launch programs installed on the Windows host. On macOS and Windows, the host bridge discovers CLIs and desktop applications through the operating system; Settings → Assistants also accepts a custom or portable host path when automatic discovery cannot resolve it.
| Scenario | Command |
|---|---|
| Build images and start | make up-build |
| Deploy MinerU OCR on-premises | make up LAZYMIND_DEPLOY_MINERU=1 |
| Deploy PaddleOCR on-premises | make up LAZYMIND_DEPLOY_PADDLEOCR=1 |
| Use external Milvus/OpenSearch | make up LAZYMIND_MILVUS_URI=http://your-milvus:19530 LAZYMIND_OPENSEARCH_URI=https://your-opensearch:9200 |
See the Colima setup guide or the complete Quick Start guide. The Architecture guide covers service dependencies, environment variables, and the authentication chain.
| Area | Current capabilities |
|---|---|
| Knowledge base | Multiple sources, OCR, vectorization, hybrid retrieval, reranking, sync management |
| Agents | RAG chat, tool calls, subtask timeline, artifacts, task center, long-context compression |
| Content creation | AI Writer, PPT Workflow, AI Image, local revision, multi-format export |
| Workflows | State machines, dynamic routing, automatic review, retry/rewind, visual execution, versioned artifacts |
| Skills | Installation, organization, review, revisions, rollback, Skill → Workflow |
| Capability Center | Curated Skills, scenario categories, interactive demos, on-demand installation |
| Document reading | Current-document chat, PDF selection citations, source navigation, temporary conversations |
| External agents | Local project and session discovery, task continuation, MCP access to knowledge and capabilities |
| Tasks and conversations | Terminal states, archives, recycle bin, recovery, synchronized task and conversation status |
| Self-evolution | Eval-set generation, evaluation, bad-case analysis, repair, deployment, A/B testing |
| Local experience | macOS/Windows local runtime, desktop builds, platform-standard data paths |
| Enterprise | Kong, JWT/RBAC, ACL, OAuth sources, optional external storage |
This table describes capabilities implemented in the repository today, not a future roadmap. See docs for module design and implementation details.
LazyMind's next phase is not about adding more isolated features. The goal is to strengthen the Skill Runtime so knowledge, Skills, Workflows, and self-evolution form complete task loops both inside LazyMind and across other agents.
Skill Runtime and Desktop
External agent ecosystem
Task and resource infrastructure
Knowledge sources, editing, and publishing
Flagship scenario: evidence-driven paper research and technical writing
Image placeholder: paper reading to technical-guide workflow. Use a horizontal flow or four-panel composition showing PDF selection reading, the paper Evidence list, multi-paper comparison, and citation-grounded writing in AI Writer. Every stage should visibly preserve source information or navigation back to the original text.
The roadmap will evolve based on real workflow completion rates, output quality, human interventions, latency, and cost. Repository issues, milestones, and release notes remain the source of truth for specific releases.
LazyMind/
├── frontend/ # Web UI and desktop frontend
├── backend/
│ ├── auth-service/ # Authentication, OAuth, and users
│ ├── core/ # Data, tasks, retrieval, Workflows, and ACL
│ └── scan-control-plane/ # Source scanning and synchronization
├── algorithm/
│ └── lazymind/ # Chat, parsing, retrieval, and agent runtime
├── workflows/ # Built-in Workflows
├── skills/ # Built-in and curated Skills
├── evo/ # Self-evolution and evaluation loop
├── desktop/ # Electron desktop application and packaging
├── local/ # Host-local runtime management
├── api/ # OpenAPI specifications
├── docs/ # Architecture, usage, and design docs
└── tests/ # Cross-service tests
make lint # Python, Go, docs, and other static checks
make lint-only-diff # Check changed files only
make test # Test with host-provided runtimes
make test-hermetic # Test the same scope in project-managed runtimes
api/See LICENSE.