Skip to content

About

Autonomous ReACT-based LLM agent framework for task orchestration, tool execution, and multi-agent workflows.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

48 Commits

Folders and files

Repository files navigation

๐Ÿš€ LLM Task Orchestrator

LLM Task Orchestrator is a modular, extensible autonomous agent framework built around the ReACT (Reasoning + Acting) methodology. It enables structured task execution, tool-based reasoning, multi-agent workflows, human-in-the-loop (HITL) validation, and seamless deployment across CLI, APIs, cloud edge platforms, and chat integrations such as Discord.

This repository provides a complete ecosystem for building, generating, deploying, and orchestrating intelligent LLM-powered agents using both Python and Deno/TypeScript stacks .


๐ŸŒŸ Highlights

  • ReACT-based autonomous reasoning loop
  • Multi-agent orchestration and generation system
  • Built-in tool ecosystem (search, RAG, file I/O, scraping, math, code execution)
  • Streaming responses and real-time execution tracking
  • Human-in-the-loop (HITL) validation support
  • Discord bot and chat integration support
  • Supabase Edge + Serverless deployment ready
  • Python + Deno hybrid architecture
  • Production-grade modular design

๐Ÿ“ Repository Structure Overview

LLM-Task-Orchestrator/
โ”‚
โ”œโ”€โ”€ engine/               # Core Python orchestration engine (CrewAI based)
โ”œโ”€โ”€ agent_factory/        # Dynamic agent generator (Meta-Agent system)
โ”œโ”€โ”€ standalone_agent/     # Single-file ReACT agent (Deno)
โ”œโ”€โ”€ chat_integrations/    # Discord & webhook integrations
โ”œโ”€โ”€ cloud_backend/        # Supabase Edge Functions
โ”œโ”€โ”€ planning_docs/        # Architecture & planning notes
โ”œโ”€โ”€ test/                 # Automated tool & pipeline tests
โ”œโ”€โ”€ setup.py              # Python package installer
โ”œโ”€โ”€ package.json          # Node/Deno tooling
โ””โ”€โ”€ README.md

โšก Quick Start

1๏ธโƒฃ Clone Repository

git clone https://github.com/Parvezkhan0/LLM-Task-Orchestrator.git
cd LLM-Task-Orchestrator

2๏ธโƒฃ Install Python Engine Dependencies

cd engine
pip install -r requirements.txt

or

pip install -e .

3๏ธโƒฃ Configure Environment Variables

Create a .env file inside the engine/ directory:

# OpenRouter API Key
OPENROUTER_API_KEY=your_api_key_here

# Optional Model Override
OPENROUTER_MODEL=openai/o3-mini-high

# Debug Mode
DEBUG=false

# Human-in-the-loop (HITL)
HITL_ENABLED=false

4๏ธโƒฃ Run Core Agent Engine

cd engine
python main.py

๐Ÿง  Architecture Overview

LLM Task Orchestrator is built using a layered architecture:

User Request
     โ†“
Task Planner (CrewAI)
     โ†“
ReACT Agent Loop
     โ†“
Tool Execution Layer
     โ†“
Observation Feedback
     โ†“
Final Response

Key Layers

Layer Responsibility
Planning Layer Task decomposition and workflow logic
ReACT Loop Reason โ†’ Act โ†’ Observe โ†’ Repeat
Tool Layer File I/O, RAG, scraping, math, code execution
Memory Layer Context retention and state tracking
Interface Layer CLI, REST API, Discord, HTTP endpoints

๐ŸŽฏ Core Features

๐Ÿงฉ ReACT Reasoning Engine

  • Structured thought-action loops
  • Multi-step reasoning pipelines
  • Tool-triggered execution paths
  • Error recovery and retry logic

๐Ÿ›  Extensible Tool System

Built-in tools include:

  • PDF / DOCX / CSV RAG Search
  • Website Scraping
  • File Reader / Writer
  • Selenium Automation
  • YouTube Search
  • JSON / Directory Search
  • Custom Tool Injection

