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.3.tar.gz (32.1 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.3-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: feishu_wiki-0.2.3.tar.gz
  • Upload date:
  • Size: 32.1 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.3.tar.gz
Algorithm Hash digest
SHA256 e76783542d276dfd337627a0afc69ec78730beb268f9b9f671ca7022efcf461f
MD5 5ca4b32a73d821056579d0084cd14c42
BLAKE2b-256 3d3b8e815a3356c7c59cde2d7e3d17289d7ea25aca0722c5c4f7a698f384a7a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feishu_wiki-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 37.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a45fd59b623a36a3b76be5fc79b0d34ad6205cff0bcc5d233a54d49f16f9adf5
MD5 656caf2551e4cac68adb9da3a2f93521
BLAKE2b-256 071b4e3001dec8e90144329d5deebbd316a951a5f96fd6c806190b2af1c6c1a8

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