diff --git a/README.md b/README.md index 1304183..c6557ca 100644 --- a/README.md +++ b/README.md @@ -22,14 +22,25 @@ Agent 有三模式运行,由plugin在request的model参数决定,运行模 > 2. agent remote api:就是agent调用openai或deepseek等外部服务的api > 3. plugin remote api:由plugin调用openai或deepseek等外部服务的api +##### 1.1 安装与运行 -##### 1.1 系统框架 +```shell +# linux +make +./build/bin/agent run + +# windows +go build -o ../build/bin/agent.exe src/main.go +./build/bin/agent.exe run +``` + +##### 1.3系统框架 drawing ideservice 是须要plugin提供给agent的一些获取IDE信息的基础功能,为穿透NAT需要websocket连接。 -##### 1.2 workflow +##### 1.4 workflow ```mermaid sequenceDiagram @@ -42,7 +53,7 @@ sequenceDiagram agent有可能会多次向ideservice询问更多的信息,这对于plugin是透明的。 -##### 1.3 Task Pool +##### 1.5 Task Pool 章节2中所有带cmd参数带前缀“exec”的request都是涉及LLM模型调用的。 Agent用一个FIFO队列缓存所有用户的未处理任务,当队列长度过大时agent会拒绝新来的任务。