+ AI Agents

LangChain Attendance Agent

Conversational attendance system: a LangChain ReAct agent with Gemini that registers users, marks attendance and runs admin reports from chat.

Source code is private

Login and registration interface with user authentication forms

Overview

An attendance management system driven entirely by chat. A LangChain ReAct agent powered by Gemini 2.0 Flash selects tools to register and authenticate users, mark enter/exit/break statuses, prevent duplicates and generate reports. Admins get extra tools such as record deletion and a SQL query tool, with role-based access, SHA-256 password hashing, Pydantic validation and a Gradio UI.

Highlights

  • ReAct agent with tool selection for attendance workflows
  • Role-based access control (admin and user)
  • Pydantic-validated tool inputs and parameterised SQL
  • Duplicate prevention and formatted attendance reports

Tech stack

  • Python
  • LangChain
  • Gemini API
  • ReAct Agent
  • Gradio
  • SQLite
  • Pydantic