DeepWiki Open is an open-source, self-hostable tool that turns any code repository into a rich, interactive wiki in seconds. Point it at a GitHub, GitLab, or Bitbucket repo, and it analyzes the code structure, generates comprehensive documentation, produces Mermaid architecture diagrams, and sets up an AI-powered Q&A interface — all without manual effort.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AsyncFuncAI/deepwiki-open/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Get DeepWiki running locally in minutes with manual setup
Docker Deployment
Run DeepWiki with a single Docker Compose command
Model Providers
Configure Google Gemini, OpenAI, Ollama, and more
Core Features
Explore wiki generation, Ask, DeepResearch, and export
What DeepWiki does
When you enter a repository URL, DeepWiki:- Clones and analyzes the code structure (supports private repos with access tokens)
- Creates vector embeddings of the codebase for intelligent retrieval
- Generates documentation pages using your chosen AI model
- Produces Mermaid diagrams to visualize architecture and data flow
- Organizes everything into a navigable wiki with an AI chat interface
Key features
Wiki Generation
Instant, AI-generated documentation for any repository
Ask Feature
Chat with your repo using RAG-powered AI for accurate, grounded answers
DeepResearch
Multi-turn AI research for in-depth investigation of complex topics
Private Repositories
Securely access private repos using personal access tokens
Multiple LLM Providers
Google Gemini, OpenAI, OpenRouter, Azure OpenAI, AWS Bedrock, Ollama, DashScope
Export
Download your wiki as Markdown or JSON
Supported providers
| Provider | Models | Notes |
|---|---|---|
| Google Gemini | gemini-2.5-flash, gemini-2.5-pro | Default provider |
| OpenAI | gpt-5, gpt-4o, o3, o4-mini | Requires OPENAI_API_KEY |
| OpenRouter | 100+ models via unified API | Requires OPENROUTER_API_KEY |
| Azure OpenAI | gpt-4o, gpt-4-turbo | Requires Azure credentials |
| AWS Bedrock | Claude, Titan, Cohere, AI21 | Requires AWS credentials |
| Ollama | llama3, qwen3, and any local model | No API key needed |
| DashScope | qwen-plus, qwen-turbo, deepseek-r1 | Alibaba Cloud models |
Self-hosting options
DeepWiki is fully self-hostable. Choose your deployment method:- Manual setup — Run the Python backend and Next.js frontend separately
- Docker Compose — Single command to bring up the full stack
- Ollama — Run entirely locally with no external API keys required
DeepWiki stores cloned repositories, embeddings, and cached wikis in
~/.adalflow/ on the host machine. This data persists across restarts when using Docker volume mounts.