宝玉 avatar

宝玉

@dotey

10/3/2025, 2:24:51 AM

如果你想开发一个 Agent,无论你是打算做 CLI 还是做 Web 还是 Windows,都可以考虑使用 Claude Agent SDK,和 Claude Code 共享的底层代码,Claude Code 就是基于它之上加了个 CLI 的 UI,也就是说你完全可以基于它写一个 Claude Code 出来。

我昨天帮朋友花了几个小时就实现了个简单的 Agent,实现了输入提示词,就可以基于某个没训练的 Design System 写一套 UI 出来。

他写的这个 Agent 原理很简单,就是把这套设计系统的所有 Markdown 文档(几百个)放到一个它可以访问的目录,然后在 Systme Prompt 里面引导它去检索这个文档目录。

当用户输入提示词或者 Screenshot 要做一个 UI,Agent 就根据提示词规划可能要用到的组件,然后用 SDK 自带的 GREP 工具去检索文档库找到这些组件的 API,最后基于收集到的信息用这个 Design System 组件生成页面。

这个 SDK API 很简单,但很强大,你不止是可以用它内置的工具(Task、Grep、WebFetch 等等),你还可以添加自己的工具,还可以用 MCP。并且它可以把整个交互的结果通过 API 让你可以获取到原始的请求和返回消息,这样你可以自己实现一套比 CLI 更好用的交互 UI。

当然这个局限也有:
1. 只能用 Claude 模型兼容的 API,如果你想用 GPT-5 之类模型,估计效果不会太好
2. 只支持 Python 和 TypeScript
3. Tokens 消耗飞快

如果你只是做前期的 POC,强烈建议你试试。
它和 OpenAI 的 Agent SDK 不一样的地方在于 Claude Agent SDK 这个是开箱即用,内置了 Claude Code 的所有工具,包括子智能体、Slask Command、MCP 支持,OpenAI 的只是开发框架,你还要自己写一堆工具
https://t.co/kdvAgPYVCj
OpenAI 的 SDK 地址:

JS 版:https://t.co/OuPhHlaiad
Python版:
https://t.co/02LFqNdXy3
Vercel 的 AISDK 也跟 OpenAI 的 Agent SDK 一样,你从头搭一个是可以的,也很轻量,API 设计很好(我很喜欢),但是做不到像 Claude Agent SDK 这样直接内置了各种实用工具(Task、Edit、Read、TodoWrite、Grep 等等),何况是被 Claude Code 验证过的!
https://t.co/LNf2g32Uui
如果你只是 POC 或者原型,我不推荐 Gemini cli,因为目前 Gemini 2.5 Pro 的 Agentic 能力不足,效果并不好,还是得 GPT-5/GPT-Code-5 或者 Claude 4.x 效果 才好,如果你是基于它代码魔改,那应该没问题,但是开发工作量比较大
https://t.co/YIVV5PKPte
我推荐 claude agent sdk 是因为它内置了 Claude Code 用的所有工具,基本上可以完成绝大部分普通 Agent 的事情,只需要根据写新的提示词或者增加少量工具即可完成一个原型

https://t.co/SENNoSTFWO
这是为 Agent 写提示词的方法
https://t.co/VAxZVJVAdg
可以接任何支持 Claude Code 的模型,只要在环境变量设置
export ANTHROPIC_BASE_URL=
export ANTHROPIC_AUTH_TOKEN=
即可,具体看兼容 ClaudeCode 模型方的说明书

https://t.co/Q6GSPVInT5

Download twitter video from this saved page

TwitterXVideo preserves this conversation so you can download twitter video clips even if the original post disappears, keeping captions, hashtags, and timestamps intact.

Review every reply, attachment, and mention while you download video Twitter HD, GIFs, or audio, making it easy to rebuild the context for reporting and evergreen content.

After you download twitter video assets, translate the copy, refresh hashtags, and queue reposts or ad variants without leaving the saved tweet workspace.

How to download twitter video from this saved page

  1. Click the media thumbnail or download button to download twitter video in HD MP4 or compressed formats for quick sharing.
  2. Select any additional attachments to download video from Twitter GIFs or audio, then store the files alongside your download twitter video projects.
  3. Open the Translate panel to localize the text, update CTAs, and schedule reposts once your download twitter video review is complete.

Why marketers trust this download twitter video archive

  • Archive-friendly metadata keeps download twitter video audits aligned with compliance and rights management teams.
  • Integrated translator localizes captions around each download twitter video asset so global teams stay in sync.
  • One-click sharing pushes download twitter video recaps to teammates, clients, or DAM folders.
  • SEO-optimized slugs help download twitter video case studies rank for branded and campaign keywords.

Download twitter video FAQs

How do I download twitter videos from this saved page?

Press the download button above the media gallery to download twitter video immediately; the system bundles caption data and the original link for reference.

Can I download video from X Twitter in different resolutions?

Yes—choose from multiple bitrates when you download twitter video, including HD MP4 and lighter mobile options.

Does this page let me download twitter videos from private accounts?

You need viewing permission first; once you can see the content, the archive lets you download twitter video securely for approved use.

How can I download twitter video subtitles with the clip?

Use the Translate panel to export captions or create subtitles, then download twitter video together with the transcript for repurposing.

分享
探索

TwitterXVideo

v1.2.2

Use our fastest way to download twitter video in HD free—no registration required.

facebooktwitterpinteresttumblrwhatsapp

© 2024 TwitterXVideo 保留所有權利。