DocMason – AI Agent Knowledge Base for local complex office files
Preserves document structure instead of flattening to text like most RAG tools.
DocMason is a repo-native agent that turns your complex office files into a local LLM knowledge base and your second brain. The repo is the app. Codex is the runtime.
Provenance-first RAG beats anonymous text chunks, but Cursor and Continue already own this space.
IT architects, analysts working with complex internal documents
Cursor · Continue · Sourcegraph Cody
During my daily working life, I have tons of office documents with knowledge from all teams, and as an IT Architect, I need to combine them altogether to handle complex deep research (which normal LLM definitely could not help). That is the originally reason I built DocMason, and I am using it in everyday which support me on lots of complex topics.
I have already open-sourced this repo. And I think it takes Karpathy's concept a step further for real-world usage in three ways: 1. It could handle most kinds of office docs (pptx, docx, excels, even .eml). And really extract multimodal information from all IT architecture diagram or excel sheets. 2. It is running as a Real APP but not a naive RAG tool. DocMason could run smoothly and intelligently to prepare environment, auto update, and auto incrementally sync Knowledge base. 3. Most importantly it is running in Native AI Agents, which could leverage powerful AI Agents engine (e.g. Codex or Claude Code)
View detail architecture diagram in DocMason Readme, and then download have a try :) You will find it could help a lot during daily work. Would love to hear your feedback and issues in Github!
Preserves document structure instead of flattening to text like most RAG tools.
Captures Toulmin argument structure for decisions when most tools just store flat facts.
Smart frame filtering plus knowledge graph extraction—useful but Fireflies.ai and Otter.ai exist.
Shows Haiku matching Opus performance by surfacing git history to the agent.
Turns PDFs and videos into shareable agent skills—but competitors already exist.
Agents leaving notes for other agents via MCP is a clever pattern for tribal knowledge.