TwiScan
Hot
Communities
Account collections
Login
Register
English
日本語
한국의
简体中文
繁体中文
Register and share your invite link to earn from video plays and referrals.
Register now
Ren
@Ryrenz
AI Engineer | 分享实用 AI 工具和实战心得
Joined March 2025
690
Following
11.4K
Followers
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 差异适配
Show more
0
0
2
9
1
Forward to community
Most Popular Users
Tibo
@thsottiaux
917.2K Followers
TheStreet
@TheStreet
1.2M Followers
The Wall Street Journal
@WSJ
22.3M Followers
Seeking Alpha
@SeekingAlpha
343.8K Followers
CNBC
@CNBC
6.3M Followers
Benzinga
@Benzinga
345.2K Followers
Serenity
@aleabitoreddit
1.1M Followers
Stocktwits
@Stocktwits
1.2M Followers
unusual_whales
@unusual_whales
5.4M Followers
zerohedge
@zerohedge
3.4M Followers
Yahoo Finance
@YahooFinance
2.1M Followers
Elon Musk
@elonmusk
241.5M Followers
New York Post
@nypost
4.2M Followers
Reuters
@Reuters
26.4M Followers
OpenAI
@OpenAI
5.5M Followers