Agentic Workflow

Agentic Workflow

Agentic Workflow demonstrates an autonomous agent execution loop with deterministic tool calling and a Human-in-the-Loop safety gate. Built using standard Next.js and FastAPI without heavy orchestration libraries.

Category
Autonomous Agents
Status
Production Ready

Core Capabilities

  • Multi-step ReAct loop (Thought -> Action -> Observation -> Final Answer) with iteration guards.
  • Deterministic local tools: safe AST math calculation, knowledge base lookup, and operational alerts.
  • Human-in-the-Loop authorization: pauses execution on sensitive actions until user approval.

How to Use

  1. Select one of the suggested tasks or type a custom instruction.
  2. Observe the step-by-step reasoning and tool call trace in the execution timeline.
  3. If an alert is triggered, click Authorize or Reject to control agent execution.

Technologies Used

  • Next.js 15
  • React 19
  • FastAPI
  • Python 3.12
  • ReAct Loop
  • Human-in-the-Loop
  • Tailwind CSS 4
  • Pydantic 2

Autonomous ReAct loop executing multi-step reasoning, deterministic tool execution, stateful session memory, and mandatory Human-in-the-Loop authorization.

ReAct Loop (Max 4 Steps)Tools: Calculator & Knowledge SearchHuman-in-the-Loop (send_alert)
Suggested Tasks for Testing: