Skip to content

zyxpaomian/go-microagent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroAgent


自用golang的Agent 框架,插件式,消息通过protobuf 进行序列化/反序列化

代码架构

pic

msg消息体生成

消息体使用protobuf 封装, 原文件在protobuf下,msg需要手动生成

protoc --go_out=./msg/ protobuf/agent.proto
mv msg/protobuf/agent.pb.go msg/
rm -rf msg/protobuf

安装

go env -w GOPROXY=https://goproxy.cn,https://goproxy.io,direct
go env -w GO111MODULE=on

# 运行
make run 

# 编译
make compile

待完成

  • 支持Kafka 和 Server 端交互,中间件解耦
  • 配置文件热加载
  • 待补充

About

自用microagent 框架,插件式使用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published