Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

guanlan-wiki

Latest version: v0.1.41

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: jin-bo
14 Stars
3 Forks
14 Versions
1.3K Downloads
Python Repo language

Scan summary

guanlan-wiki was last scanned on 25 Nov 2026 at version 0.1.41. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 14 versions; the latest 2 were published within 2 days (24 and 25 Nov 2026).
  • Findings: No rules fired in version 0.1.41.
  • Downloads: 1,347 downloads.

Versions

14 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.41 LATEST 25 Nov 2026 No rules fired
0.1.40 24 Nov 2026 No rules fired
0.1.39 16 Nov 2026 No rules fired
0.1.38 15 Nov 2026 Not shown
0.1.37 13 Nov 2026 Not shown

No rules fired in 0.1.41

Findings

Findings for v0.1.41. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.41; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

中文 | English

PyPI Python License Status

《孟子·尽心上》"观水有术,必观其澜"——在信息的汪洋中洞察脉络与趋势。

观澜让 Agent 增量地构建并持续维护一个结构化、互相链接的知识 wiki,而不是每次提问都从原始文档临时检索(传统 RAG)。你只管投喂资料、提问、给方向;摘要、交叉引用、归档全交给 Agent。知识被"编译"一次后持续保鲜,随每篇新资料、每次提问而复利增长。

这是 Karpathy LLM Wiki 模式 的一个实现。

核心理念

  • markdown 始终是唯一事实来源——整个知识库就是一组本地 markdown 文件,任何索引/图谱/缓存都是可幂等重建的派生物。
  • Agent 全权拥有 wiki 层,人不直接写——人投喂、提问、给方向;生成与维护交给 Agent。
  • raw/ 只读不可变——Agent 只读原始资料、永不修改,保证事实可追溯。
  • 确定性优先——结构检查、断链、frontmatter 校验走脚本(零 LLM、可离线);需 LLM 的 ingest/query 统一经 Agentao 运行时治理。

能做什么

命令 作用 需模型?
guanlan init 初始化一个知识库(确定性模板) 否
guanlan ingest 投喂一篇资料,Agent 生成/更新 wiki 页(--flash 只建摘要页、几十秒进库,以后再加深) 是
guanlan import 一键入库整本书/长报告:解析 · 整理 · 拆分 → 确认 → 逐份 ingest,可暂停续跑(--flash 逐份快速收录) 是
guanlan query 对知识库提问(--backfill 可把答案沉淀回 wiki) 是
guanlan search 整页全文检索(BM25 + 中文分词) 否
guanlan check / health / lint 校验 / 体检 / 结构 lint 否
guanlan graph 生成可交互的 [[wikilink]] 知识图谱 否
guanlan web 在浏览器里浏览、问答、维护(可选叠加层) 部分
guanlan mcp 把 wiki 只读暴露给 MCP 客户端(可选叠加层) 部分
guanlan im 在微信 / 飞书的聊天窗口里问知识库(可选叠加层,只读) 部分

还有 reindex(索引回填)、heal(缺失实体物化)、audit(语义审计:复核 raw/ 已变但 wiki 未重综合的漂移源)、remove(源撤回:把误摄/已撤稿源移入 .trash/)、convert(PDF/DOCX/… 转 markdown)、zip(把知识库打包成可分享的 zip,不收 .env 等私有文件)等。逐命令细节见 用户指南。

安装

pip install guanlan-wiki

PyPI 发布名是 guanlan-wiki(裸名 guanlan 已被一个无关项目占用);安装后命令行与导入名仍是 guanlan。需 Python 3.10+。

init / check / health / lint / graph / search 零 LLM、可离线运行;ingest / query / Web 问答需配置一个模型(经 Agentao 运行时)。

可选宿主(叠加层,按需装):

