Ahmed Ali Research

Ahmed Ali, research: when should an agent act, wait or escalate?

I'm interested in how LLM agents make decisions in realistic settings: when they should act, when they should wait or escalate, and how they can improve those choices over time.

My industry work has been mostly on production voice agents, but the broader interest is in agent systems in general.

  • LLM agents
  • Reinforcement learning for decision-making
  • Sequential decision making

Each point is a policy. Move around the triangle to change the agent's mind.

Research interestsResearch interests

Three threads, one question.

Pick a word

Understand

Natural Language Processing

The foundation of how agents understand and generate language.

Press for one step

Improve

Reinforcement Learning

I'm interested in using RL techniques to train better decision policies for agents, instead of relying only on prompting.

Press for another path

Keep going

Sequential Decision Making

How agents handle long, multi-step interactions without breaking down.

PlaygroundPlayground

Watch a small agent learn when to stop asking.

A caller wants one of two things and the agent isn't sure which. It can act on its best guess, wait and ask one more question, or escalate to a person. Change the stakes and it learns a new policy from scratch.

Pick a situation

Or change the stakes

actwaitescalate
questions asked
how sure the agent is

50% sure after 0 questions

act
0.00
wait
0.00
escalate
0.00

Expected reward for each choice, as learned so far.

Play a call to watch it decide, one question at a time.

Reward per callReady

Calls practised
0
Near-optimal choices
0%
Reward, against best possible
0.00 / 0.45

A toy model: Q-learning running in your browser, compared with the exact solution. It is here to show the question, not a research result.

Research experienceResearch experience

EmoNorm

2024 to 2025Independent research project under PhD supervision

I built and evaluated a model for emotion and slang analysis in social media text, then wrote a full research paper and submitted it to a conference.

  1. Scope
  2. Build
  3. Evaluate
  4. Write
  5. Submit

Going through the full process of scoping, experimentation and writing showed me I want to continue doing research.

that lecture

Hover or tap a marked word to see what it means here.

Reads asSadness

Hand-written examples of the problem, not output from the model.

Selected projectsSelected projects

Where the interest comes from.

I built and deployed production voice agents, with a focus on reliability, escalation policies and real-world decision points in agent systems.

This work is the practical foundation for my interest in how LLM agents make sequential decisions.

  • Reliability
  • Escalation policies
  • Decision points

I implemented projects in deep learning and generative models, and read and worked with research papers as part of the courses, including topics in generative AI.

These projects gave me practical experience applying ideas from papers, and strengthened my interest in moving beyond coursework into research.

  • Deep learning
  • Generative models
  • Paper reading

I built multiple LLM-powered automation systems: data pipelines, CRM workflows and multilingual agents.

They gave me experience with tool use, multi-step workflows and production constraints.

  • Tool use
  • Multi-step workflows
  • Production constraints
SkillsSkills

What I bring to the work.

Highlight skills for

Building

  • Python
  • LLM APIs (OpenAI, Claude)
  • Prompt engineering

Agents

  • LangChain
  • LangGraph
  • Agent frameworks

Methods

  • NLP
  • Evaluation
  • Basic RL concepts
EducationEducation

The groundwork.

BSc Computer Science

FAST-NUCES, Islamabad

Gold Medalist

  • Deep LearningA+
  • Generative AIA+
  • NLPA+
  • High Performance Computing with GPUsA+

O Levels

7 A*

A Levels

2 A*1 A

Computer Science