docsagent

作者 docsagent已验证

DocsAgent is a local-first AI documents assistant that lets you securely index and chat with thousands of desktop documents with zero cloud leakage.

328
Stars
7
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/docsagent/docsagent

快速入门

使用 docsagent 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

DocsAgent 🛡️

The High-Performance Local Intelligence Layer for AI Agents.

DocsAgent is a professional, local-first documents intelligence engine and MCP (Model Context Protocol) server. It provides a secure, near-instant bridge between your private local files and advanced agentic platforms like OpenClaw, Claude Code, and Cursor.

100% Local. 100% Private. Zero Data Leakage.

🎓 Zotero Integration: papersgpt-for-zotero

papersgpt-for-zotero is an MCP server built on DocsAgent that enables AI agents to connect and search papers in your Zotero library.

To configure it, add the following to your MCP settings.

{
  "mcpServers": {
    "papersgpt-for-zotero": {
      "command": "npx",
      "args": [
        "-y",
        "papersgpt-for-zotero",
        "mcp",
      ]
    }
  }
}

Note: If your Zotero data storage path is not the default (~/Zotero or ~\Zotero), then you will need to modify the args value to include your real Zotero data storage path behind the "mcp".

🎓 Obsidian Integration: docsagent-for-obsidian

docsagent-for-obsidian is an MCP server built on DocsAgent that enables AI agents to connect and search personal notes in your Obsidian.

To configure it, add the following to your MCP settings.

{
  "mcpServers": {
    "docsagent-for-obsidian": {
      "command": "npx",
      "args": [
        "-y",
        "docsagent-for-obsidian",
        "mcp",
      ]
    }
  }
}

Note: If your Obsidian data storage path is not the default (~/Documents/Obsidian Vault or ~\Documents\Obsidian Vault), then you will need to modify the args value to include your real obsidian data storage path behind the "mcp".

License: Apache-2.0 OS: macOS / Windows / Linux


🔥 Why DocsAgent?

Modern AI Agents are incredibly smart, but they are "blind" to your private desktop documents. DocsAgent acts as a High-Performance Intelligence Engine that indexes your local data, allowing agents to search, read, and analyze thousands of files (1,000+) with absolute privacy.

  • 🔒 Absolute Privacy: All document parsing, indexing, and vector storage happen strictly on your own hardware. Your data never leaves your machine.
  • ⚡ High-Performance Core: Powered by a native C++ engine. Experience millisecond-level retrieval even across massive document libraries.
  • 🔌 MCP Native: Built-in support for the Model Context Protocol (MCP), making it instantly compatible with the latest AI tools.
  • 📂 Format Mastery: Native parsing for PDF, Word (.docx), PPTX.

🚀 Quick Start

📄 SKILL.md

This file provides detailed instructions and guidelines for using the DocsAgent skill, including its purpose, features, and usage examples. SKILL.md


1. Install via NPM

npm install -g @docsagent/docsagent

2. CLI Usage (Local Indexing & Search)

DocsAgent provides a powerful CLI for managing your local knowledge base.

  • Index your folders:
    # Add one or more directories or files to the index
    docsagent add ~/Documents/Legal_Archive ~/Documents/Research
    
  • Search your documents:
    # Perform a semantic search directly from the terminal
    docsagent search "What are the key terms in the Barclays contract?"
    

3. MCP Usage (Connect to AI Agents)

DocsAgent is a native Model Context Protocol (MCP) server. This allows AI agents to "see" your local documents.

Start the MCP server:

docsagent server

🔌 Agent Integration Examples

Connect DocsAgent to your favorite tools using the following configurations:

OpenClaw (Recommended)

OpenClaw is the most powerful UI for local-first agents. Add DocsAgent in your config.yaml:

mcpServers:
  docsagent:
    command: "docsagent"
    args: ["server"]

Claude Code

Integrate with Anthropic's CLI tool:

claude code mcp add docsagent -- docsagent server

Cursor / Windsurf

  1. Open Settings > Features > MCP Servers.
  2. Click + Add New MCP Server.
  3. Name: DocsAgent
  4. Type: command
  5. Command: docsagent server

🛠️ Agent Tools (via MCP)

Once integrated, your AI agent gains professional-grade document capabilities through these tools:

  • search: Perform deep semantic search across your entire local library to find relevant snippets.
  • add_docs: Instantly index new local folders or files during a conversation.
  • (More tools coming soon: list_documents, remove_document, status)

💻 CLI Reference

DocsAgent provides a powerful CLI with convenient aliases (dag, da):

CommandAlias ExampleDescription
serverda serverStart the MCP server service
adddag add <path>Add directories or files to the index
searchda search "query"Search for documents directly from CLI
statusdag statusCheck engine and indexing status
stopda stopStop the background engine service

📂 Support Matrix

FormatStatusFeatures
PDF✅ FullDeep layout analysis & high-speed parsing
Word (.docx)✅ FullTable extraction & heading hierarchy preserved
PPTX✅ FullExtracts slides, shapes, and speaker notes

🤝 Community & Contributing

We are building the open standard for Local RAG. Join us in making AI respect personal data sovereignty!

  • GitHub Issues: Found a bug? Have a feature request? Open an issue.
  • Star the Repo: If DocsAgent improved your workflow, please give us a ⭐ to help others find the project!

⚖️ License

DocsAgent is open-source under the Apache-2.0 License.


Desktop Sovereignty is here. Empower your Agents with DocsAgent.

常见问题

What is docsagent?

docsagent is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by docsagent. DocsAgent is a local-first AI documents assistant that lets you securely index and chat with thousands of desktop documents with zero cloud leakage. It has 328 GitHub stars.

Is docsagent safe to use?

Yes. docsagent passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install docsagent?

Clone the repository with "git clone https://github.com/docsagent/docsagent" and add it to your Claude Code skills directory (see the Installation section above). docsagent ships a SKILL.md manifest, so compatible agents can discover and load it automatically.

What programming language is docsagent written in?

docsagent is primarily written in TypeScript. It is open-source under docsagent on GitHub, so you can review or fork the full source.

Are there alternatives to docsagent?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh docsagent against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情