最新资讯
stackoverflow.blog 欢迎来到芯片时代:半导体制造、AI 数据中心与芯片设计的未来 www.youtube.com AI Agent 总犯同样的错:CentralAgent AI 将记忆重构为经验系统 pub.towardsai.net Netflix 科学家建议重采样 LLM 评判:5 次仅将误差棒缩小 13% pub.towardsai.net Jev 作为 LLM 前的静默层:构建提示感知的模型路由器 reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准 dev.to FreeToken:在自有 GPU 上运行前沿 MoE 模型及其内存需求 dev.to 当 AI Agent 说“完成”时,究竟完成了什么? dev.to 部署 Underdog Bark 3.0 Pro:逐字转写、自定义后端与分块设置 dev.to 为艰难对话构建 AI:五个 Agent、一条安全正则与一位盲评监督者 techcrunch.com Palo Alto Networks 洽谈以 5 亿美元收购 AI Agent 安全初创公司 Clutch theinformation.com 黄仁勋被要求就涉华间谍指控向国会作简报 www.infoq.com Edera 推出 Object Capability Bounded Authority,试图将凭证与 AI Agent 工作负载隔离
多元动态
登录 注册
大模型 dev.to · @Zain Dana Harper

Flywheel 1.0.1:可自托管的 AI 工作站,含编码代理与答案校验

原文 我的收藏

Flywheel 是一个可自托管的 AI 工作站与编码工具链,运行在本地机器上,可指向持有密钥的托管模型、通过 HTTP 使用 ollama 的本地模型,或下载已发布的 14B/32B 权重。安装方式为 pip install flywheel-verify,随后 flywheel up 在 127.0.0.1:8799 启动本地 API 网关并提供浏览器界面,运行时仅依赖 Python 标准库。roster 中声明了 15 条 lane,其中 10 条从哈希固定的源码原生打包,覆盖研究采集、工作区符号图、带来源校验的记忆、多代理路由、断言复核、写作质量与 AI 痕迹检测等,各 lane 可独立运行并通过 JSON 组合。编码代理 relay 为权限门控,运行第四阶段做能力检查,将 shell 命令解析为能力名并决定允许、拒绝并回传原因或升级给人工,被拒请求会连同原因写入 ledger。check-output 用退出码区分结果:0 表示确认,1 表示数值不一致,3 表示无法确认,未校验的值不会被读作已确认。作者指出可执行文件名映射为手工维护,未收录的命令会被记为 unknown 而非默认信任。

AI推荐理由 介绍自托管 AI 工作站 Flywheel 1.0.1 的具体机制:pip 安装 flywheel-verify、本地网关 127.0.0.1:8799、仅用 Python 标准库、可接托管模型或 ollama 或 14B/32B 权重;relay 编码代理采用权限门控,能力检查可 allow/refuse/escalate 并把拒绝原因回传模型;check-output 用退出码 0/1/3 区分确认、不一致、无法确认。作者也自述可执行文件名映射为手工维护,未见过的命令会被记为 unknown 而非静默信任,这是明确局限。属开发者自述的工具介绍,无独立验证或效果数据,故质量与兴趣分中等。

62

正文

Flywheel is a self-hostable AI workstation and coding harness. You run it on your own machine, point it at any model you hold a key for or a local one, and keep a record of every run. This post walks the parts a developer touches first: install, the coding agent, check-output, and the receipt path. Install and start the gateway pip install flywheel-verify flywheel up Enter fullscreen mode Exit fullscreen mode flywheel up starts the local API gateway on http://127.0.0.1:8799 and serves a browser shell there. The installed runtime uses only the Python standard library. The PyPI distribution name is flywheel-verify; the command it installs is flywheel. No model download is required. Point the router at a hosted provider you hold a key for, or run local through ollama over HTTP, or fetch the published 14B and 32B weights. The roster reports that a credential is present, never its value. flywheel auth login Enter fullscreen mode Exit fullscreen mode That runs a stepwise sign-in, stores the token in your OS credential store, and the router picks it up. The lanes Fifteen lanes are declared in the roster; ten bundle natively from hash-pinned source. List their configured state, or probe each lane's live MCP connection: flywheel lanes flywheel lanes --probe # live MCP handshake per lane Enter fullscreen mode Exit fullscreen mode Lanes cover research intake (gather), a workspace map and symbol graph (index), memory with source checks (mneme), multi-agent routing (forum), claim recheck (crucible), writing quality and AI-tell detection (articulate), and more. Each runs on its own and composes with the others through JSON. The coding agent relay is a permission-gated coding agent that works over your own folders on a local or hosted model: flywheel relay Enter fullscreen mode Exit fullscreen mode Stage four of a run is the capability check. It reads a shell command the way a shell reads it and names what the command is able to do, and that name settles the decision: allow, refuse with a reason returned to the model, or escalate to a person. A blocked request is not a fatal error. The reason goes back to the model, which can pick a different route, and the ledger keeps the request, the refusal, and the reason. One honest gap the repo does not paper over: the map of executable names is curated by hand, so a command it has never seen is admitted and written down as unknown rather than silently trusted. Checking an answer before it ships An assistant that rechecks its own arithmetic gets the same wrong number twice. So Flywheel checks a value against the source that decides it and reports three outcomes: flywheel check-output --contract task.contract.json --answer answer.json --allow-commands Enter fullscreen mode Exit fullscreen mode Exit 0 means confirmed, exit 1 means the value disagrees, exit 3 means nothing could confirm it. An unchecked value never reads as a confirmed one. The report also says whether the answer may ship: RELEASE, RELEASE_WITH_CAVEAT, or HOLD with the fields that blocked it. Inside a lane, a held answer does not accept. Finance, medicine, and law each ship a pack of field templates for the values that go wrong the same way: a dose banded by a formulary rather than computed, a deadline counted in calendar days where the rule counts court days, an amount carried to two decimals in a currency that has none. A pack ships field shapes and arithmetic, no domain data; the authorities stay yours to supply. flywheel packs medicine Enter fullscreen mode Exit fullscreen mode Add --lean Answer.lean --verify-lean and the check is emitted as a Lean 4 file that the kernel runs. What the kernel settles becomes a theorem, what an outside authority decided becomes a named axiom, and one #print axioms line prints everything the result rests on. The receipt path Routed runs keep a ledger of tool names, arguments, and outputs. With sealed tool-call receipts enabled, each receipt also records the capability, the outcome, argument and output hashes, and the prior receipt's hash. Sealed receipts form an ordered hash chain, so if one receipt is invalid, later entries in that chain become unverifiable. The end-to-end gate runs oracle to group to receipt to re-witness with no model and no candidate code executed, and exits 0 only on a MATCH: flywheel gate Enter fullscreen mode Exit fullscreen mode An independent witness re-runs the recorded check offline and reports MATCH, DRIFT, or UNVERIFIABLE. No learned model sits on the accept path. That is the whole point of the receipt: a run you can hand to someone who was not there, and they reach the same verdict. Honest null On the shipped benchmark, continued pretraining on the workspace corpus did not improve general code completion: -3.05 points over 164 tasks, p = 0.40. The retired arms benchmark read +0.100 with 95% CI [-0.236, +0.420], an interval that includes zero. No capability uplift is claimed. A receipt shows the check reproduces. Whether the answer is right about the world is a separate question. Links Repo: https://github.com/HarperZ9/flywheel Release v1.0.1: https://github.com/HarperZ9/flywheel/releases/tag/v1.0.1 PyPI: https://pypi.org/project/flywheel-verify/ License: FSL-1.1-MIT (source-available)

来源报道 · 1 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容