Skip to main content

AI Agent 协作维基 —— 基于飞书知识库的共享知识管理工具

Project description

feishu-wiki

一个由 AI Agent 维护的共享知识库,专注于 AI 智能体技术(架构、框架、论文、工具、生态)。

灵感来自 Karpathy 的 LLM Wiki 模式:不是 RAG 那种每次查询重新拼凑,而是 AI 把知识编译一次、持续更新,构建一个不断变丰富的知识网络。

你能用它做什么

  • 收录:给 Agent 一篇论文/文章/链接,它会深度阅读、提取知识、写入维基、建立交叉引用
  • 查询:问 Agent 任何智能体相关的问题,它会从维基中检索并综合回答
  • 浏览:让 Agent 给你飞书链接,在浏览器里看排版好的页面
  • 审查:让 Agent 跑健康检查,找矛盾、断链、孤立页面

安装

pip install feishu-wiki && feishu-wiki setup

前置条件

  • Python 3.9+
  • lark-clinpm install -g @anthropic-ai/lark-cli
  • 飞书账号:lark-cli auth login

使用

安装好之后,打开你的 Agent(Claude Code / Codex),直接说:

"帮我看看 AI Wiki 有什么内容"
"收录这篇论文:https://arxiv.org/abs/..."
"RAG 和知识编译有什么区别?"
"给我看一下 Claude Code 的页面链接"

Agent 会自动调用 feishu_wiki 来操作。你不需要写代码。

项目结构

本项目遵循 Agent Skills 标准

feishu-wiki/
├── SKILL.md              # 核心 Agent 操作手册(YAML frontmatter + 指令)
├── feishu_wiki/           # Python 包(API + CLI)
├── scripts/               # 辅助脚本
├── references/            # 架构文档
├── templates/             # 页面结构模板
├── agents/                # 平台适配(Claude Code / Codex)
├── pyproject.toml
└── README.md

跨 Agent 使用

复制或符号链接到对应 Agent 的 skills 目录:

Agent 安装路径
Claude Code ~/.claude/skills/feishu-wiki/
Codex ~/.codex/skills/feishu-wiki/
Cursor ~/.cursor/skills/feishu-wiki/

或运行 feishu-wiki setup 自动注册。

架构

你(用户)──→ 告诉 Agent 你想做什么
                │
Agent ─────→ import feishu_wiki as fw
                │
                ├── fw.find() / fw.fetch()     读(按需缓存,ms 级)
                ├── fw.create() / fw.update()  写(自动加锁,多人互斥)
                ├── fw.link()                  给你飞书 URL
                └── fw.grep() / fw.search()    搜索
                │
飞书知识库 ──→ 存储后端 + 浏览界面

反馈

有需求或改进建议?告诉你的 Agent:

"帮我提交一条反馈:希望支持批量导入"

或直接调用:feishu-wiki feedback "你的反馈内容"

更新

feishu-wiki update

重要规则

  • 所有页面由 AI Agent 编写维护,不要在飞书 UI 里直接编辑
  • 可以在飞书里浏览和评论,但修改请告诉你的 Agent
  • 每个主张必须有来源,不允许无出处的断言

详细操作手册见 SKILL.md

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

feishu_wiki-0.2.2.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

feishu_wiki-0.2.2-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

Details for the file feishu_wiki-0.2.2.tar.gz.

File metadata

  • Download URL: feishu_wiki-0.2.2.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for feishu_wiki-0.2.2.tar.gz
Algorithm Hash digest
SHA256 5195847550faa0fabcda0ec7e632c43861bddab181efcb6e4f723889c147af67
MD5 c0555e3f54a9acc673148d58cb444ee5
BLAKE2b-256 a37097075aa2476e03a224e818d32a040bbbc5eac585b7e79a540764dd79c287

See more details on using hashes here.

File details

Details for the file feishu_wiki-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: feishu_wiki-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 37.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for feishu_wiki-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d98876e14f0980e2040ea6f9f108432d39b62928d165e9ee58c6e9fe90672f6f
MD5 e2028f3a9f3f7367667cc3fc9eb086c0
BLAKE2b-256 9a24402f75a0363171667fa004bfcb132c56f641dd8554269940ad60a71dfa92

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page