Glimpses of Agentic AI practises

Published: (January 14, 2026 at 01:28 PM EST)
2 min read
Source: Dev.to

Source: Dev.to

Complaint Triage System

Cover image for Glimpses of Agentic AI practises

In continuation of my Agentic AI learning, I built a project called complaint‑triage‑system. Users can submit complaints via email. The backend uses SQLAlchemy for the database, and administrators access a separate dashboard where they authenticate with email and password secured by a JWT token.

Initially I used a Gemini API key for triaging complaints into high/medium/low categories and for analyzing the submitted text. After encountering glitches, I revoked the key. I then switched to the Grok API (free) which handled triage correctly, though its analysis was very keyword‑specific.

Development Challenges

  • JWT‑based tokenization proved cumbersome.
  • OTP‑based authentication was abandoned because the OTP appeared only in the backend server logs.
  • Lack of clear system design and workflow became a major red flag.

I created a create_admin script and stored the admin email and password in environment variables. After that, everything worked until I tried to send AI‑generated, customizable replies to users. An App password for my email didn’t work, but Twilio SendGrid saved the day. With a SendGrid API key, the application functioned without bugs. However, edited replies weren’t reaching the payload at first; after debugging, the issue was resolved and the system ran smoothly.

Deployment Hurdles

  • AWS Elastic Beanstalk caused HTTP/HTTPS mismatches because I was using AWS Amplify (HTTPS).
  • Switching to an EC2 instance with Nginx led to timeouts on the free tier and repeated command failures.

Despite these obstacles, the full‑stack application was completed and the GitHub repository now contains multiple commits.

My AWS free tier has expired, and I have many more projects to start and contribute to.

Back to Blog

Related posts

Read more »

Rapg: TUI-based Secret Manager

We've all been there. You join a new project, and the first thing you hear is: > 'Check the pinned message in Slack for the .env file.' Or you have several .env...

Technology is an Enabler, not a Saviour

Why clarity of thinking matters more than the tools you use Technology is often treated as a magic switch—flip it on, and everything improves. New software, pl...