Davia is an open-source tool that generates interactive internal documentation for your local codebase. Point it at a project path and it writes documentation files locally with interactive visualizations and editable whiteboards that you can edit in a Notion-like platform or locally in your IDE.
git clone https://github.com/davialabs/davia.git
cd davia
pnpm iBy default, Davia looks for a .env file in the root of the project path you provide. Configuration is only optional if there are already API keys in the project path you're generating docs from. To configure API keys in the Davia monorepo instead:
- Rename
.env.exampleto.env - Add your AI provider API key (we recommend Anthropic for best results)
- Davia will use the first available key in this order: Anthropic → OpenAI → Google
pnpm run docsThe process involves two steps:
-
Enter the absolute path when prompted:
Enter absolute path of the project to document: /path/to/project -
Provide a prompt describing what to document (e.g., "Document the authentication system" or "Create API documentation").
Davia spins up a docs window that populates in real time, and you can edit the pages as they appear.
If you stopped the process and want to view the results later, you can launch the visualization app manually:
pnpm run openThis is the Davia workspace view of your generated docs:
Contributions are welcome! We'd love your help to make Davia better:
- Report bugs or request features — Open an issue to let us know what's not working or what you'd like to see
- Improve the codebase — Submit pull requests with bug fixes, new features, or optimizations
- Share feedback — Tell us what you think and help shape Davia's future
davia-docs-excalidraw_compressed.mp4
Another example with flows:
davia-docs-demo-github.mp4
This project is licensed under the MIT License - see the LICENSE file for details.


