DEV Community

Cover image for Building TeamMind AI: A Project Manager That Learns From the Past
Tanya Garg
Tanya Garg

Posted on

Building TeamMind AI: A Project Manager That Learns From the Past

Hindsight Made Our Project Manager Remember

Our first assignment logic was embarrassingly simple: match skills, count workload, pick a name.

It looked fine — until we realized it treated a reliable finisher and a repeat blocker exactly the same.

That’s when I built TeamMind AI — a project manager that doesn’t just assign tasks, but remembers how your team actually works.

🚨 The Problem With Generic Task Assignment

Most project management systems (and even AI tools) assign work based on:

  • skills
  • availability
  • workload

On paper, that makes sense.

But in reality, it ignores something critical:

👉 delivery behavior

  • Who consistently finishes tasks?
  • Who gets blocked repeatedly?
  • What decisions were already made in meetings?

Without this context, every sprint starts like the system has amnesia.

💡 What I Built: TeamMind AI

TeamMind AI is a Streamlit-based application that combines:

  • Team member tracking
  • Task assignment
  • Meeting notes
  • AI-based recommendations

But the key difference is:

👉 It uses a memory layer powered by Hindsight to influence decisions.

Instead of just generating answers, it recalls past events and uses them to explain recommendations.

🧠 Adding Memory With Hindsight

I integrated the Hindsight system as a memory backend.

This allowed us to store structured events like:

  • team members and their skills
  • completed tasks
  • delayed or blocked work
  • meeting decisions
  • recurring issues

Each interaction is stored as a memory event, which can later be retrieved when assigning new tasks.

⚙️ How It Works (Simplified)

Step 1: Store memory

Whenever something happens:

  • task completed
  • blocker reported
  • meeting note added

We send it to the memory system.

Step 2: Recall memory

When assigning a new task:

  • relevant past events are retrieved
  • patterns are analyzed
  • context is added to the recommendation

Step 3: Generate recommendation

Now the system doesn’t just say:

“Assign to Aisha”

It says:

“Assign to Aisha because she completed similar Streamlit work and has no blocker history, while others faced issues in related tasks.”

🔄 Before vs After Memory

❌ Before (Generic Assignment)

  • Based on skills + workload
  • No historical awareness
  • No explanation

Example:
Aisha is selected simply because she knows Streamlit.

✅ After (Memory-Based Assignment)

  • Uses past performance
  • Considers blockers and delays
  • Includes meeting decisions
  • Provides explainable output

Example:
Aisha is selected because:

  • she completed similar dashboard tasks
  • she consistently delivers on time
  • other teammates had blocker history in similar work

👉 This is not just smarter — it’s trustworthy.

👀 Making Memory Visible

One key lesson I learned:

Memory is useless if users can’t see it working.

So instead of hiding it, we exposed:

  • recalled memory context
  • evidence behind recommendations
  • comparison between generic and memory-based suggestions

This makes the system:

  • transparent
  • debuggable
  • believable

TeamMind UI

TeamMind AI interface showing task and team management

Comparison between generic and memory-based task assignment

⚠️ Challenges I Faced

This wasn’t just a UI problem.

The real challenges were:

  • Setting up the memory API
  • Handling async memory indexing
  • Ensuring recall returns useful context
  • Dealing with deployment limitations
  • Debugging when memory wasn’t immediately available

📌 Key Lessons

  1. Skills alone are not enough
  2. Memory should influence decisions, not just store data
  3. Explainability builds trust
  4. Visibility of memory is critical
  5. Past behavior is the best predictor of future performance

🚀 Final Thought

Most project management tools track what happened.

TeamMind AI goes one step further:

👉 It remembers what happened — and uses that memory to make better decisions.

🔗 Useful Links

💬 Closing

If you’re building AI systems:

Don’t just make them smarter.
Make them remember.

Repo: https://github.com/Tanya-garg10/TeamMind-AI
Enter fullscreen mode Exit fullscreen mode

Top comments (0)