最近在做很多 AI Agent 探索,发现现在的 Agent 框架比如 langchain 构建了太多复杂的概念,难于使用,且缺少 computeruse 和 browseruse 的能力。 搜了很多看到一个比较简单且 all in one 的框架叫 eko ,相比于其他框架,Eko 的简洁和强大功能让我印象深刻。
这个框架首先写起来比较简单,官网文档里显示只需要通过一句话就可以直接执行:
// Example: Browser automation
const extWorkflow = await eko.generate("Search for 'Eko framework' on Google and save the first result");
await eko.execute(extWorkflow);
而且,它还能生成非常复杂的工作流程。比如,网页自动化测试只需用自然语言描述即可:
Current login page automation test:
1. Correct account and password are: admin / 666666
2. Please randomly combine usernames and passwords for testing to verify if login validation works properly, such as: username cannot be empty, password cannot be empty, incorrect username, incorrect password
3. Finally, try to login with the correct account and password to verify if login is successful
4. Generate test report and export
这真是太实用了!
另外 eko 还集成了好多跨平台工具,支持 computeruse 和 browseruse ,比如:
在 GitHub 上,我还发现了一些有趣的视频案例,比如自动分析竞品发布的 SEO 博客,查找股票信息并生成可视化报表。
这让我看到了未来的曙光,真是令人兴奋不已!忍不住想和大家分享这个令人振奋的发现!
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.