# brocade-agent-test **Repository Path**: CZXyee/brocade-agent-test ## Basic Information - **Project Name**: brocade-agent-test - **Description**: brocade-agent-test 是旧 brocade 项目中 agent 相关内容的集合。基础框架参考 ChatDev、Camel,在此基础上完成了Cyberspace、JsonMemoryStore、项目概念金字塔构建器。 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-15 - **Last Updated**: 2024-10-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: TypeScript, Agent, AI ## README # brocade-agent-test #### 介绍 brocade-agent-test 是旧 brocade(织锦) 项目中 agent 相关内容的集合。基础框架参考 ChatDev、Camel,在此基础上完成了Cyberspace、JsonMemoryStore、项目概念金字塔构建器。 #### 使用 1. 安装依赖: ``` pnpm install ``` 2. 配置 Agent API 在 `src/core/config.ts` 中配置 Agent 供应商与相应模型,默认为百度 `ERNIE-SPEED-PRO-128K`; 在 `.env.development` 中将 `AGENT_BACKEND_API_KEY` 替换为实际的 API Key。 3. 调整测试内容、运行测试 **测试 Cyberspace 或 项目概念金字塔构建器**: - `src/test/play/index` - Cyberspace 测试; - `src/test/person/action/projectParsing` - 项目概念金字塔构建器测试,默认对 `temp/ChatDev/` 进行构建测试; - 默认仅启动项目概念金字塔构建器测试。 ``` pnpm run test-node ``` **测试 JsonMemoryStore**: ``` pnpm run test ```