Skip to content
View rananisar348's full-sized avatar

Block or report rananisar348

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
rananisar348/README.md

import { config } from "dotenv"; import { Eko, WorkflowParser } from "@eko-ai/eko"; import { loadTools } from "@eko-ai/eko/nodejs";

// Initialize environment variables config();

// Load Node.js environment available tools Eko.tools = loadTools();

async function main() { // Initialize Eko const eko = new Eko({ llm: "claude", // Explicitly choose Claude as our LLM apiKey: process.env.ANTHROPIC_API_KEY, });

try { // Create and execute a simple workflow const workflow = await eko.generate(Clean up all files in the current directory larger than 1MB);

const workflowJson = WorkflowParser.serialize(workflow);
console.log("Generated workflow:");
console.log(workflowJson);

console.log("Executing workflow...");
await eko.execute(workflow);
console.log("Done!");

} catch (error) { console.error("Error:", error); } }

await main().catch(console.error);

  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ...
  • 😄 Pronouns: ...
  • ⚡ Fun fact: ...

@rananisar348's activity is private