最新资讯
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 · @Mark Fulton

如何构建AI监控代理:捕捉时间敏感事件的4条规则

原文 我的收藏

文章以WHOIS域名状态为例,阐述了构建AI监控代理的4条规则,强调利用标准化状态码和精确时间窗口来捕捉关键事件。内容具体,但未提供完整代码或实际案例。

AI推荐理由 文章介绍了构建AI监控代理的4条规则,以WHOIS域名为例,内容具体,对开发AI监控系统有参考价值。

65

正文

对任何域名运行WHOIS查询,你会得到一个状态代码。不是一段文字,不是猜测。一个代码,来自ICANN发布的十七个标准化列表,告诉你该名称在其生命周期中的确切位置。 这些代码大多很无聊。其中一些是倒计时。 以下是某人停止付款时的顺序。注册机构设置autoRenewPeriod,即注册到期后的宽限期。如果注册商放弃它,该名称将移至redemptionPeriod,ICANN对该代码的描述异常精确:“您的域名将保持此状态30天。在redemptionPeriod结束后的五个日历日之后,您的域名将从注册机构数据库中被清除,并可注册。” 然后是pendingDelete。ICANN将其描述为名称在“处于redemptionPeriod状态30天,且您未在该30天内恢复”后达到的状态。再过几天,它就会从注册机构中消失。可注册。对任何人。 作为工程师而不是域名买家,再读一遍。这是一个有文档记录的状态机,具有公开的转换,通过可查询的协议暴露,持续运行在互联网上每个注册的名称上。没有人隐藏它。ICANN发布了整个表格。 那么,为什么有人会错过他们想要的名字呢? 信息从来不是限制因素 这是我不断遇到的事情,它与域名无关。 网络上有价值的状态绝大多数是公开的。证书到期日期是公开的。CVE源是公开的。速率限制头、弃用通知、变更日志、状态页面、定价页面、文件、招聘板、软件包注册表。全部已发布,大部分是结构化的,很多带有时间戳。 稀缺的是在状态改变的那一刻保持清醒的东西。 过去两年,我们致力于让模型更好地回答问题。这是真正的进步,我每天都在使用。但能带来回报的问题通常不是你在周二下午两点打开标签页时想到要问的那些。它们是你几个月前问过一次,并且希望在答案改变的那一刻再次得到回答的问题。 聊天机器人无法持有问题。它只能接收问题。 这就是如果我现在开始构建,我会构建的差距。不是一个更聪明的响应者。而是一个持有长期问题并保持安静直到世界变化的东西。 我会给任何构建观察者的人四条规则 我现在已经构建了许多这样的东西,有些很好,有些我最终静音了,这等同于从未构建过。存活下来的那些有四个共同点。 1. 在编写观察者之前,先写下“有趣”的定义。 你不能被“好机会”唤醒。你可以被一个谓词唤醒。如果你不能用一句对陌生人也有意义的话来表达什么符合条件,那么你拥有的不是观察者,而是信息流。这项工作的难点几乎从来不是轮询。而是对自己的品味诚实,然后将其提交为可读的内容。 2. 基于声明的状态构建,而不是推断的状态。 状态代码胜过排名。版本号胜过感觉。当来源发布自己的状态时,你读到的是事实;当它不发布时,你是在对证据运行模型,并继承该模型犯下的每一个错误。两者有时都是必要的,但你应该始终知道自己在做哪一个,并且应该首先选择声明的版本。十七个EPP代码之所以有价值,正是因为它们无聊且明确。 3. 你的采样率必须短于窗口。 这是人们最常弄错的一点,而且这不是一个微妙的错误。如果机会开放五天,而你的任务每周运行一次,那么该任务不是慢。它是坏的。它将永远报告成功,却什么也抓不到,因为它可能错过整个窗口,而每次单独运行都是绿色的。 现在每当我按计划设置某件事时,我都会写下它需要捕获的最短窗口,间隔必须适合其中并留有余地。如果不适合,要么改变间隔,要么该任务不值得运行。没有第三种选择,一条愉快的日志行并不是存在第三种选择的证据。 4. 为沉默而调整。 观察者的质量不在于它发现了多少。而在于它说话时出错的频率有多低。 中断有实际成本,你每次都会用注意力支付。一个每天浮出四十件事的观察者是一个第二收件箱,你会在一个星期内将其静音。强烈偏向精确性。让它错过一些事情。一个每月说两次话且两次都正确的观察者能够保留对你的访问权,而该访问权就是整个产品。 我认为这会走向何方 目前,几乎每个代理产品都是按任务定价的。你提问,它工作,你为工作付费。 我认为持久的产品会按观察定价,因为随时间的覆盖是与能力不同的轴,而且是复合增长的。模型变得更聪明并不会让缺席的代理变得在场。无论推理质量多高,都无法挽救在状态改变时没有运行的系统。这两者之间的权衡远没有当前讨论所假设的那么大,而且只有其中一个在变得更便宜。 这意味着操作员的工作再次转变。更少关于当下提出更好的问题。更多关于维护一个长期问题的组合,每个问题都附有诚实的“有趣”定义,并有纪律保持它们安静。 这是一项不引人注目的工作。这也是没有人能交给模型的部分,因为“有趣”的定义是你的。 我为这个确切的状态机构建的那个 PounceDomains是一个指向我上面描述的删除和拍卖周期的观察者。 你用简单的英语描述你想要的名字类型,它会从中构建一个调整过的配置。它全天候扫描Namecheap市场,并根据你的品味而不是通用分数来评估即将到期的域名。每个匹配都会丰富地到达,因此你在做决定时看到的是权威、反向链接、搜索需求、域名年龄和可比销售,而不是打开六个标签页自己组装。当有符合条件的东西时,它会带着推理和一步到位的出价路径提醒你,然后由你做决定。它还会监视你已经拥有的名字,并在你自己的到期日期变成别人的机会之前提醒你。有可选的自动出价,带有主开关、每个域名的最大值和每日预算上限,供想要的人使用,并且在你打开之前它是关闭的。 规则四是整个设计。它被构建为保持安静。 你可以在pouncedomains.com免费开始。 小要求:选择一件你目前手动循环检查的事情,因为你害怕错过它。写下那一句话,使唤醒你变得值得。那句话是实际的产品,你可以在一个下午构建其余部分。 如果你想与数十万其他以这种方式构建的人一起做这件事,Vibe Coding is Life小组是开放的,我在那里发布我学到的大部分内容:facebook.com/groups/vibecodinglife。 针对你的品味而不是通用分数。每个匹配都会丰富地到达,因此你在做决定时看到的是权威、反向链接、搜索需求、域名年龄和可比销售,而不是打开六个标签页自己组装。当有符合条件的东西时,它会带着推理和一步到位的出价路径提醒你,然后由你做决定。它还会监视你已经拥有的名字,并在你自己的到期日期变成别人的机会之前提醒你。有可选的自动出价,带有主开关、每个域名的最大值和每日预算上限,供想要的人使用,并且在你打开之前它是关闭的。 规则四是整个设计。它被构建为保持安静。 你可以在pouncedomains.com免费开始。 小要求:选择一件你目前手动循环检查的事情,因为你害怕错过它。写下那一句话,使唤醒你变得值得。那句话是实际的产品,你可以在一个下午构建其余部分。 如果你想与数十万其他以这种方式构建的人一起做这件事,Vibe Coding is Life小组是开放的,我在那里发布我学到的大部分内容:facebook.com/groups/vibecodinglife。
查看原文(中文正文为 AI 翻译)
Run a WHOIS lookup on any domain name and you get back a status code. Not a paragraph, not a guess. A code, from a standardized list of seventeen, published by ICANN, that tells you exactly where that name sits in its life. Most of those codes are boring. A few of them are a countdown. Here is the sequence when somebody stops paying. The registry sets autoRenewPeriod, a grace window after the registration expires. If the registrar gives up on it, the name moves to redemptionPeriod, and ICANN's own description of that code is unusually precise: "Your domain will be held in this status for 30 days. After five calendar days following the end of the redemptionPeriod, your domain is purged from the registry database and becomes available for registration." Then pendingDelete. ICANN describes that one as the state a name reaches after it "has been in redemptionPeriod status for 30 days and you have not restored it within that 30-day period." A few more days and it is gone from the registry. Available. To anyone. Read that again as an engineer rather than as a domain buyer. That is a documented state machine, with published transitions, exposed over a queryable protocol, running continuously on every registered name on the internet. Nobody is hiding it. ICANN publishes the whole table. So why does anyone ever miss a name they wanted? The information was never the constraint This is the thing I keep running into, and it has nothing to do with domains. The valuable state on the web is overwhelmingly public. Certificate expiry dates are public. CVE feeds are public. Rate limit headers, deprecation notices, changelogs, status pages, pricing pages, filings, job boards, package registries. All published, most of it structured, a lot of it timestamped. What is scarce is something that is awake at the moment the state changes. We spent the last two years making models better at answering questions. That is real progress and I use it every day. But the questions that pay are usually not the ones you think to ask at 2pm on a Tuesday while you have the tab open. They are the ones you asked once, months ago, and would want answered again the instant the answer changes. A chatbot cannot hold a question. It can only receive one. That is the gap I would build into if I were starting today. Not a smarter responder. A thing that holds a standing question and stays quiet until the world moves. Four rules I would give anyone building a watcher I have built a number of these now, some good, some that I ended up muting, which is the same as never having built them. The ones that survived have four things in common. 1. Write the definition of interesting before you write the watcher. You cannot be woken up by "good opportunities." You can be woken up by a predicate. If you cannot express what qualifies in a sentence that would still make sense to a stranger, you do not have a watcher, you have a feed. The hard part of this work is almost never the polling. It is being honest about your own taste and then committing it to something readable. 2. Build on declared state, not inferred state. A status code beats a ranking. A version number beats a vibe. When a source publishes its own state, you are reading a fact; when it does not, you are running a model over evidence and inheriting every error that model makes. Both are sometimes necessary, but you should always know which one you are doing, and you should reach for the declared version first. The seventeen EPP codes are valuable precisely because they are boring and unambiguous. 3. Your sampling rate has to be shorter than the window. This is the one people get wrong most often, and it is not a subtle bug. If the opportunity is open for five calendar days and your job runs weekly, that job is not slow. It is broken. It will report success forever and catch nothing, because it can miss the entire window while every individual run is green. Whenever I set up something on a schedule now, I write down the shortest window it needs to catch, and the interval has to fit inside it with room to spare. If it does not, either the interval changes or the job is not worth running. There is no third option, and a cheerful log line is not evidence that there is. 4. Tune for silence. A watcher's quality is not how much it finds. It is how rarely it is wrong when it speaks. Interrupts have a real cost, and you will pay it with your attention every single time. A watcher that surfaces forty things a day is a second inbox, and you will mute it inside a week. Bias hard toward precision. Let it miss things. A watcher that speaks twice a month and is right both times gets to keep its access to you, and that access is the entire product. Where I think this goes Right now almost every agent product is priced per task. You ask, it works, you pay for the working. I think the durable ones get priced per watch, because coverage over time is a different axis from capability, and it is the one that compounds. A model getting smarter does not make an absent agent present. No amount of reasoning quality rescues a system that was not running when the state changed. Those two things trade off against each other far less than the current discourse assumes, and only one of them is getting cheaper. Which means the operator's job is shifting again. Less about asking better questions in the moment. More about maintaining a portfolio of standing ones, with an honest definition of interesting attached to each, and the discipline to keep them quiet. That is unglamorous work. It is also the part nobody can hand to a model, because the definition of interesting is yours. The one I built for this exact state machine PounceDomains is a watcher pointed at the drop and auction cycle I described above. You describe the kind of names you want in plain English and it builds a tuned config from that. It scans the Namecheap Marketplace around the clock and grades ending-soon domains against your taste rather than against a generic score. Every match arrives enriched, so you are looking at authority, backlinks, search demand, domain age and comparable sales at the moment you decide, instead of opening six tabs to assemble that yourself. When something qualifies, it alerts you with its reasoning and a one-click path to bid, and you make the call. It will also watch names you already own and remind you before your own expiry dates turn into someone else's opportunity. There is optional auto-bid with a master switch, a per-domain maximum and a daily budget cap, for people who want it, and it is off until you turn it on. Rule four is the whole design. It is built to stay quiet. You can start free at pouncedomains.com. The small ask: pick one thing you currently check by hand, on a loop, because you are afraid of missing it. Write down the one sentence that would make it worth waking you. That sentence is the actual product, and you can build the rest in an afternoon. If you want to do that alongside a few hundred thousand other people building this way, the Vibe Coding is Life group is open and it is where I post most of what I learn: facebook.com/groups/vibecodinglife.

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

← 返回精选动态 原文

更多内容