first commit
This commit is contained in:
13
README.md
Normal file
13
README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Agent Loop
|
||||
|
||||
一份关于 Agent 如何调用工具、等待后台任务和接收用户答复的分享与演示项目。主讲稿从最基础的 Agent Loop 讲起,并提供同步 Bash、后台 Bash、阻塞提问和异步提问四个可运行的案例。
|
||||
|
||||
使用 Node.js 24 和 pnpm。在 `async-agent-lab` 中复制 `.env.example` 为 `.env.local`,配置 `EASTMONEY_API_KEY`,然后运行:
|
||||
|
||||
```sh
|
||||
cd async-agent-lab
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm start
|
||||
```
|
||||
|
||||
打开 [本地主讲稿](http://127.0.0.1:8791/),在案例页切换源码讲解和现场运行。更多说明见 [Agent Loop 实验室](async-agent-lab/README.md)。
|
||||
Reference in New Issue
Block a user