Davia 是一个面向 AI 编程代理的开源文档工具。它通过 CLI 接入 Cursor、GitHub Copilot、Windsurf、Claude Code 等代理,让代理在本地写出带交互式可视化和可编辑白板的文档文件,而不是静态 Markdown。生成的文档可以在类似 Notion 的本地工作区中浏览和修改,也能直接用 IDE 打开。它还支持把本地文档同步到远程工作区,方便团队实时协作查看。项目采用 TypeScript 编写,基于 MIT 协议开源,适合为项目沉淀可读性更强的架构说明和知识库。
npm i -g davia
Davia is an open-source tool designed for AI coding agents to generate interactive internal documentation for your codebase. When your AI coding agent uses Davia, it writes documentation files locally with interactive visualizations and editable whiteboards that you can edit in a Notion-like platform or locally in your .

📚 For detailed documentation, visit docs.davia.ai
npm i -g davia
Initialize Davia with your coding agent:
davia init --agent=[name of your coding agent]
Replace [name of your coding agent] with the name of your coding agent (e.g., cursor, github-copilot, windsurf, claude-code, augment).
Ask your AI coding agent to write the documentation for your project. Your agent will use Davia's tools to generate interactive documentation with visualizations and editable whiteboards.
Once your agent has generated the documentation, open the Davia workspace:
davia open
If the page doesn't load immediately, refresh the page in your browser.
Sync your local documentation to a remote workspace where you can collaborate with your team in real-time:
davia push
This command will:
📝 Note: Currently, updating a workspace you've already pushed isn't supported yet, but we'll be adding this feature very soon!
This is the view you'll have after sending your docs to the workspace:

Contributions are welcome! We'd love your help to make Davia better:
Another example with flows:
This project is licensed under the MIT License - see the LICENSE file for details.
[](https://github.com/davialabs/davia/stargazers)
[](https://github.com/davialabs/davia/blob/main/LICENSE)
[](https://github.com/davialabs/davia/issues)
[](https://www.npmjs.com/package/davia)
[](https://x.com/DaviaLabs)
[](https://discord.gg/A79mEzP8me)
[](https://www.reddit.com/r/davia_ai/)
[](https://docs.davia.ai/)
内容由编辑整理,部分信息来自 GitHub 与项目官网,版权归原作者所有。发现错误?报告问题