TechCrunch News 03月13日
Dapr’s microservices runtime now supports AI agents
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

Dapr团队推出了Dapr Agents,旨在帮助开发者构建AI Agent。Dapr Agents基于Dapr的虚拟Actor概念,可以高效地运行和扩展AI Agent,并具备状态管理能力。该框架源于Floki项目,并将其整合到Dapr生态系统中,以确保其持续发展。Dapr Agents支持与AWS Bedrock、OpenAI、Anthropic、Mistral和Hugging Face等主流模型提供商交互,并即将支持本地LLM。开发者可以使用Dapr Agents定义Agent可以使用的工具列表,目前支持Python,.NET、Java、JavaScript和Go的支持也将陆续推出。

💡Dapr Agents的推出是为了简化AI Agent的开发,它利用Dapr原有的虚拟Actor机制,使得Agent能够以轻量级的方式运行,并具备良好的可伸缩性和资源利用率。

🛠️Dapr Agents不仅提供了Agent的编排和状态管理能力,还支持与主流的LLM提供商(如AWS Bedrock、OpenAI等)进行交互,方便开发者快速集成各种AI模型。

🔗Dapr Agents允许开发者定义Agent可以使用的工具列表,扩展了Agent的功能,使其能够完成更复杂的任务。目前主要支持Python语言,未来还将支持.NET、Java、JavaScript和Go等。

🔄Dapr Agents的出现,将分布式系统和AI Agent的概念联系起来,使得开发者能够利用Dapr的优势来构建更加智能和高效的Agent系统。

Back in 2019, Microsoft open-sourced Dapr, a new runtime for making building distributed microservice-based applications easier. At the time, nobody was talking about AI agents yet, but as it turns out, Dapr had some of the fundamental building blocks for supporting AI agents built-in from the outset. That’s because one of Dapr’s core features is a concept of virtual actors, which can receive and process messages, independently from all the other actors in the system.

Today, the Dapr team is launching Dapr Agents, its take on helping developers build AI agents by providing them with a lot of the building blocks to do so.

“Agents are a very good use case for Dapr,” Dapr co-creator and maintainer Yaron Schneider explained. “From a technical perspective, you could use actors as a very lightweight way to run these agents and really be able to run them at scale with state — and be resource-efficient. This is all great, but then, there is still a lot of business logic you need to write. The statefulness and the orchestration of it are just one part. And many people, they might choose a workflow engine or an actor framework, but there’s still a lot of work they need to do to actually write the agent logic on the other side. There is lots of agent frameworks out there, but they don’t have the same level of orchestration and statefulness that Dapr has.”

Image Credits:Dapr Project

Dapr Agents originated from Floki, a popular open-source project that extended Dapr for this AI agent use case. Talking with the project maintainers, including Microsoft AI researcher Roberto Rodriguez, the two teams decided to bring the project under the Dapr umbrella to ensure the continuity of the new agent framework.

“In many ways we see agentic systems and the whole terminology around that as another term for ‘distributed systems,’ Dapr co-creator and maintainer Mark Fussell said. “[…] Rather than calling them microservices, you can call them agents now, mostly because you can put large language models amongst them all.”

To efficiently coordinate those agents, you do need an orchestration engine and statefulness, the team argues — which is exactly what Dapr delivers. That’s in part because Dapr’s actors are meant to be extremely efficient and able to spin up within milliseconds when a message comes in (and shut down, with their state preserved, when their job is done).

Right now, Dapr Agents can talk to most of the popular model providers out of the box. These include AWS Bedrock, OpenAI, Anthropic, Mistral, and Hugging Face. Support for local LLMs will arrive very soon.

On top of interacting with these models, since Dapr Agents extend the existing Dapr framework, developers also get the ability to define a list of tools that the agent can then use to fulfill a given task.

Currently, Dapr Agents supports Python, with .NET support launching soon. Java, JavaScript and Go will follow soon.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Dapr Agents AI Agent 分布式系统 虚拟Actor
相关文章