pip install 'guanlan-wiki[web]'         # 浏览器宿主 guanlan web
pip install 'guanlan-wiki[mcp]'         # 只读 MCP 服务端 guanlan mcp(需官方 SDK mcp>=2)
pip install 'guanlan-wiki[im-weixin]'   # IM 宿主 guanlan im --platform weixin
pip install 'guanlan-wiki[im-feishu]'   # IM 宿主 guanlan im --platform feishu

IM 的两个 extra 按平台分,不给一个大 [im] 把两家 SDK 都拖来(要两个都装写 [im])。

快速开始

# 1. 初始化一个知识库(确定性、零 LLM,可重复运行不覆盖)
guanlan init my-wiki

# 2. 投喂资料 / 提问(需配置模型)
guanlan -C my-wiki ingest path/to/source.md
guanlan -C my-wiki import path/to/书.pdf      # 整本书:去页眉页码、按章拆分,确认后逐份 ingest
guanlan -C my-wiki query "你的问题"

# 3. 维护(零 LLM、可离线)
guanlan -C my-wiki check     # frontmatter / 断链 / 来源校验
guanlan -C my-wiki health    # 桩页 + index↔磁盘同步 + source 页原文
guanlan -C my-wiki lint      # 孤儿页 / 断链 / 缺失实体
guanlan -C my-wiki graph     # 写出 graph/graph.json + graph.html

在浏览器里用(可选):

pip install 'guanlan-wiki[web]'
guanlan -C my-wiki web       # 起本地 Web 宿主,仅监听 127.0.0.1,默认开浏览器

浏览器里可:浏览 wiki 并跟随 [[wikilink]] 导航、跑 check·health·lint 看报告、看 graph、上传 PDF/DOCX 等原件一键入库(与 CLI import 共用任务,可互相续跑)、从 raw/ 补录 ingest 等写作业(含 heal 补全、audit 漂移复核、backfill 回填)、与 agent 只读多轮对话。仅供本机单用户——绝不要把端口暴露到网络。

在微信 / 飞书里用(可选):

pip install 'guanlan-wiki[im-feishu]'
guanlan im-identify --platform feishu          # 先拿到要授权的人的完整 ID
guanlan -C my-wiki im --platform feishu \
    --allow-user ou_xxxxxxxx                   # 白名单默认 deny,空白名单拒启

IM 宿主只读、不监听任何端口。但一个零监听端口的进程照样能把整库答案送进一个 200 人的群——所以授权是显式白名单,群聊放行是「群 AND 人 AND @我」三者同时成立。

答案里的 [[引用]] 不是死字:任何平台都能发 /page 甲实体 把那一页调出来(零 LLM、毫秒级);飞书上还会追发一张卡片把这些引用变成按钮,点一下就等于替你发了那条命令。按钮只能开页,永远不触发任何写操作。

完整上手见 用户指南 → 快速上手。

生成结构

my-wiki/
├── AGENTAO.md       # Agent 行为约束 + 指针
├── SCHEMA.md        # 本库 Schema:领域 / 启用页面类型 / 自定义规则
├── raw/             # 原始资料(只读,事实来源)
└── wiki/            # Agent 全权生成的知识层
    ├── index.md     # 全量页面目录
    ├── log.md       # append-only 时间线
    └── overview.md  # 跨资料活体综述

💡 知识库长起来后,可让 LLM 先分析当前库的真实状态、再据此更新 SCHEMA.md(领域边界 / 页面类型用法 / 命名与标签约定 / 演进中的组织偏向);含可直接复用的提示词,见 用户指南 → 快速上手 §1.1 让 LLM 辅助更新 SCHEMA.md。

文档

开发

uv run guanlan init /tmp/demo   # 跑 CLI
uv run pytest                   # 跑测试

维护引擎是 skills/guanlan-wiki/(SKILL.md + references/conventions.md + 脚本),开发期命中 Agentao 的 repo-root skill 发现路径(<工作目录>/skills/),免安装。详见 CLAUDE.md。

许可证

Apache License 2.0

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases guanlan-wiki

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229