Products

DeepAgents 发布 Managed Connections 解决智能体认证难题

Why we picked it

DeepAgents 新功能让智能体认证变得简单,一行代码搞定身份切换和授权流程。

DeepAgents 0.7 版本推出 Managed Connections 功能,简化智能体认证流程。该功能支持两种身份模式:agent 模式使用智能体自身令牌,user 模式使用用户令牌并引导完成授权流程。开发者只需通过单一参数即可避免复杂的 OAuth 配置过程。

Original · Harrison Chase

an increasingly hard part of agents is handling auth does the agent act as itself, or on behalf of a user we're trying to make this as easy as possible in managed deepagents! Caspar @caspar_br Agent auth is hard, but it shouldn't be! Your agent needs to act as someone: sometimes that's one shared identity, sometimes it's the person asking. To get either right you'll need an OAuth app for each service, a token store, refresh logic, and a consent flow Today we're fixing this with Managed Connections: define who your agent acts as in code, and the rest is handled for you: 𝚊𝚐𝚎𝚗𝚝 -> agent uses its own token 𝚞𝚜𝚎𝚛 -> agent uses the user's token, guiding them through the consent flow if they haven't connected yet With a single argument you avoid the whole OAuth dance. Available now, in 𝚖𝚊𝚗𝚊𝚐𝚎𝚍-𝚍𝚎𝚎𝚙𝚊𝚐𝚎𝚗𝚝𝚜 0.7 🔗 View Quoted Tweet 💬 5 🔄 3 ❤️ 16 👀 1659 📊 6 ⚡