You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
📚 <strong>CodeWiki documents itself</strong> — browse the generated documentation for this repository at <ahref="./docs/index.html"><code>docs/index.html</code></a> (open in a browser, or visit the hosted GitHub Pages site).
CodeWiki supports multiple LLM providers: **OpenAI-compatible**, **Anthropic**, **AWS Bedrock**, **Azure OpenAI**, plus subscription mode via **Claude Code** and **Codex** CLIs (no API key required).
46
51
47
52
```bash
53
+
# OpenAI-compatible
54
+
codewiki config set \
55
+
--provider openai-compatible \
56
+
--api-key YOUR_API_KEY \
57
+
--base-url https://api.anthropic.com \
58
+
--main-model claude-sonnet-4 \
59
+
--cluster-model claude-sonnet-4 \
60
+
--fallback-model glm-4p5
61
+
48
62
# Anthropic
49
63
codewiki config set \
64
+
--provider anthropic \
50
65
--api-key YOUR_API_KEY \
51
66
--base-url https://api.anthropic.com \
52
67
--main-model claude-sonnet-4 \
@@ -68,8 +83,26 @@ codewiki config set \
68
83
--aws-region us-east-1 \
69
84
--main-model anthropic.claude-sonnet-4-v2:0 \
70
85
--cluster-model anthropic.claude-sonnet-4-v2:0
86
+
87
+
# Subscription mode (Claude Code) — uses your existing Claude OAuth login.
88
+
# Install the Claude Code CLI and run `claude login` first.
# Install the Codex CLI and run `codex login` first.
96
+
codewiki config set \
97
+
--provider codex \
98
+
--main-model gpt-5.4 \
99
+
--cluster-model gpt-5.5
71
100
```
72
101
102
+
**Subscription mode** routes every LLM call through the local `claude` / `codex` CLI binary (via the [`caw`](https://github.com/zzjas/caw) library), so you can run CodeWiki on a Claude Pro/Max or Codex subscription instead of paying per-token API usage. Claude Code's built-in `Write`/`Edit`/`Bash` tools are disabled inside CodeWiki's agent loop so documentation writes still go through CodeWiki's Mermaid-validating editor.
103
+
104
+
> **Note on model names.** In subscription mode the model string is forwarded directly to `claude --model` / `codex --model`, so use the bare CLI model name (e.g. `gpt-5.4`, `claude-sonnet-4-6`) — **not** the litellm-style `openai/…` or `anthropic/…` prefix used by `openai-compatible`. If you previously ran with `openai-compatible`, re-run `config set` for **both**`--main-model` and `--cluster-model` to clear any stale prefixes; `config set` only updates the keys you pass.
105
+
73
106
### 3. Generate Documentation
74
107
75
108
```bash
@@ -289,6 +322,8 @@ Generated documentation includes both **textual descriptions** and **visual arti
> **See it in action:** This repository's own docs are checked in under [`./docs/`](./docs/) — open [`./docs/index.html`](./docs/index.html) in a browser for the interactive viewer, or start from [`./docs/overview.md`](./docs/overview.md).
326
+
292
327
---
293
328
294
329
## Experimental Results
@@ -359,6 +394,7 @@ CodeWiki employs a three-stage process for comprehensive documentation generatio
359
394
## Additional Resources
360
395
361
396
### Documentation & Guides
397
+
-**[This Repo's Generated Docs](./docs/index.html)** - Interactive documentation for CodeWiki itself, produced by CodeWiki (start at [`docs/overview.md`](./docs/overview.md))
362
398
-**[MCP Server](codewiki/mcp/)** - Model Context Protocol server for IDE integrations
0 commit comments