跳到正文
原文
Hacker News Show HN· shakewingo·· 2026-10-31AI 评分60

Tadpole:约 3500 行纯 Python 从零构建的 LLM Agent,并用 4B 模型做后训练

Show HN: Tadpole – an LLM agent built from scratch then post-trained on 4B model

AI 导读

开发者 shakewingo 在 GitHub 开源 Tadpole,一个约 3500 行纯 Python、不依赖 Agent 框架的工具型 Agent,支持文件、shell、网页搜索与抓取、会话与上下文压缩,可跑在本地 4B 模型或任意 OpenAI 兼容 API 上,并能以 Telegram 机器人形式常驻。

社媒成稿工作台 · 一键复制

飞书同步推送 · 含数据/日期/出处/启发
核心数据发布日期信源出处独立开发启发
1423
Tadpole:约 3500 行纯 Python 从零构建的 LLM Agent,并用 4B 模型做后训练

📊 核心数据与事实(2026-10-31):
开发者 shakewingo 在 GitHub 开源 Tadpole,一个约 3500 行纯 Python、不依赖 Agent 框架的工具型 Agent,支持文件、shell、网页搜索与抓取、会话与上下文压缩,可跑在本地 4B 模型或任意 OpenAI 兼容 API 上,并能以 Telegram 机器人形式常驻。
• 原文实测切片:AGENT_MODEL_PATH defaults to models/Qwen3-4B-Instruct-2507-Q4_K_M.gguf A Tadpole adapter on llama.cpp, macOS AGENT_MODEL_PATH=models/Qwen3-4B-Instruct-2507-Q8_0.gguf , AGENT_LORA_PATH=models/ei-3-lora-f16.gguf (or sft-1, sft-2);
• 原文实测切片:planning turns off, as in training # Ollama: pull, then serve with a window large enough for the agent ollama pull hf.co/unsloth/Qwen3-4B-Instruct-2507-GGUF:Q4_K_M OLLAMA_CONTEXT_LENGTH=32768 ollama serve # llama.cpp: the default AGENT_MODEL_PA…
• 原文实测切片:the whole post-training line cost about $140 on RunPod.

💡 对独立开发者的启发:
1/ 供给端造工具的门槛已被 AI 和开源抹平,独立开发者真正的护城河是「找准垂直业务场景 + 做好分发」。
2/ 面对新模型或开源组件先看三件事:许可证是否商用安全、API/推理边际成本降了多少、能不能直接嵌进现有变现工作流。
3/ 别去卷通用开发者轮子,把底层新能力包装成面向具体行业人群(电商、创作者、中小商家)傻瓜式交付结果的产品。

📅 日期:2026-10-31(北京时间)
📰 信息源出处:Hacker News Show HN · shakewingo(github.com)
🔗 原文:https://github.com/shakewingo/Tadpole
📡 归档:https://billionare.me/items/iz5fmpi4v6e83006rl0gyibho
去 X 发推
每天 08:00 邮件 / 08:30 飞书准点推送一手高信噪比情报与拆解免费订阅简报

来源:Hacker News Show HN · github.com