rig 基于rust的可以用来开发模块化agent的框架

rig 基于rust的可以用来开发模块化agent的框架

包含的特性

  • 完整支持llm 会话以及嵌入工作流
  • 支持通用抽象llm providers (openai,cohere,ollama) 以及向量存储(mongodb,sqlite,lancedb,qdrant,surrealdb)

参考架构

rig 包含了明确的分层体系设计,如下图

说明

目前已经有不少开源工具有使用到rig,比如基于rust 的mcp sdk 也有基于此

参考资料

https://docs.rig.rs/

https://github.com/modelcontextprotocol/rust-sdk

https://github.com/0xPlaygrounds/rig

posted on 2025-09-03 08:00  荣锋亮  阅读(91)  评论(0)    收藏  举报

导航