OpenRouter Blog·· 2026-04-24AI 评分57
OpenRouter 发布 @openrouter/agent:在 400+ 模型上构建多轮 Agent 工作流
Agent SDK: Building Multi-turn Agent Workflows on OpenRouter
AI 导读
OpenRouter 发布 TypeScript SDK @openrouter/agent,用 callModel 一个函数封装工具调用、多轮循环、流式输出与成本追踪,可在 OpenRouter 上 400+ 模型间切换而无需改动 Agent 代码。
来源:OpenRouter Blog · openrouter.ai