Skip to main content

DeepWiki CLI

A command-line tool for querying DeepWiki documentation for any GitHub repository.

DeepWiki provides AI-generated documentation for open source repositories. This CLI lets you explore documentation structure, read contents, or ask questions about any repository directly from your terminal.

Installation

Using uvx (recommended)

uvx ask-deepwiki --help

Using pip

pip install ask-deepwiki

From source

git clone https://github.com/4rays/ask-deepwiki
cd ask-deepwiki
uv sync
uv run ask-deepwiki --help

Usage

Get Documentation Structure

View the table of contents for a repository's documentation:

ask-deepwiki structure facebook/react

Output:

1. Overview
  1.1 Repository Purpose
  1.2 Key Technologies
2. Architecture
  2.1 Fiber Reconciler
  2.2 Scheduler
...

Get Full Documentation

Retrieve the complete documentation contents:

ask-deepwiki contents vercel/next.js

Note: This may return a large amount of text for repositories with extensive documentation.

Ask Questions

Ask natural language questions about a repository:

ask-deepwiki ask facebook/react "What is Fiber?"

Output:

Fiber is React's reconciliation algorithm introduced in React 16...

More examples:

ask-deepwiki ask langchain-ai/langchain "How do I create a chain?"
ask-deepwiki ask pytorch/pytorch "What optimizers are available?"
ask-deepwiki ask microsoft/vscode "How does the extension API work?"

Commands

Command Description
ask-deepwiki structure <repo> Get documentation structure (table of contents)
ask-deepwiki contents <repo> Get full documentation contents
ask-deepwiki ask <repo> "<question>" Ask a question about the repository
ask-deepwiki --version Show version
ask-deepwiki --help Show help

Repository Format

All commands expect the repository in owner/repo format:

  • facebook/react
  • vercel/next.js
  • langchain-ai/langchain
  • microsoft/typescript

Requirements

  • Python 3.10+

License

MIT

Metadata

Release files for ask-deepwiki 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ask-deepwiki 0.1.0
File Size Uploaded Provenance
ask_deepwiki-0.1.0.tar.gz 4.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ask-deepwiki 0.1.0
File Interpreter ABI Platform
ask_deepwiki-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / ask_deepwiki-0.1.0.tar.gz

Download URL ask_deepwiki-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
174896de90d089e8009432de9455e9df2cc0f2875e15aff28df094abee5fe91b
BLAKE2b-256 checksum
How to use checksums
cce6bfad173b9ee226c440a787cdc7b4fd3c3d6bd82ab09d759125412a468501
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 16, 2026.

Transparency log

Release files / ask_deepwiki-0.1.0-py3-none-any.whl

Download URL ask_deepwiki-0.1.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04f384b53aeae5795a960c4f4559edd9b99c3c80a0981e909055314befba50dc
BLAKE2b-256 checksum
How to use checksums
3c05cec46721c3d600c1a7adcd8941f7ab2bf99c0d1df91e3444e65c0a09f3d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 16, 2026.

Transparency log

Security for ask-deepwiki 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ask_deepwiki-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page