- Автор
- LazyAGI
- Размер
- 423.3 MB
- Звёзды
- 781
- Обновлён
- КоммитNov 18Релизv0.5.1Nov 18
- Возраст
- 2 г
- Коммиты · 90 дней
README проекта с github.com/LazyAGI/LazyMind. Одним файлом markdown: README.md.
中文 | English
External Agent CI setup: Follow the hosted CI setup guide to configure model access and add your keys to GitHub Actions Secrets.
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 · Showcase · Example directory · Product architecture · Build a workflow · Desktop mode
| Mode | Best for | How it works |
|---|---|---|
| Use LazyMind directly | Local knowledge work or shared team workflows | Run the desktop app for a local-first experience, or deploy the service for your team. Create tasks, use knowledge bases, and run Skills and Workflows in the LazyMind workspace. |
| Use LazyMind as an agent plugin | Extending the agent environment you already use | Connect LazyMind from Settings → Assistants. Codex and DeepSeek Harness can then use LazyMind knowledge, Skills, and Workflows in their native sessions, including workflow progress, review checkpoints, and artifacts. |
See the DeepSeek Harness integration for implementation details.
| 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.
See LazyMind in action through published demos. All videos and articles below are in Chinese; links open on their original platforms.
| Demo | What it shows | Length | Case details |
|---|---|---|---|
| DeepSeek Harness × LazyMind: from a request to a slide deck | Connect the workflow, clarify requirements, preview backgrounds, review slide content, and export the result | 1:29 | Case notes |
| From a product idea to a proposal, PRD, and prototype | Clarify the product direction through questions, then connect competitor analysis, product planning, requirements, and prototype previews | 0:55 | Case notes |
| Codex × LazyMind: create and refine a presentation | Start a task in Codex, preview and revise intermediate content, and adjust individual elements in the generated slides | 1:23 | Case notes |
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.
Intermediate results, including collected materials and the outline, remain visible and editable throughout generation. After generation, users can drag the left thumbnails to reorder slides, 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.
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.
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.
Select text in a PDF and ask a question in the document conversation |
Read the answer alongside the PDF and save the conversation to Chat when needed |
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.
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.
Local runtime: SQLite databases and state storage, with services bound to localhost |
Container deployment: Kong with RBAC, an authentication service, and persistent PostgreSQL storage |
Download the latest installer from GitHub Releases:
.dmg, open it, and drag LazyMind into Applications..exe.The installers include the local runtime needed for Desktop Mode. For normal local use, install the .dmg or .exe instead of building and packaging LazyMind from source.
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.
The commands below are intended for development and release packaging. Local users should normally use the installers above.
| 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, 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.