I will debug and fix your langgraph agent and rag pipeline in python

A
ali_langgraph
A
ali_langgraph
Ali Shah Afzali

About this gig

Is your LangGraph agent stuck in infinite loops, or is your RAG chatbot hallucinating?


I am a Full-Stack AI Engineer specializing in debugging and optimizing production Python AI agents and RAG pipelines. Instead of fragile prompt tweaks, I fix root architectural issues in your state machine, retrieval pipeline, and backend APIs.


What I Can Fix & Optimize:

* LangGraph Bugs: Fix infinite loops, broken conditional edges, checkpointing errors, and tool-calling failures.

* RAG Hallucinations: Optimize chunking, Pinecone/Supabase vector search, reranking, and evidence validation.

* Memory & Context: Fix multi-turn chat history so follow-ups work reliably without high token costs.

* FastAPI & Streaming: Resolve async timeouts, SSE streaming bugs, and rate-limit crashes.

* HITL Guardrails: Add safe confirmation interrupts before sensitive database or API actions.


Tech Stack: Python, LangGraph, LangChain, FastAPI, Pinecone, Supabase, OpenAI, Gemini, Ollama.


Message me with your error log or repo summary before ordering!


Get to know Ali Shah Afzali

Ali Shah Afzali

AI Engineer LangGraph Agents RAG

  • FromAfghanistan
  • Member sinceOct 2026
  • Languages

    Persian, English, French, German
I'm a Full-Stack AI Engineer focused on LangGraph multi-agent systems, RAG that avoids hallucination, and Next.js interfaces for AI products. I design with failure in mind: validation before answers, retries, checkpointing, and human approval for sensitive actions. My portfolio includes a YouTube video intelligence assistant, a restaurant ordering agent with checkout confirmation, and a clinical prescription-safety copilot. B.Sc. in Computer Science (Software), Herat University, 2026. I reply promptly and explain decisions clearly.

My Portfolio