Eko (pronounced like ‘echo’) is a production-ready JavaScript framework that enables developers to create reliable agents, from simple commands to complex workflows. It provides a unified interface for running agents in both computer and browser environments.
Feature | Eko | Langchain | Browser-use | Dify.ai | Coze |
---|---|---|---|---|---|
Supported Platform | All platform | Server side | Browser | Web | Web |
One sentence to multi-step workflow | ✅ | ❌ | ✅ | ❌ | ❌ |
Intervenability | ✅ | ✅ | ❌ | ❌ | ❌ |
Development Efficiency | High | Low | Middle | Middle | Low |
Task Complexity | High | High | Low | Middle | Middle |
Open-source | ✅ | ✅ | ✅ | ✅ | ❌ |
Access to private web resources | ✅ (Coming soon) | ❌ | ❌ | ❌ | ❌ |
npm install @eko-ai/eko
For detailed usage, please refer to the Eko Quickstart guide.
import { Eko } from '@eko-ai/eko';
const eko = new Eko({
apiKey: 'your_anthropic_api_key',
});
// Example: Browser automation
const extWorkflow = await eko.generate("Search for 'Eko framework' on Google and save the first result");
await eko.execute(extWorkflow);
// Example: System operation
const sysWorkflow = await eko.generate("Create a new folder named 'reports' and move all PDF files there");
await eko.execute(sysWorkflow);
Propmt: Collect the latest NASDAQ data on Yahoo Finance, including price changes, market capitalization, trading volume of major stocks, analyze the data and generate visualization reports
.
https://github.com/user-attachments/assets/4087b370-8eb8-4346-a549-c4ce4d1efec3
Click here to get the source code.
Propmt: Based on the README of FellouAI/eko on github, search for competitors, highlight the key contributions of Eko, write a blog post advertising Eko, and post it on Write.as.
https://github.com/user-attachments/assets/6feaea86-2fb9-4e5c-b510-479c2473d810
Click here to get the source code.
Propmt: Clean up all files in the current directory larger than 1MB
https://github.com/user-attachments/assets/ef7feb58-3ddd-4296-a1de-bb8b6c66e48b
Click here to Learn more.
Propmt: Automatic software testing
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
https://github.com/user-attachments/assets/7716300a-c51d-41f1-8d4f-e3f593c1b6d5
Click here to Learn more.
Visit our documentation site for:
Eko can be used in multiple environments:
Eko is released under the MIT License. See the LICENSE file for details.