TwiScan
人気
コミュニティ
アカウントコレクション
ログイン
登録
English
日本語
한국의
简体中文
繁体中文
登録して招待リンクを共有すると、動画再生報酬と紹介報酬を獲得できます。
今すぐ登録
Ren
@Ryrenz
AI Engineer | 分享实用 AI 工具和实战心得
参加 March 2025
690
フォロー中
11.4K
ファン
Ren
@Ryrenz
2026.07.28 05:49
想要学习怎么写 agent,可以参考这 几个开源 agent: - Codex、OpenCode:完整的生产级 coding agent。 - pi:更小、更清晰的 Agent harness,反而最适合入门。 - Hermes:偏通用个人 Agent,不是纯 coding agent;适合学习记忆、Skills、Provider 和多平台接入。 先建立 Agent 的最小模型 Agent 最核心的逻辑其实就是: 用户消息 ↓ 组装 messages + system prompt + tool schemas ↓ 调用模型 ↓ 模型返回文字或 tool calls ↓ 执行工具 ↓ 把 tool results 加回 messages ↓ 再次调用模型 ↓ 直到模型不再调用工具 生产级 Agent 的复杂度,都是围绕这个循环增加的: - Streaming - 工具参数验证 - 并行工具执行 - Abort、重试、超时 - 权限审批与 sandbox - Context compaction - Session 持久化与恢复 - Steering、follow-up - Subagent - Provider 差异适配
もっと見る
0
0
2
9
1
コミュニティへ転送
人気のあるユーザー
オリコンニュース
@oricon
2M ファン
TVer新着
@TVer_info
101.4K ファン
New York Post
@nypost
4.2M ファン
ツイッター速報〜BreakingNews
@tweetsoku1
257.8K ファン
PR TIMESテクノロジー
@PRTIMES_TECH
28.3K ファン
Nia|女優
@iamnianearyou
178.2K ファン
モデルプレス
@modelpress
2M ファン
ファミ通.com
@famitsu
1.4M ファン
空空道人
@Kongkongda5882
37.4K ファン
MANTANWEB/毎日キレイ
@mantanweb
68.8K ファン
吴说区块链
@wublockchain12
182.1K ファン
cv usk
@cv_usk
432 ファン
中國新聞社
@CNS1952
547.1K ファン
一劍浣春秋
@chee828
232.6K ファン
4Gamer
@4GamerNews
735.1K ファン