
easy agent
一个用于演示的工程化 Agent 框架,支持 ChatBot 和工具调用等功能。
Repository Info
About This Server
一个用于演示的工程化 Agent 框架,支持 ChatBot 和工具调用等功能。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
EasyAgent
EasyAgent是一个简单而又强大的Agent框架。该框架主要是用于演示用途,并且以工程化形式展现。
路线图:
- ChatBot的开发
- Tool的调用
- Session功能和持久储存
- Prompt的管理,选择
- Memory功能
- RAG数据功能
- MCP
- 多Agent合作
- Swarm,Agent调度
准备工作
你需要准备。 Nodejs >= 20 pnpm
安装依赖
在根目录下执行
pnpm install
注册openrouter
EasyAgent使用openrouter作为LLM的API提供,openrouter是一个llm api聚合器,使用openrouter时不需要担心封锁问题,也不需要每一种AI都存放资金,你也不需要自己去申请每一家的API Key。
前往 https://openrouter.ai/ 进行注册
使用
apps 下两个是负责业务相关的软件内容。
- backend 负责后端代码逻辑
- frontend 负责前端代码逻辑
packages 则是负责一些业务无关的代码
- lib 负责一些通用的代码逻辑
- agents/* 储存一些agent工具
配置config
我们在运行之前需要对后端的一些配置,在apps/backend/config文件夹中,可以直接修改default.toml,或者创建一个新的local.toml文件进行配置。
主要需要配置的内容为openrouter的apikey 和 langfuse(可选)这种监控追溯平台。
执行命令
pnpm dev
即可开发执行,之后打开 http://localhost:5173/ 就可以进行对话。
Quick Start
Clone the repository
git clone https://github.com/monad-developers/easy-agentInstall dependencies
cd easy-agent
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.