AI 智能体实操用例库

真人真做过的 AI 智能体案例:做法、提示词结构、成本、结果状态,全部链回一手出处。

· 评分 · 状态:

作者/出处:
原文:
日期: · 工具:
成本: · 耗时:

title: 让智能体一句话筛 S&P 500,再逐行对账验它没算错

category: 调研数据

score: 74

status: 仅测试(无投资收益、无省时数字;作者原文明确“Nothing here is investment advice”)

source_author: Daniel Oliveira(dev.to 账号名推断,正文未署全名,待补核)

source_url: https://dev.to/daniel_oliveira_4bd55d35d/how-to-screen-stocks-in-plain-english-with-an-ai-agent-then-check-what-it-found-1nnj

source_date: 2026-10-21(文中明确的工具调用日期;dev.to 页未另显示发布日)

tools: [Claude / ChatGPT / Claude Code, Equibles MCP]

cost: Equibles 免费档每天 100 次请求(原文口径);超出免费档的费用原文未列

time_needed: 读者照做约 1 天内可上手(含接 MCP、跑两次筛选、做一次对账)

---

速览卡

一句话

不用填几十个筛选框:用一句话让智能体筛 S&P 500,再逼它把原始 Form 4 行摊开、重算一遍,验出“汇总数字”里藏着的 $4.7M 非公开市场交易。

原作者怎么做的

  1. 先接工具:在 Claude 里走 Customize → Connectors → Discover 搜 Equibles 并授权;在 Claude Code 里用 claude mcp add --transport http equibles https://mcp.equibles.com/mcp 接入。免费档每天 100 次请求。
  2. 第一筛(内幕买入):一句话——“Using Equibles, which S&P 500 stocks had more than $1M of net insider buying in the last 90 days?”智能体调 ScreenStocks(index=sp-500,minNetInsiderBuy=1000000,sortBy=insiderbuy),筛出 12 只,前列为 PepsiCo $23,281,715、Uber $13,305,343、Intel $9,999,985、波士顿科学 BSX $9,486,038。
  3. 对账验真:对 BSX 追问“Show Boston Scientific's insider transactions since 20 July”,拿到 6 行 Form 4 买入行——2026-08-25 Susan E. Morano 买入 2,040 股 $100,408;2026-08-05 David C. Habiger 买入 2,100 股 $99,937;2026-08-04 Habiger 买入 140 股 $6,802;2026-08-03 Michael F. Mahoney 买入 186,240 股 $9,001,408;2026-08-03 Habiger 买入 1,042 股 $50,084;2026-07-31 Edward J. Ludwig 买入 5,000 股 $227,400——合计约 $9,486,038,与筛选数字基本一致(差 1 美元为四舍五入)。
  4. 验出陷阱:同一窗口还有 4 行标为 Discretionary、合计 $4.7M 的交易,来自 CFO、高管与首席会计官等,那是员工福利计划内的交易代码,不是公开市场买入,筛选器把它排除了;但如果直接让智能体“把原始行加起来”,它会把这 $4.7M 也算进去。
  5. 第二筛(成长合理价):“S&P 500 stocks with revenue growth over 15%, a P/E under 25, positive net income, and active 13F holders adding shares last quarter, sorted by revenue growth”,筛出 30 只,前列为 Micron 379.3%、Super Micro 93.2%、Devon 73.1%。
  6. 每列先读定义再读排名:营收增长是最近一季同比单季数(周期反弹或并购都可能冲到榜首);主动型 13F 持仓变化对应截至 2026-06-30 的季度;P/E 为过去 12 个月;缺任一有界指标的股票会被悄悄排除,而不是猜一个数填上。

结果

提示词结构

(原文给出的可复用提示词,略作格式整理)

```

Using Equibles, screen the S&P 500 for <CONDITIONS>, sorted by <METRIC>.

Then, for the top 3 matches:

1. Show the raw rows behind the metric that put them on the list

(Form 4 rows, the quarter's financials, or the 13F holders).

2. Recompute the screener's figure from those rows and say whether it matches.

3. Give each dataset's as-of date.

```

中国读者怎么迁移

A 股没有完全相同的 Equibles 免费 MCP,但方法可搬:用手头的行情/公告数据源(同花顺、巨潮资讯、Wind/Choice 的公开接口)做“一句话筛选 + 原始行重算 + 给出每列截至日期”三步。关键不是抄这只股票,而是抄“汇总数字必须摊开原始行重算”这道工序。

风险与限制