fellou ai browser

Eko: 자연어로 프로덕션 수준의 에이전트 워크플로우 구축하기

torak3h 2025. 5. 25. 12:12

 

Task analysis
Eko를 활용하여 자연어로 프로덕션 수준의 에이전트 워크플로우를 구축하는 방법에 대한 초보자 친화적인 가이드를 작성합니다. 설치부터 기본 사용법, 예제까지 포함해야 합니다.

 

https://chat.fellou.ai/report/00ddd1a9-c981-4633-b38f-a0926de5a36c

 

Fellou

 

chat.fellou.ai

 


 

Eko: 자연어로 프로덕션 수준의 에이전트 워크플로우 구축하기

Eko는 간단한 명령부터 복잡한 워크플로우까지 신뢰성 있는 에이전트를 만들 수 있도록 설계된 JavaScript 프레임워크입니다. 컴퓨터와 브라우저 환경 모두에서 에이전트를 실행할 수 있는 통합 인터페이스를 제공하여 개발자에게 유연하고 강력한 도구가 됩니다.

 

주요 기능

  • 멀티 플랫폼 지원: 브라우저 확장 프로그램, 웹 애플리케이션, Node.js 애플리케이션 등 모든 플랫폼에서 사용 가능
  • 다중 에이전트 기능: 하나의 작업에 여러 에이전트를 활용할 수 있어 자동화 범위를 확장 가능
  • 에이전트/도구 유연성: 최소한의 코드로 새로운 에이전트나 도구를 쉽게 커스터마이징 가능
  • 동적 LLM 통합: 속도와 성능의 균형을 고려해 다양한 모델을 유연하게 선택 가능
  • Human-in-the-loop: 필요한 경우 사용자 개입이 가능하여 자동화 프로세스에 대한 제어 유지
  • 스트림 계획 및 반복 작업 처리: 반복 작업의 자동화와 실시간 렌더링을 지원

설치 및 설정

Eko를 시작하려면 아래 단계를 따라주세요:

설치

$ pnpm install @eko-ai/eko

 

설정

LLM과 에이전트를 설정합니다. 예시:

const llms = {
  default: {
    provider: "anthropic",
    model: "claude-sonnet-4-20250514",
    apiKey: "your-api-key"
  },
  openai: {
    provider: "openai",
    model: "gpt-4.1",
    apiKey: "your-api-key"
  }
};

let agents = [new BrowserAgent(), new FileAgent()];
let eko = new Eko({ llms, agents });

 

작업 실행

자연어 명령어를 사용해 작업을 실행합니다:

let result = await eko.run("머스크에 대한 최신 뉴스를 검색하고 요약해서 데스크탑에 Musk.md로 저장해줘");

 

활용 사례

  • 브라우저 자동화 및 웹 스크래핑: 웹 페이지와의 상호작용 자동화 및 데이터 추출
  • 파일 및 프로세스 관리: 시스템 파일 및 프로세스 제어
  • 워크플로우 자동화: 복잡한 작업 흐름 간소화 및 자동화
  • 데이터 처리 및 정리: 데이터를 효율적으로 분석 및 정리
  • GUI 자동화: 그래픽 사용자 인터페이스 작업 자동화

베스트 프랙티스

  • 보안: 브라우저/프론트엔드 코드에 API 키를 직접 포함하지 말고, 백엔드 프록시를 통해 요청을 처리하세요.
  • 구성 관리: 백엔드에서 LLM 호출을 처리하여 보안을 유지하세요.

커뮤니티 및 지원

  • GitHub: 이슈 제보 및 프로젝트 기여 가능
  • Slack 및 Discord: 커뮤니티와 소통하며 도움 받기

 

Eko는 MIT 라이선스로 오픈소스 형태로 제공되며, 자연어를 이용한 에이전트 워크플로우 구축을 원하는 개발자에게 적합한 솔루션입니다. 더 자세한 내용은 공식 Eko 문서를 참고하세요.

 



Eko: Building Production-ready Agentic Workflows with Natural Language

 

Eko is a JavaScript framework designed to create reliable agents for both simple commands and complex workflows. It provides a unified interface for running agents in computer and browser environments, making it a versatile tool for developers.

Key Features

  • Multi-Platform Support: Eko can be used across all platforms, including browser extensions, web applications, and Node.js applications.
  • Multi-Agent Capability: Allows the use of multiple agents in a single task, enhancing automation capabilities.
  • Agent/Tool Flexibility: Easily customize new agents and tools with minimal code.
  • Dynamic LLM Integration: Offers flexibility in model choices to balance speed and performance.
  • Human-in-the-loop: Enables user intervention when necessary, ensuring control over automated processes.
  • Stream Planning and Loop Tasks: Facilitates dynamic rendering and automation of repetitive tasks.

Installation and Setup

To get started with Eko, follow these steps:

  1. Installation: Use the following command to install Eko:
  2. $ pnpm install @eko-ai/eko
  3. Configuration: Set up your LLMs and agents. Here is a basic configuration example:
  4. const llms = { default: { provider: "anthropic", model: "claude-sonnet-4-20250514", apiKey: "your-api-key" }, openai: { provider: "openai", model: "gpt-4.1", apiKey: "your-api-key" } }; let agents = [new BrowserAgent(), new FileAgent()]; let eko = new Eko({ llms, agents });
  5. Running a Task: Execute tasks using natural language commands:
  6. let result = await eko.run("Search for the latest news about Musk, summarize and save to the desktop as Musk.md");

Use Cases

  • Browser Automation and Web Scraping: Automate interactions with web pages and extract data.
  • System File and Process Management: Manage files and processes on your system.
  • Workflow Automation: Streamline and automate complex workflows.
  • Data Processing and Organization: Efficiently process and organize data.
  • GUI Automation: Automate graphical user interface tasks.

Best Practices

  • Security: Avoid using API keys in browser/frontend code to prevent unauthorized access.
  • Configuration: Use backend API proxy requests for secure operations.

Community and Support

  • GitHub: Report issues and contribute to the project on GitHub.
  • Slack and Discord: Join community discussions for support and collaboration.

Eko is released under the MIT License, making it an open-source solution for developers looking to build agentic workflows with natural language. For more detailed instructions, refer to the Eko documentation.