๐Ÿ‘จโ€๐Ÿ’ป Human-in-the-Loop (HITL)

Enable human validation checkpoints:

  • Approve critical actions
  • Review generated outputs
  • Override automated decisions

๐Ÿ”„ Streaming Responses

  • Real-time progress updates
  • Partial response streaming
  • Live execution feedback

๐ŸŽฎ Execution Modes

Mode Description
Autonomous Fully automated ReACT execution
HITL Mode User-validated checkpoints
Streaming Real-time output streaming
CLI Mode Local terminal interface
HTTP Mode REST API service

๐Ÿ›  Technical Stack

Component Technology
Core Engine Python 3.9+
LLM Provider OpenRouter API
Agent Framework CrewAI
Server Layer FastAPI / HTTP
Edge Deployment Supabase + Deno
Discord Bots Deno + Webhooks
Configuration YAML + ENV
Packaging pip + setup.py

๐Ÿ“Š Performance Targets

Metric Target
Standard Response Time < 2 seconds
Streaming Latency < 100 ms
Task Success Rate > 95%
Cold Start (Edge) < 1 second

๐Ÿ” Security Features

  • Environment-based secret management
  • Tool input sanitization
  • Role-based permission design
  • API rate limiting
  • Sandbox execution environment

๐Ÿ“š Documentation Hub

Inside engine/docs/:

Guide Description
Configuration System setup and tuning
Templates Prompt engineering templates
Tools Custom tool creation guide
Memory State and storage handling
HITL Human validation workflows
Advanced Scaling & orchestration patterns

๐ŸŒ Integration Options

CLI

python main.py

REST API

Exposed OpenAPI spec:

engine/.well-known/openapi.yaml

Discord Bot

Located in:

chat_integrations/

Includes:

  • Slash commands
  • Signature verification
  • Interaction handlers
  • Supabase edge deployment scripts

Supabase Edge Functions

Located in:

cloud_backend/functions/

Deploy:

supabase functions deploy agentics-bot --no-verify-jwt

๐Ÿงช Testing Framework

Run automated tests:

pytest test/

Includes coverage for:

  • File tools
  • Search tools
  • Scraping tools
  • RAG pipelines

๐Ÿง  Agent Factory (Meta-Agent)

Located in:

agent_factory/

Allows dynamic generation of:

  • Custom ReACT agents
  • Domain-specific assistants
  • Math tutors
  • Research bots
  • Code reviewers

Example:

./scripts/create_research_assistant.sh

๐Ÿš€ Standalone ReACT Agent

Located in:

standalone_agent/

Features:

  • Single-file deployment
  • Deno-based execution
  • Edge optimized
  • HTTP API enabled

Run locally:

deno run --allow-net --allow-env agent.ts

๐Ÿ“ฆ Deployment Options

Platform Supported
Fly.io โœ…
Supabase Edge โœ…
Deno Deploy โœ…
Railway โœ…
Docker โœ…
Bare Metal โœ…

๐Ÿ“ˆ Roadmap

Feature Status
Multi-Agent Federation ๐Ÿšง In Progress
GUI Dashboard ๐ŸŽฏ Planned
Vector Memory Store ๐ŸŽฏ Planned
Cloud Orchestration UI ๐Ÿ’ก Proposed
Distributed Agent Swarm ๐Ÿ’ก Proposed

๐Ÿค Contributing

We welcome all contributions!

Ways to contribute:

  • ๐Ÿ› Bug reports
  • ๐Ÿ’ก Feature ideas
  • ๐Ÿ”ง Code improvements
  • ๐Ÿ“š Documentation updates
  • ๐Ÿงช Test coverage

Fork โ†’ Create Branch โ†’ PR ๐Ÿš€


๐Ÿ“„ License

MIT License See LICENSE file for details.


๐Ÿ™ Credits & Acknowledgments

  • Built using CrewAI
  • Powered by OpenRouter
  • Inspired by ReACT research
  • Community-driven architecture

About

Autonomous ReACT-based LLM agent framework for task orchestration, tool execution, and multi-agent workflows.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages