Skip to content

AyushDocs/DataWorks

Repository files navigation

LLM-based Automation Agent

This project is an automation agent that uses a Large Language Model (LLM) to execute operational and business tasks based on plain-English descriptions. The agent integrates with various tools, APIs, and file systems to automate routine tasks in the DataWorks Solutions CI pipeline.

Project Overview

DataWorks Solutions processes large volumes of log files, reports, and code artifacts. To improve operational efficiency, routine tasks are being automated and integrated into their Continuous Integration (CI) pipeline. The task of this project is to build an automation agent that accepts plain-English task descriptions, parses them using an LLM, and carries out the necessary steps to complete the task, ensuring verifiable results.

Tasks to Automate

  • Phase A: Handles operational tasks such as processing data files, sorting records, counting specific entries in logs, etc.
  • Phase B: Handles business tasks such as API calls, database queries, image manipulation, and more.
  • Security Considerations: Ensures data access is restricted to only files within the /data directory and prevents data deletion.

RUN PROJECT

docker run -e AIPROXY_TOKEN=your_actual_token -p 8000:8000 ayushdocs/dataworks

API Endpoints

POST /run?task=<task description>

Executes a plain-English task. The agent will parse the task description, execute one or more steps, and produce the final output.

  • Success (200 OK): Task executed successfully.
  • Failure (400 Bad Request): Invalid task description.
  • Failure (500 Internal Server Error): Task execution failed due to an agent error.
POST /read?path=<file_path>
  • Success (200 OK): Reads data from server and displays it
  • Forbidden (401 Forbidden): Reads data out of /data directory
  • Not Found (404 Internal Server Error): File not found

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors